This file contains 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
.triangle:before, | |
.triangle:after { | |
content: ""; | |
position: absolute; | |
bottom: -15px; /* value = - border-top-width - border-bottom-width */ | |
left: 30px; | |
border-width: 15px 15px 0; /* vary these values to change the angle of the vertex */ | |
border-style: solid; | |
border-color: #aaa transparent; | |
} |
This file contains 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
.triangle:before, | |
.triangle:after { | |
content: ""; | |
position: absolute; | |
bottom: -15px; /* value = - border-top-width - border-bottom-width */ | |
left: 30px; | |
border-width: 15px 15px 0; /* vary these values to change the angle of the vertex */ | |
border-style: solid; | |
border-color: #aaa transparent; | |
} |
This file contains 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
.triangle { | |
position: relative; | |
border-bottom: 1px solid #aaa; | |
} | |
.triangle:before, | |
.triangle:after { | |
content: ""; | |
position: absolute; | |
bottom: -15px; /* value = - border-top-width - border-bottom-width */ | |
left: 30px; |
This file contains 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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |
This file contains 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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
div { | |
border-radius: 50%; | |
height: 200px; | |
background: #ddd; | |
width: 200px; | |
} |
This file contains 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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
div { | |
border-radius: 50%; | |
height: 200px; | |
background: #ddd; | |
width: 200px; | |
} |
This file contains 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
Donations for beer | |
This file contains 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
/** | |
* Module | |
*/ | |
// External Library | |
import _ from '../node_modules/lodash/dist/lodash.js'; | |
// Private variables | |
let _eventName = '_test'; |
This file contains 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
/** | |
* Polyfill for the vw, vh, vm units including StyleFix | |
* @author Lea Verou | |
*/ | |
(function(){ | |
if(!window.addEventListener) { | |
return; | |
} | |
This file contains 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
Samsung Galaxy S9000 Android 2.3 (handheald): | |
Webbrowser (Webkit): | |
meta-none: p 800x1130 - l 800x357 | |
meta-width: p 320x452 - l 533x239 | |
meta-width-initial: p 320x452 - l 320x452 (533x239 on load/refresh) | |
meta-width-initial-maximum: p 320x452 - l 533x239 | |
Opera Mobile: | |
meta-none: p 981x1232 - l 980x347 |
OlderNewer