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
-
unknown18398yCss isn't that hard. Make sure you style each component on it's own and position it in it's parent.
Also, never use !important. If you do, you are creating your own jungle. Only use it in very very very specific/rare cases which are not part of your flow. -
ggromx4368yI believe it's not necessarily very intuitive, but if you understand the basic concepts and as a training you create a page from scratch you can grasp the language and feel very comfortable with it.
-
@ggromx Seem to have Had trouble understanding position and display, positioning basically. I think I got it now and it feels like it's beginning to be fun :) beginning to like css and sass
-
ggromx4368y@rocknrollmarc I personally don't use SASS. I like being able to test and edit my css directly in the browser (both chrome and Firefox allow you to save css changes made with the developer console and you can edit kinda wysiwyg and allow for styling fine tuning) for production I only minify.
There is a model of css which propose to define components independently instead of extending everything.
I have found that doing this my files are smaller, the code is more maintainable.
for very large projects I recommend lazy loading per "section" while keeping names with prefix naming using a section short name.
With all these "rules" I actually enjoy styling.
True store bro
undefined