Skip to content

Commit dbb3b11

Browse files
committed
Added CDN example to README.md
1 parent 592f40b commit dbb3b11

File tree

7 files changed

+19
-862
lines changed

7 files changed

+19
-862
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,22 @@ Simply download the appropriate CSS file and include it in your HTML header (you
4747

4848
Documentation for the [grid system](https://getbootstrap.com/docs/4.1/layout/grid/) may be found on the [Bootstrap web site](https://getbootstrap.com/).
4949

50+
### Linking Stylesheets
51+
52+
Linking to stylesheet example:
53+
54+
```html
55+
<link rel="stylesheet" href="dist/css/bootstrap-grid.min.css" />
56+
```
57+
58+
#### CDN: jsDelivr
59+
60+
Supports both HTTP and HTTPS.
61+
62+
```html
63+
<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/dmhendricks/[email protected]/dist/css/bootstrap-grid.min.css" />
64+
```
65+
5066
### Basic Usage Example
5167

5268
```html
@@ -65,6 +81,8 @@ Documentation for the [grid system](https://getbootstrap.com/docs/4.1/layout/gri
6581
</div>
6682
```
6783

84+
See the [demo](https://dmhendricks.github.io/demo/bootstrap-grid-css/) for more information.
85+
6886
## Custom Build Tutorial
6987

7088
You can make your own custom build of Bootstrap by downloading the source, making changes to the SCSS files and compiling.
@@ -73,4 +91,4 @@ Here is how to accomplish what I have done here:
7391

7492
1. Download and extract the Bootstrap [source files](https://github.com/twbs/bootstrap/)
7593
2. Modify the SCSS files as desired. For example, to generate this build I added the `.bootstrap-wrapper` class to `scss/bootstrap-grid.scss` (lines 23 and 50), included the responsive utilities (line 43) and `.img-fluid` class (line 48). I also ported the `scss/utilities/_visibility.scss` [responsive utilities](http://v4-alpha.getbootstrap.com/layout/responsive-utilities/) that were found in alpha for convenience.
76-
3. Once you are done making your changes, use a program like [Koala](http://koala-app.com/) or [Scout](http://scout-app.io/) to compile the SCSS files into usable CSS files.
94+
3. Once you are done making your changes, use a program like [Koala](http://koala-app.com/) or [Scout](http://scout-app.io/) to compile the SCSS files into usable CSS files. If you have Gulp and npm installed, you can simply run the command: `gulp styles`

composer.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

dist/css/bootstrap-grid.css.map

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)