A Pen by james quinn on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<svg | |
aria-hidden="true" | |
style="position: absolute; width: 0; height: 0; overflow: hidden;" | |
version="1.1" | |
xmlns="http://www.w3.org/2000/svg" | |
xmlns:xlink="http://www.w3.org/1999/xlink" | |
> | |
<defs> | |
<symbol id="icon-navigation-more" viewBox="0 0 20 20"> | |
<path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Ripple Click Effect</h1> | |
<ul> | |
<li><a>Dashboard</a></li> | |
<li><a>My Account</a></li> | |
<li><a>Direct Messages</a></li> | |
<li><a>Chat Rooms</a></li> | |
<li><a>Settings</a></li> | |
<li><a>Logout</a></li> | |
</ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//ROUTER | |
//Silly small javascript router to help me learn how they worked in a very simple way | |
(function (){ | |
const appDiv = "app"; | |
// Both set of different routes and template generation functions | |
let routes = {}; | |
let templates = {}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section class="animate-me slideLeft"> | |
<div>slideLeft</div> | |
</section> | |
<section class="animate-me slideRight"> | |
<div>slideRight</div> | |
</section> | |
<section class="animate-me slideUp"> | |
<div>slideUp</div> | |
</section> | |
<section class="animate-me slideDown"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<div class="row"> | |
<div class="col s12 m6 offset-m3"> | |
<div class="card hoverable"> | |
<div class="card-content grey-text text-lighten-1"> | |
<div class="row card-title"> | |
<div class="col s6 left-align login-link"><span>Log in</span></div> | |
<div class="col s6 right-align signup-link active"><span>Sign up</span></div> | |
</div> | |
<div class="row"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src=//unpkg.com/vue></script> | |
<script src=//unpkg.com/vuetrend></script> | |
<div id="app"> | |
<trend | |
:data="[0, 2, 5, 9, 5, 10, 3, 5, 0, 0, 1, 8, 2, 9, 0]" | |
:gradient="['#6fa8dc', '#42b983', '#2c3e50']" | |
auto-draw | |
smooth> | |
</trend> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://www.gstatic.com/firebasejs/3.7.4/firebase.js"></script> | |
<script src="https://unpkg.com/vue"></script> | |
<script src="https://unpkg.com/vuex"></script> | |
<script src="https://unpkg.com/vuexfire"></script> | |
<div id="app"> | |
<input v-model.trim="newTodoText" @keyup.enter="addTodo" placeholder="Add new todo"> | |
<ul> | |
<li v-for="todo in todos"> | |
<input :value="todo.text" @input="updateTodoText(todo, $event.target.value)"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const buildSlideMarkup = (count) => { | |
let slideMarkup = ''; | |
for (var i = 1; i <= count; i++) { | |
slideMarkup += '<slide><span class="label">' + i + '</span></slide>' | |
} | |
return slideMarkup; | |
}; | |
new Vue({ | |
el: '#example', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 { | |
font-weight: 300; | |
font-size: 1.8em; | |
margin-top: 0; | |
} | |
a { | |
color: #fff; | |
} | |
.draggable-header-view { | |
background-color: #fff; |