Skip to content

Instantly share code, notes, and snippets.

View melanyss's full-sized avatar
🚀
Building awesome projects

Melanys melanyss

🚀
Building awesome projects
View GitHub Profile
@melanyss
melanyss / index.html
Created June 2, 2020 14:13
Pure CSS Tree
<header>
<h1>Pure <strong>CSS</strong> Tree</h1>
<p>...a folders tree view, without JS :P</p>
</header>
<ul id="compositions-list" class="pure-tree main-tree">
<li>
<input type="checkbox" id="trigger-views" checked="checked">
<label for="trigger-views">views</label>
<ul class="pure-tree">
<li class="pure-tree_link"><a href="" title="index.jade" target="_blank">index.html</a></li>
@melanyss
melanyss / dynamic-image-colorizing-with-input-type-color.markdown
Created June 2, 2020 11:17
Dynamic Image Colorizing with <input type="color">

Dynamic Image Colorizing with

Removes chrome from color input swatch and overlays over an image, using blend modes to colorize. Voila! Color changing without JS.

Chrome and Firefox only right now.

A Pen by Noah Blon on CodePen.

License.

@melanyss
melanyss / index.html
Created June 1, 2020 15:45
SVG Download Icon
<svg viewBox="0 0 800 600" xmlns="http://www.w3.org/2000/svg">
<title>SVG Download</title>
<defs>
<clipPath id="mainCircleMask">
<circle fill="none" stroke="#000000" stroke-width="14.9511" stroke-miterlimit="10" cx="400" cy="319.7" r="121"/>
</clipPath>
</defs>
<path id="outlineBg" stroke="#CFD8DC" d="M400,192.12A127.62,127.62,0,1,0,527.62,319.73,127.62,127.62,0,0,0,400,192.12z" fill="none" stroke-miterlimit="10" stroke-width="15"/>
<line id="baseStart" x1="338" y1="431.5" x2="461" y2="431.5" fill="none" stroke="#607D8B" stroke-miterlimit="10" stroke-width="15"/>
<path id="outline" stroke="#607D8B" d="M400,192.12A127.62,127.62,0,1,0,527.62,319.73,127.62,127.62,0,0,0,400,192.12z" fill="none" stroke-miterlimit="10" stroke-width="15"/>
@melanyss
melanyss / black-friday-sale-now-on-50-off-everything.markdown
Created June 1, 2020 15:34
BLACK FRIDAY SALE NOW ON - 50% OFF EVERYTHING!

File Tree CSS

Saw a file tree structure online and had to create a SASS version for BootAdmin.org.

A Pen by Sazzad on CodePen.

License.

@melanyss
melanyss / index.html
Created June 1, 2020 14:32
Styling without ids/classes
<header>
<nav>
<h1>Lorem</h1>
<div><i class="fa fa-newspaper-o"></i></div>
<div><i class="fa fa-soccer-ball-o"></i></div>
<div><i class="fa fa-lightbulb-o"></i></div>
<div><i class="fa fa-plane"></i></div>
<div><i class="fa fa-briefcase"></i></div>
<a href=""><i class="fa fa-facebook"></i></a>
<a href=""><i class="fa fa-twitter"></i></a>
@melanyss
melanyss / index.html
Created June 1, 2020 14:19
Vertical Layout with Navigation
<nav class="nav">
<div class="burger">
<div class="burger__patty"></div>
</div>
<ul class="nav__list">
<li class="nav__item">
<a href="#1" class="nav__link c-blue"><i class="fa fa-camera-retro"></i></a>
</li>
<li class="nav__item">
@melanyss
melanyss / index.html
Created June 1, 2020 13:50
SVG Icon Buttons
<main class="wrapper">
<h1>SVG Icon Buttons</h1>
<p class="max-w">Simple buttons with vertically aligned SVG icons in a variety of styles. <a href="https://google.github.io/material-design-icons/" target="_blank"><strong>Icons found here.</strong></a> *These buttons use Flexbox, if you need to support IE9, you're out of luck :(</p>
<!-- basic -->
<p>
<a href="" class="btn red">Basic<svg class="btn-icon" viewBox="0 0 24 24"><path d="M10 6l-1.41 1.41 4.58 4.59-4.58 4.59 1.41 1.41 6-6z"/><path d="M0 0h24v24h-24z" fill="none"/></svg></a>
<a href="" class="btn pink">Basic<svg class="btn-icon" viewBox="0 0 24 24"><path d="M4 8h4v-4h-4v4zm6 12h4v-4h-4v4zm-6 0h4v-4h-4v4zm0-6h4v-4h-4v4zm6 0h4v-4h-4v4zm6-10v4h4v-4h-4zm-6 4h4v-4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z"/><path d="M0 0h24v24h-24z" fill="none"/></svg></a>