HTML & CSS / Bootstrap / Create website using bootstrap
Create New website
-
STEPS
1. Create an HTML Page
Bootstrap Tutorial Sample Page 2. Load Bootstrap via CDN
3. Add a Navigation Bar
in cssbody { padding: 0; margin: 0; background: #f2f6e9; } .navbar { background:#6ab446; } .nav-link, .navbar-brand { color: #fff; cursor: pointer; } .nav-link { margin-right: 1em !important; } .nav-link:hover { color: #000; } .navbar-collapse { justify-content: flex-end; } 4. Create a Page Content Container
5. Include a Page Title and Body Text
cssWelcome to the Landing Page!
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque interdum quam odio, quis placerat ante luctus eu. Sed aliquet dolor id sapien rutrum, id vulputate quam iaculis. Suspendisse consectetur mi id libero fringilla, in pharetra sem ullamcorper.
Output.description { left: 50%; position: absolute; top: 45%; transform: translate(-50%, -55%); text-align: center; } .description h1 { color: #6ab446; } .description p { color: #fff; font-size: 1.3rem; line-height: 1.5; } 6. Create a CTA Button
css
Output.description button { border:1px solid #6ab446; background:#6ab446; border-radius: 0; color:#fff; } .description button:hover { border:1px solid #fff; background:#fff; color:#000; } 7. Set Up a Three-Column Section
cssLorem ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque interdum quam odio, quis placerat ante luctus eu. Sed aliquet dolor id sapien rutrum, id vulputate quam iaculis.
Lorem ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque interdum quam odio, quis placerat ante luctus eu. Sed aliquet dolor id sapien rutrum, id vulputate quam iaculis.
Output.features { margin: 4em auto; padding: 1em; position: relative; } .feature-title { color: #333; font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; } .features img { -webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4); -moz-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4); box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4); margin-bottom: 16px; } 8. Add a Contact Form
cssGet in Touch!
Output.features .form-control, .features input { border-radius: 0; } .features .btn { background-color: #589b37; border: 1px solid #589b37; color: #fff; margin-top: 20px; } .features .btn:hover { background-color: #333; border: 1px solid #333; } 9. Include a Team Section
together code
cssJane Doe
Job Description
Output.background { background: #dedec8; padding: 4em 0; } .team { color: #5e5e55; padding: 0 180px; } .team .card-columns { -webkit-column-count: 4; -moz-column-count: 4; column-count: 4; } .team .card { background:none; border: none; } .team .card-title { font-size: 1.3rem; margin-bottom: 0; text-transform: uppercase; } 10. Create a Two-Column Footer