Skip to content

Instantly share code, notes, and snippets.

@mykz
Last active August 29, 2015 14:22
Show Gist options
  • Save mykz/8bf309ee0e132009168c to your computer and use it in GitHub Desktop.
Save mykz/8bf309ee0e132009168c to your computer and use it in GitHub Desktop.

In chrome the user agent stylesheet is applying the following form element style

font: normal normal normal 11px/normal '.HelveticaNeueDeskInterface-Regular';

I've noticed in normalize they handle this by doing the following:

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

What I'm curious about is why this never made it into Forget normalize or resets; lay your own css foundationn post?

@mykz
Copy link
Author

mykz commented Jun 1, 2015

@jaydenseric Thanks for a great in depth reply!

I'll look out for the future posts. I was also thinking maybe you could include features into BaseBones so users could enable or disable the features they require in the SASS as variables defaults. If I have some free time I might add it myself and create a pull-request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment