Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
In HTML inline I use the third version, if it is a short and very individual thing that does not really need a seperate script element or css file that needs to be imported.
Otherwise I use the first version all of the time either in a css - Tried scss, but forgot it again. I did not really use it that much - file or in a script element. -
@-ANGRY-CLIENT- I do it when I write inline CSS (WHICH IS RARELY bc it makes me feel like a dirty whore when I do it lol).
-
Sumafu22675yI prefer always the first. But when writing C# then ReSharper forces me to write the second.
-
Third for one line styling so
.bold { font-weight: 900; }
And first for anything over. Looks cleaner in my opinion. -
<someTag style=“ css here.. “> some content </someTag>
Fuck my life. 😂😂😂
Related Rants
1 --> .container {
//CSS here
}
2 --> .container
{
//CSS here
}
3 --> .container { //CSS here }
What do you all prefer guys!?
This question is kinda survey!
I just wanna know how people write CSS. 😛
Comment down!
Also comment if any other.
question
web development
html
styling
survey
css