Filling the main content

To finish the content of the first step of our dashboard, we will move on to the main content, referred to by the column identified by #main. In this section, we will create a set of cards almost similar to the cards made in the web application demo, along with the use of some external plugins for chart generation.

However, before everything else, we need to create some common CSS in our main content. Add the following style to the base.css file:

#main { padding-top: 7.2rem; display: -webkit-flex; display: flex; align-items: stretch; flex-flow: row wrap; } .card { position: relative; border-radius: 0.25em; box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37); background-color: #FFF; margin: 1.25rem; flex-grow: 5; } .card * { color: ...

Get Bootstrap 4 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.