Comments (7)
Hi @KaKi87, what browser are you using? It looks destyled for me:
from destyle.css.
Well, I actually meant that the gray color should also be removed.
Like input[disabled]
.
Thanks
from destyle.css.
I see, I am not sure if this should be removed. I'll leave this issue open and think about it. Thank you for pointing it out.
from destyle.css.
If you don't want to destyle select[disabled]
, then you would have, for consistency, to restyle the following components :
option[disabled]
button[disabled]
textarea[disabled]
However, this is against destyle by definition.
I use destyle precisely because I want to decide how to style myself, and that includes disabled inputs, all kind of those.
Thanks
from destyle.css.
Well that is not true, destyle is, as the description says, "opinionated" and not everything is destyled (e.g. <strong>
, <i>
) see the README here.
Consistency is not really important here, removing the bits that I do not want to overwrite every time when styling an element is the important thing and I have never run into an issue with disabled selects.
As said, I will think about this.
from destyle.css.
Well, semantically, <b>
and <i>
could stay styled while <strong>
and <em>
shouldn't.
from destyle.css.
Closed via #19
from destyle.css.
Related Issues (17)
- Some elements maintain browser styles HOT 1
- "dialog" tag reset HOT 1
- reset 'menu' padding and margin HOT 1
- Placeholder is offset on Firefox
- Inherited border causes unexpected behaviors HOT 2
- Reset padding and margin in universal selector HOT 2
- contenteditable HOT 6
- Style on inputs being overwritten by destyle.css HOT 4
- Table border color HOT 1
- Table border color in chrome
- Line-height should be 1.5 to comply the WCAG guideline HOT 1
- Add back border-collapse: collapse
- Communication HOT 1
- [Question] scrollbar appearing on flex column header/footer/template when combining destyle w/ other CSS HOT 3
- [Feature request] Remove user agent minimal widths HOT 1
- Destyle dialog ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from destyle.css.