Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save omurphy27/dc8c57d1a69ee50c582c to your computer and use it in GitHub Desktop.

Select an option

Save omurphy27/dc8c57d1a69ee50c582c to your computer and use it in GitHub Desktop.
CSS Calc combine percentage width with pixels .css
/* 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