Show HN: Mimic – class-fied inline CSS
peterchon.github.io
Show HN: Mimic – class-fied inline CSS
1–10 of 74 posts
Re: Show HN: Mimic – class-fied inline CSS
#2Re: Show HN: Mimic – class-fied inline CSS
#3Re: Show HN: Mimic – class-fied inline CSS
#4Re: Show HN: Mimic – class-fied inline CSS
#5Re: Show HN: Mimic – class-fied inline CSS
#6Re: Show HN: Mimic – class-fied inline CSS
#7Could you please elaborate a bit more on how a class "padding:10" is better than just adding an inline style "padding:10px"?
I don't really see the point of all of this, either, though. Maybe it's satire?
Re: Show HN: Mimic – class-fied inline CSS
#8Could you please elaborate a bit more on how a class "padding:10" is better than just adding an inline style "padding:10px"?
I'd presume because you can do browser-specific hacks/normalization with classes but not inline styles. I don't really see the point of all of this, either, though. Maybe it's satire?
Re: Show HN: Mimic – class-fied inline CSS
#9There is a lot of reasons why separating content and styling is benefitial to both the designer and the developer. And why semantic classes, especially with tools like Sass where abstraction and reusability are key, allow to describe the content, not define its looks.
That's why we went from color="red" to style="color:red;" to class="red-text" to class="alert alert-red" to class="alert-danger".