Skip to content

Instantly share code, notes, and snippets.

View matt-daniel-brown's full-sized avatar

Matthew Daniel Brown matt-daniel-brown

View GitHub Profile
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
<!-- Search -->
<div class="overlay"></div>
<div class="search-input">
<h6 class="mb-3 text-center text-white"><b>Feeling Stuck?</b> Search our Knowledge Base</h6>
<div class="input-group">
<input placeholder="search" class="search-input-styles" class="form-control" />
@matt-daniel-brown
matt-daniel-brown / index.pug
Created July 28, 2019 02:28
Nutanix UI 2.0 Sortable Table with Drag and Drop
.canvas
h3 Sortable Table
.t-table
.t-header
.t-row
.t-cell.grabber
.t-cell VM Name
.t-cell IP
.t-cell Cluster
.t-cell Virtual Network
@matt-daniel-brown
matt-daniel-brown / index.html
Created July 19, 2019 17:51
Tab Bar Navigation
<!-- markup structure
nav, a wrapping container for a series of link elements
a, each anchor link element nesting an SVG icon and a span describing the link
-->
<nav>
<a class="active" href="#">
<svg viewBox="0 0 100 100">
<g transform="translate(10 5) scale(0.8 0.9)">
<path d="M 0 30 v 70 h 100 v -70 l -50 -30 z" stroke="currentColor" stroke-width="10" fill="none"
stroke-linejoin="round" stroke-linecap="round" />
@matt-daniel-brown
matt-daniel-brown / index.html
Created June 23, 2019 21:15
Responsive Navigation Bar Using Material Design Icons
<nav role="navigation">
<button role="button">
<i class="icon material-icons">menu</i>
<i class="icon material-icons hidden">close</i>
</button>
<ul>
<li><a href="#" class="active">Active</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
</ul>
@matt-daniel-brown
matt-daniel-brown / codevember-2018-13-black-hole.markdown
Created June 20, 2019 00:43
#Codevember 2018 - 13: Black Hole
@matt-daniel-brown
matt-daniel-brown / index.pug
Created June 20, 2019 00:42
Pure SCSS Material Palette Generator
.palette
.primary-50
.primary-100
.primary-200
.primary-300
.primary-400
.primary-500
.primary-600
.primary-700
.primary-800
@matt-daniel-brown
matt-daniel-brown / index.html
Created June 20, 2019 00:37
✅ UX Animation Principles: Duration | @keyframers 1.22.1
<a href="https://youtu.be/WLYaEohJgxE" target="_blank" data-keyframers-credit style="color: #000"></a>
<script src="https://codepen.io/shshaw/pen/QmZYMG.js"></script>
<div class="app" data-state="Good">
<div class="device" data-view="list">
<ul class="layer" data-layer="list">
<li class="content">
<div class="bg"></div>
<div class="avatar"></div>
<div class="title">Some list item</div>
@matt-daniel-brown
matt-daniel-brown / index.html
Created June 5, 2019 09:17
qr.mdb.codes/scan-me -- landing page concept
<main>
<section id="main-section-1">
<button id="main-button"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><title>barcode-qr</title><g fill="#ffffff"><path fill="#ffffff" d="M11,11H0V0h11V11z M2,9h7V2H2V9z"></path> <path fill="#ffffff" d="M24,11H13V0h11V11z M15,9h7V2h-7V9z"></path> <path fill="#ffffff" d="M11,24H0V13h11V24z M2,22h7v-7H2V22z"></path> <polygon fill="#ffffff" points="24,20 22,20 22,15 20,15 20,18 14,18 14,13 16,13 16,16 18,16 18,13 24,13 "></polygon> <polygon fill="#ffffff" points="24,24 14,24 14,20 16,20 16,22 24,22 "></polygon> <rect data-color="color-2" x="4" y="4" width="3" height="3"></rect> <rect data-color="color-2" x="17" y="4" width="3" height="3"></rect> <rect data-color="color-2" x="4" y="17" width="3" height="3"></rect></g></svg></button>
<a href=""><h1><span class="lighter">https://</span>qr.mdb.codes<span class="lighter">/scan-me</span></h1></a>
</section>
<br>
<section id="main-section-2">
<button role="button" id="next-button">
<
@matt-daniel-brown
matt-daniel-brown / index.haml
Created April 16, 2019 20:10
Typography basic improvements
%header
%h1 The Art Of Letters
%p or words or whatever
%main
%article.content
%header
%h1 Typography for beginners
%p Lorem ipsum isn't a great choice to use for demonstrating good typography. Ideally you would use real content. However for the demonstration in the post, I think it's acceptable. I could use my content, it would be strange and cause some duplication I imagine.