If you're having padding problems I feel bad for you son,
I got 99 issues in this repo,
and border-boxing ain't one.
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
background-image: url('../images/greyfloral_@2X.png'); | |
background-size: 150px 124px; /* size in px of image @1X */ |
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
-webkit-mask-image: -webkit-linear-gradient(rgba(0,0,0,1), rgba(0,0,0,.8)); |
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
background: -webkit-radial-gradient(top, circle cover, rgba(208, 213, 216, 0.05) 32%, lighten(#adb3b7,6%) 100%), url("white_noise_2.png"); |
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
<p class="month"><span class="name">July</span> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31<span class="break">hi</span></p> |
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
.flat { | |
background-image: none; | |
box-shadow: none; | |
border: none; | |
text-shadow: none; | |
opacity: .8; | |
} |
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
script language="javascript" | |
// random number between 1 and 3 | |
document.getElementById("imgRand").src = "images/hero/"+imageCounter+".jpg"; | |
script language="javascript" | |
if(localStorage['imageCounter']) | |
localStorage['imageCounter']++ | |
else | |
localStorage.setItem('imageCounter', 1); |
Pass in tooltip text with pseudo classes and the content: '';
property. The text changes with the parent's, in this case the button's, hover and active and focus states.
***Caveat: A user has to click out of button focus state for text to change back.
A Pen by Julie Horvath on CodePen.
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
&:active, &:focus { | |
outline: none; | |
&:after { | |
content: 'Copied!'; | |
} | |
} |