Created
May 13, 2014 20:51
-
-
Save vasilisvg/7cfed7dd56c842e749be to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
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 | |
*/ | |
figure { | |
position: relative; | |
display: table; /* geloof ik, niet getest */ | |
width: 1em; /* geloof ik */ | |
} | |
figure img { | |
display: block; | |
} | |
figcaption { | |
position: absolute; | |
bottom: 0; | |
left: 0; | |
right: 0; | |
background: hsla(0,0%,100%,.5); | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
<figure> | |
<img src="http://vasilis.nl/voto/fotos/klein/140513113639-een-minuut-te-laat-500.jpg" alt=""> | |
<figcaption>Dit moet over dat plaatje heen staan en het maakt helemaal niet uit hoe lang en hoog die tekst is</figcaption> | |
</figure> |
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
// alert('Hello world!'); |
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
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment