Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Describe compiled css #24271

Merged
merged 4 commits into from Oct 13, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,15 @@ bootstrap/
│ ├── bootstrap.css
│ ├── bootstrap.css.map
│ ├── bootstrap.min.css
│ └── bootstrap.min.css.map
│ ├── bootstrap.min.css.map
│ ├── bootstrap-grid.css
│ ├── bootstrap-grid.css.map
│ ├── bootstrap-grid.min.css
│ ├── bootstrap-grid.min.css.map
│ ├── bootstrap-reboot.css
│ ├── bootstrap-reboot.css.map
│ ├── bootstrap-reboot.min.css
│ └── bootstrap-reboot.min.css.map
└── js/
├── bootstrap.js
└── bootstrap.min.js
Expand Down
58 changes: 57 additions & 1 deletion docs/4.0/getting-started/contents.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,70 @@ bootstrap/
│ ├── bootstrap.css
│ ├── bootstrap.css.map
│ ├── bootstrap.min.css
│ └── bootstrap.min.css.map
│ ├── bootstrap.min.css.map
│ ├── bootstrap-grid.css
│ ├── bootstrap-grid.css.map
│ ├── bootstrap-grid.min.css
│ ├── bootstrap-grid.min.css.map
│ ├── bootstrap-reboot.css
│ ├── bootstrap-reboot.css.map
│ ├── bootstrap-reboot.min.css
│ └── bootstrap-reboot.min.css.map
└── js/
├── bootstrap.js
└── bootstrap.min.js
{% endhighlight %}

This is the most basic form of Bootstrap: precompiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). CSS [source maps](https://developers.google.com/web/tools/chrome-devtools/javascript/source-maps) (`bootstrap.*.map`) are available for use with certain browsers' developer tools.

### Comparison of CSS files

<div class="table-responsive">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Responsive tables have a different markup:
https://getbootstrap.com/docs/4.0/content/tables/#responsive-tables

<table class="table">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd make this table table-bordered to make it easier to read

<thead>
<tr>
<th scope="col">CSS files</th>
<th scope="col" class="w-25 text-center">Layout</th>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove all w-* classes

<th scope="col" class="w-25 text-center">Content</th>
<th scope="col" class="w-25 text-center">Components</th>
<th scope="col" class="w-25 text-center">Utilities</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">
<div><code class="text-nowrap">bootstrap.css</code></div>
<div><code class="text-nowrap">bootstrap.min.css</code></div>
</th>
<td class="w-25 table-success text-center align-middle">All</td>
<td class="w-25 table-success text-center align-middle">All</td>
<td class="w-25 table-success text-center align-middle">All</td>
<td class="w-25 table-success text-center align-middle">All</td>
</tr>
<tr>
<th scope="row">
<div><code class="text-nowrap">bootstrap-grid.css</code></div>
<div><code class="text-nowrap">bootstrap-grid.min.css</code></div>
</th>
<td class="w-25 table-warning text-center align-middle">Only <a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/layout/grid/">grid</a> system</td>
<td class="w-25 table-danger text-center align-middle">Not</td>
<td class="w-25 table-danger text-center align-middle">Not</td>
<td class="w-25 table-warning text-center align-middle">Only <a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/flex/">flex</a> utilities</td>
</tr>
<tr>
<th scope="row">
<div><code class="text-nowrap">bootstrap-reboot.css</code></div>
<div><code class="text-nowrap">bootstrap-reboot.min.css</code></div>
</th>
<td class="w-25 table-danger text-center align-middle">Not</td>
<td class="w-25 table-warning text-center align-middle">Only <a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/content/reboot/">Reboot</a></td>
<td class="w-25 table-danger text-center align-middle">Not</td>
<td class="w-25 table-danger text-center align-middle">Not</td>
</tr>
</tbody>
</table>
</div>

## Bootstrap source code

The Bootstrap source code download includes the precompiled CSS and JavaScript assets, along with source Sass, JavaScript, and documentation. More specifically, it includes the following and more:
Expand Down
2 changes: 1 addition & 1 deletion docs/4.0/getting-started/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ toc: true

Download ready-to-use compiled code for **Bootstrap v{{ site.current_version}}** to easily drop into your project, which includes:

- Compiled and minified CSS bundles (default, grid-only, and Reboot-only)
- Compiled and minified CSS bundles (see [CSS files comparison]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/contents/#comparison-of-css-files))
- Compiled and minified JavaScript plugins

This doesn't include documentation, source files, or any optional JavaScript dependencies (jQuery and Popper.js).
Expand Down