Created
December 21, 2013 11:20
-
-
Save mayoz/8068046 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 | |
*/ | |
body{font:14px/20px arial; margin:50px;} | |
.box{float:left; margin-right:25px; } | |
article{background:#eee no-repeat 50% 50%; background-size:cover; border-radius:3px; height:256px; overflow:hidden; position:relative; width:193px;} | |
article > a{background:linear-gradient(0, rgba(0,0,0,.4), transparent, transparent); color:#fff; display:block; height:100%; text-shadow:1px 1px 0 rgba(0,0,0,.65); width:100%; } | |
article > a > span{font-size:17px; font-weight:bold; position:absolute; bottom:15px; left:15px; right:15px; text-align:center;} |
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
<article class="box" style="background-image:url(http://www.sadecekadin.com/upload/posts/yoga-nedir-yoganin-faydalari-nelerdir.jpg)"> | |
<a href="" title=""> | |
<span>Yoganın faydaları nelerdir?</span> | |
</a> | |
</article> | |
<article class="box" style="background-image:url(http://www.sadecekadin.com/upload/posts/tirnak-kirilmasi-nasil-onlenir.jpg)"> | |
<a href="" title=""> | |
<span>Tırnak kırılması nasıl önlenir?</span> | |
</a> | |
</article> |
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":"separate","fontsize":"90","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment