What are the differences between Bootstrap deployments?

Asked 2 years ago, Updated 2 years ago, 158 views

Thank you for your help.
Learn how to deploy Bootstrap(4)
I would like to know the difference between the following two.
Is everything exactly the same?

·CDN
·Download source file

For example
If you want to change your style, you have to use this method,
"If you want to do something like this, this is a good way to deploy it."
Is there such a difference?

bootstrap sass

2022-09-30 21:37

1 Answers

More precisely, there are two ways to deploy bootstrap:(Downloading and distributing compiled css on your own is almost the same effect as downloading from a CDN, so I will ignore it once.)

The bootstrap framework itself is written in sass, which provides the following benefits that a simple css cannot achieve, especially when it comes to the user's point of view:

  • Variable options, colors, widths, etc. to allow users to set and customize themselves

The explanatory materials for that are as follows. https://getbootstrap.com/docs/4.0/getting-started/theming/

Also, if we are going to design a website in earnest, I think we would like to use some kind of mechanism to structure and handle css. Personally, I think sash is a mechanism worth introducing, even if it is just for its structuring functionality.

So if it's me:

  • If it's for practice and you don't design the site without any problems using the default bootstrap theme (color usage, width, etc.)
  • If you want to customize your own theme, you can compile sass

I think it would be better to


2022-09-30 21:37

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.