Skip to content

Instantly share code, notes, and snippets.

@jnowland
Created March 13, 2013 01:26
Show Gist options
  • Save jnowland/5148661 to your computer and use it in GitHub Desktop.
Save jnowland/5148661 to your computer and use it in GitHub Desktop.
Border box work around…
$padding: 20px;
$total-width:580px;
textarea {
width:100% - (percentage($padding / total-width)*2);
padding:0 percentage($padding / total-width);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment