<!-- Bootstrap CSS : Referencing local file-->
<link rel="stylesheet"
href="css/bootstrap.css">
A content delivery network (CDN) is a system of distributed servers (network) that deliver pages and other Web content to a user, based on the geographic locations of the user, the origin of the webpage and the content delivery server.
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css"
/>
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"
></script>
In this section we will try different components in Bootstrap randomly. Using the Bootstrap 4 extension we can create bootstrap components using auto-completion
b4-
the editor will show a dropdown with list of options <!-- Nav tabs -->
<!-- Tab panes -->
<!-- Pills-->
<!-- Jumbotron -->
<!-- list -->
<div> <span>
- does not explain anything about its content
<form> <table> <article>
- this tags clearly defines its contentsnavbar navbar-expand-sm bg-dark navbar-dark fixed-top
.container
a.navbar-brand
button.navbar-toggler
span.navbar-toggler-icon
.collapse.navbar-collapse
with id ‘navbarCollapse’ul.navbar-nav.ml-auto>li.nav-item*4>a.nav-link
Modify the style.css file and add the following css rules
body{
background:#333;
color:#fff;
}
.navbar {
border-bottom:#008ed6 3px solid;
opacity:0.8;
}
header#home-section>.dark-overlay
dark-overlay
add another div **.home-inner.container
** this will contain the contents of the section.row>.col-lg-8.d-none.d-lg-block
col-lg-8
8 column grid show on large screend-none
this will hide the blockd-lg-block
this will show the div as block on large screenh1.display-4
with text Build social profiles and gain revenue and profits
.d-flex
.p-4.align-self-start
i.fas.fa-check.fa-2x
.p-4.align-self-end
lorem15
d-flex
.col-lg-4
card bg-primary text-center card-form
.card-body
form>.form-group
input.form-control.form-control-lg
input:submit
add class of btn btn-outline-light
btn-block
#home-section{
/*Sets the Background Image*/
background:url(../img/home.jpg);
background-repeat:no-repeat;
background-size:cover;
background-attachment: fixed;
min-height: 700px;
}
#home-section .dark-overlay{
position: absolute;
top:0;
left:0;
width:100%;
min-height: 700px;
/* make the image darker */
background: rgba(0,0,0,0.7)
}
#home-section .home-inner{
padding-top:150px
}
#home-section .card-form{
opacity: 0.8;
}
#home-section .fas {
color:#008ed6;
background:#fff;
padding:5px;
border-radius:5px;
}
section#explore-head-section>.container>.row
.col.text-center.py-5
h1.display-4
p.lead>lorem20
a.btn.btn-outline-secondary
section#explore-section.bg-light.text-muted.py-5
.container>.row
.col-md-6*2
img-fluid mb-3 rounded-circle
.d-flex>.p-4.align-self-start
i.fas.fa-check.fa-2x
.p-4.align-self-end>lorem15
#explore-section .fas{
background:#333;
color:#fff;
padding: 5px;
border-radius: 5px;
}
footer#main-footer.bg-dark
.container>.row>.col.text-center.py-4
btn.btn.btn-primary
.modal.fade.text-dark#contactModal
.modal-dialog>.modal-content>.modal-header
h5.modal-title
btn.close
span>×
.modal-body>form
.form-group>label+input:text.form-control
//Init Scrollspy
$('body').scrollspy({target:'#main-nav'});