A Pen by Kaushalya Mandaliya on CodePen.
Created
March 22, 2014 00:26
-
-
Save krman009/9699280 to your computer and use it in GitHub Desktop.
A Pen by Kaushalya Mandaliya.
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="title">Story 21<sup>st</sup> March 2014</div> | |
<div class="title">Story 21<sup>st</sup> March 2014</div> | |
<div class="title">Story 21<sup>st</sup> March 2014</div> | |
<div class="title">Story 21<sup>st</sup> March 2014</div> | |
<div class="title">Story 21<sup>st</sup> March 2014</div> |
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
console.clear(); | |
var kaushalya = '2014 by Kaushalya Mandaliya.', | |
user = "You should hover the text to see the effect, Thanks. " + kaushalya; | |
console.log(user); | |
$(".title").hover( | |
function() { | |
console.log("Cool na??!"); | |
}, | |
function() { | |
console.log("Hover it..."); | |
} | |
); | |
console.log("%cKaushalya Mandaliya from seebeetee.com", "color: orangered; font-size: large"); |
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
@import "compass"; | |
body { | |
background: #333; | |
color: white; | |
font-family: 'Nunito', Sans-serif !important; | |
font-size: 1.2em; | |
margin: 0 auto !important; | |
max-width: 50em; | |
.title { | |
color: rgba(blanchedalmond, 0.8); | |
cursor: pointer; | |
font-size: 3em; | |
margin: 1em; | |
text-align: center; | |
text-shadow: 0.3rem 0.3rem rgba(white, 0.4), 0.4rem 0.4rem rgba(black, 0.4); | |
@include transition(0.3s all ease-in-out); | |
@media all and (max-width: 30em) { | |
font-size: 2.5em; | |
} | |
&:hover { | |
color: transparent; | |
} | |
} | |
@media all and (max-width: 47.5em) { | |
font-size: 0.8em; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment