Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
// Margins and Padding | |
// ------------------------- | |
$i: 0; | |
@while $i <= 50 { | |
.mt#{$i} { margin-top: 1px * $i; } | |
.mb#{$i} { margin-bottom: 1px * $i; } | |
.ml#{$i} { margin-left: 1px * $i; } | |
.mr#{$i} { margin-right: 1px * $i; } | |
.pt#{$i} { padding-top: 1px * $i; } |
@function linear() { | |
@return cubic-bezier(0.250, 0.250, 0.750, 0.750); } | |
@function ease() { | |
@return cubic-bezier(0.250, 0.100, 0.250, 1.000); } | |
@function ease-in() { | |
@return cubic-bezier(0.420, 0.000, 1.000, 1.000); } | |
@function ease-in-quad() { | |
@return cubic-bezier(0.550, 0.085, 0.680, 0.530); } |
//============================================================ | |
// Typography | |
//============================================================ | |
// An rem font-size mixin providing fallback to px | |
@mixin font-size($sizeValue: 1.4) { | |
$remValue: $sizeValue; | |
$pxValue: ($sizeValue * 10); | |
font-size: #{$pxValue}px; | |
font-size: #{$remValue}rem; |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
/*** GLOBAL ***/ | |
/**************/ | |
img, embed, object, video { | |
max-width: 100%; | |
} | |
@font-face { | |
font-family: 'sicanstudios-icons'; | |
src:url('./fonts/sicanstudios-icons.eot'); | |
} |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Page Title</title> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<!-- Download from http://mediaelementjs.com/ We only need the build folder --> | |
<script src="build/mediaelement-and-player.min.js" type="text/javascript" charset="utf-8"></script> | |
<link rel="stylesheet" href="build/mediaelementplayer.min.css" type="text/css" media="screen" charset="utf-8"> |
<form id="contact" name="contact" method="post"> | |
<fieldset> | |
<label for="name" id="name">Name<span class="required">*</span></label> | |
<input type="text" name="name" id="name" size="30" value="" required/> | |
<label for="email" id="email">Email<span class="required">*</span></label> | |
<input type="text" name="email" id="email" size="30" value="" required/> | |
<label for="phone" id="phone">Phone</label> | |
<input type="text" name="phone" id="phone" size="30" value="" /> |
<?php | |
/* | |
* Template name: Parallax Page | |
* Workaround for this tutorial at http://wevostudio.com/wordpress-parallax-implementation. | |
* This outputs sections with feature image background using parallax scrolling set with custom post content. | |
*/ |