mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Make form elements inherit more font properties
This commit is contained in:
parent
c2d022a8a1
commit
c246f19773
@ -488,6 +488,22 @@ h6 {
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Inherit color, font-weight, and line-height from the parent
|
||||
* so that form elements don't inadvertently have any styles
|
||||
* that deviate from your design system.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit;
|
||||
font-weight: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@ -488,6 +488,22 @@ h6 {
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Inherit color, font-weight, and line-height from the parent
|
||||
* so that form elements don't inadvertently have any styles
|
||||
* that deviate from your design system.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit;
|
||||
font-weight: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@ -133,3 +133,18 @@ h6 {
|
||||
font-size: inherit;
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Inherit color, font-weight, and line-height from the parent
|
||||
* so that form elements don't inadvertently have any styles
|
||||
* that deviate from your design system.
|
||||
*/
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit;
|
||||
font-weight: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user