5

Recently I learn Twitter Bootstrap. I am new now. When I download, I founded two CSS file.

1. bootstrap.css
and
2. bootstrap.min.css

But on sample file, only one file linked.like bellow:

<link rel='stylesheet' type='text/css' href='css/bootstrap.min.css'>

bootstrap.min.css, Now I want to know: What is defferent between bootstrap.css and bootstrap.min.css

lukasgeiter
  • 147,337
  • 26
  • 332
  • 270
Saiful Islam
  • 332
  • 6
  • 15
  • 1
    `.min.css` is minified: excess whitespace is removed for improved size (and consequently improved load times). – The Paramagnetic Croissant Nov 08 '14 at 19:57
  • 3
    Open them and you'll see. – Shomz Nov 08 '14 at 19:58
  • bootstrap.css is the source code for someone to read and contribute if they choose to, bootstrap.min.css is the compact file which is recommended to use for your project – Mauricio Trajano Nov 08 '14 at 19:59
  • 1
    Possible duplicate of [What is the difference between bootstrap.min.css and bootstrap.css?](https://stackoverflow.com/questions/23368456/what-is-the-difference-between-bootstrap-min-css-and-bootstrap-css) – JustCarty Nov 21 '17 at 13:20

3 Answers3

7

There's no difference between the two. The 'min' simply means that it is minified, meaning white-paces, new lines and empty spaces are removed, so that the file is lighter for including in the HTML document.

which can result to shorter loading times. See

http://en.wikipedia.org/wiki/Minification_(programming)

Mubo
  • 1,078
  • 8
  • 16
5

The bootstrap.css file has line spaces, comments and is very structured.

The bootstrap.min.css has no line spaces, comments or structure.

A .min file is a file that is compressed to be smaller by removing comments and line spaces and should be use in your production version of your website/application to cut down on server and browser load.

Hope this helps.

3

any .min.css File is the same .css file but minified ( that is what the min stands for) minified means that empty lines, white spaces, etc... are removed to make the file size smaller and improve the load time.

Alizoh
  • 1,562
  • 1
  • 13
  • 16