DEV Community

Discussion on: Why I don't use Bootstrap anymore.

Collapse
 
codedgar profile image
codedgar

I'm totally gonna test Sass! Can you link a beginner tutorial so I can check it out?

Collapse
 
voughtdq profile image
Douglas Vought

First you'll want to install it. There are various implementations. I prefer the one written in C but only because it's the easiest for my environment. Then this guide will walk you through most of what you need to know.

The way I learned how to use SCSS was to reference that guide and then look at Bootstrap's variables and observe how they affected included styles in bootstrap.scss. You'll notice in bootstrap.scss you can comment out the imports you don't need.

Thread Thread
 
ferdelvalle profile image
Fernando Del Valle

There's an extension for visual studio code called Live SASS compiler that does the trick and it's awfully simple to install.

As for a tutorial, the official site has great documentation and it's, I believe, the best place to start.

Collapse
 
leopinzon profile image
Leopinzon

You gotta be kidding, so you’ve never seen sass prior to writing this article?

Thread Thread
 
codedgar profile image
codedgar

I knew what it was, but I haven't used it since most of my work is pure HTML, CSS and JS without anything like NodeJS, React or VueJS so I haven't catch up with CSS preprocessors πŸ€·πŸ»β€β™‚οΈ

Thread Thread
 
leopinzon profile image
Leopinzon

I’d kindly suggest you to start using it, it is certainly a one way road.

Don’t think of it as something related to node frameworks. If you build front end, it is simply your right hand for writing, organizing and maintaining your CSS at the same time you speed up the development . You can even reuse your own partial definitions within your CSS project as many times as you want, make global variables.... etc. Also you will be able to split your files into components or pages (your choice) without using the CSS @import statement that, as you sure know, triggers new requests to the server, something that is not a very good practice from a page load optimization point of view. The fewer requests, the better.

Customizing bootstrap is something you’ll learn later, but building everything on pure CSS is not efficient for you, and you’ll end up crazy trying to maintain big projects.

Hope it helps :)

Thread Thread
 
codedgar profile image
codedgar

Thanks for the kind answer, I really appreciate it!

I will totally check it out and see how much I can improve my work with it, thanks again! πŸ˜„