Giter Site home page Giter Site logo

select[disabled] about destyle.css HOT 7 CLOSED

KaKi87 avatar KaKi87 commented on May 28, 2024
select[disabled]

from destyle.css.

Comments (7)

nicolas-cusan avatar nicolas-cusan commented on May 28, 2024

Hi @KaKi87, what browser are you using? It looks destyled for me:

Screen Shot 2021-02-15 at 21 08 41

from destyle.css.

KaKi87 avatar KaKi87 commented on May 28, 2024

Well, I actually meant that the gray color should also be removed.

Like input[disabled].

Thanks

from destyle.css.

nicolas-cusan avatar nicolas-cusan commented on May 28, 2024

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.

KaKi87 avatar KaKi87 commented on May 28, 2024

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.

nicolas-cusan avatar nicolas-cusan commented on May 28, 2024

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.

KaKi87 avatar KaKi87 commented on May 28, 2024

Well, semantically, <b> and <i> could stay styled while <strong> and <em> shouldn't.

from destyle.css.

nicolas-cusan avatar nicolas-cusan commented on May 28, 2024

Closed via #19

from destyle.css.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.