Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

difference between bootstrap and css

Tags:

html

css

What is a difference between Bootstrap and CSS? I read the questions in stackoverflow saying that if you want responsive website and also, you are a newbie in Styling use bootstrap! ? Is Bootstrap something for beginners?

like image 889
becky Avatar asked Apr 09 '16 17:04

becky


People also ask

Is Bootstrap the same as CSS?

CSS and Bootstrap are free, front-end development frameworks designed to help developers build websites faster and easier. Major differences are that W3. CSS is a less widely used framework that only uses CSS, while Bootstrap is a more widely used framework that uses CSS and JavaScript.

Which is better CSS or Bootstrap?

CSS is more complex than Bootstrap because there is no pre-defined class and design. Bootstrap is easy to understand and it has much pre-design class. In CSS, we have to write code from scratch. In Bootstrap, we can add pre-defined class into the code without writing code.

Do I need CSS if I have Bootstrap?

You technically don't need to learn CSS at all if you're using Bootstrap but that will limit what you can do if you don't.

Is Bootstrap part of CSS?

Bootstrap is the most popular CSS Framework for developing responsive and mobile-first websites.


2 Answers

Bootstrap is essentially a front-end Framework that makes designing webpages and the general development easier. Bootstrap uses CSS, however it's different to writing your own CSS as it's all pre done so you just add a class to a HTML element and then it will use that CSS. So for example adding the class "img-responsive" to will use the pre made img-responsive class which is in the external Bootstrap CSS file.

Bootstrap is great because it allows you to easily create a responsive, cross browser compatible website really easily. For example making the site responsive without Bootstrap would require you using Media Queries etc, whereas with Bootstrap you can just give your divs class names to make it responsive.

Essentially Bootstrap uses CSS. But it's different to writing your own CSS as it's all pre made for you and you just need to import the external CSS file made by the people at Bootstrap, and you just need to know which classes to use etc.

like image 90
Andrew1996 Avatar answered Sep 18 '22 06:09

Andrew1996


Bootstrap is a "framework", that is: a pre-built set of files. Included in these files is CSS. Bootstrap uses, among other things, extensive CSS classes to style websites.

You can use Bootstrap without understanding CSS but if you are a beginner you should really learn HTML & CSS first.

W3Schools is a great resource to start learning about HTML & CSS

like image 20
dlolsen Avatar answered Sep 19 '22 06:09

dlolsen