官术网_书友最值得收藏!

How it works...

In step 1 of this recipe, we start off with the addition of all the new files and folders needed for it to work.

In step 2, we add the font-awesome bower component. This will allow us to call font-awesome classes locally (without linking to a CDN).

In step 3, we download the image that we will use as our jumbotron background, just under the navbar.

In step 4, we add the recipe-specific SCSS code. This code calls our Bootstrap 4 default SCSS and font-awesome from bower_components.

In step 5, we add the code to the recipe-specific navbar.

Step 6 is very important, as it introduces a new concept in Bootstrap 4 related to the jumbotron component. In Bootstrap 4, jumbotron makes it easier to create a great call-to-action space, with headings, paragraphs, buttons, and so on. The most important thing to remember is that all this content needs to be surrounded with a div tag, with the  jumbotron and jumbotron-fluid classes. We also include the call to a custom class of jumbotron-background:

      <div class="jumbotron jumbotron-fluid mt-5 jumbotron-background">
...
</div>

The rest of the code in step 6 is pretty easy to understand. We are using font-awesome icons for better visual effects and a table as an example of a responsive table that can be added easily to a web page such as this.

The remaining steps in this recipe will make all the includes work.

If you are interested in learning more about Harp in general, refer to  http://chloi.io/open/.
主站蜘蛛池模板: 阜阳市| 炉霍县| 通江县| 莲花县| 望江县| 锦州市| 黄平县| 江城| 南汇区| 岳西县| 肥城市| 福贡县| 乌兰县| 洮南市| 芷江| 柏乡县| 上蔡县| 广安市| 吉水县| 金沙县| 仪征市| 长宁区| 同仁县| 全南县| 青冈县| 宁夏| 铁力市| 古浪县| 诸城市| 赫章县| 江西省| 宁都县| 玉树县| 江川县| 广水市| 淮阳县| 北川| 吴堡县| 吉首市| 广昌县| 嘉定区|