Bootstrap 4 scss questions

hi all

i have questions about bootstrap 4 scss

is it compulsory to use/install scss compiler to update bootstrap css ??

can i simply edit boostrap.min.css file ??

when do i need scss files and scss compiler ??

do i need to upload scss files to use bootstrap 4 on the live website ??

thanks
vineet

Haven’t used boopstrap 4 yet but you can just use the compiled source as your base and not worry about sass if you don’t want to.

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>

You could just edit the css file but its better never to touch the bootstrap file and just use your own custom file to do the over-rides.This leaves the system intact if updates are forthcoming etc.

If you want to set up or change variables and grid designs to suit your own purpose and preferences.

Assuming you are developing locally then all you need to upload is the css. Browsers only understand css, they do not understand scss. When you work with a pre-processor the code you is used is complied into actual css at the end and that’s the only css needed for the page to work.

1 Like

Thanks paulOB

for the answers

Didnt know i can use custom css file along with bootstrap css file

Thanks
Vineet

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.