Created
May 6, 2014 18:46
-
-
Save omurphy27/dc8c57d1a69ee50c582c to your computer and use it in GitHub Desktop.
CSS Calc combine percentage width with pixels .css
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
| /* CSS Calc combine percentage width with pixels | |
| http://stackoverflow.com/questions/11117216/css-width-calc100-100px-alternative-using-jquery | |
| http://css-tricks.com/a-couple-of-use-cases-for-calc/ | |
| */ | |
| .interior .faq h2:hover:before { | |
| width: calc(100% + -7px); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment