Build An HTML5 Template With Bootstrap and SASS - Part 5

Traversy Media · Intermediate ·🚀 Entrepreneurship & Startups ·11y ago
Skills: HTML & CSS90%

Key Takeaways

This video series demonstrates how to build a complete HTML5 Bootstrap template with SASS from scratch, covering setup, styling, and customization using Bootstrap and SASS.

Full Transcript

hey guys welcome to I believe this is part five um of bootstrap and SAS so in the last video we did the services page all right so what we have left is the blog page and the contact page HTML and then we can finally move on to our CSS and using SAS okay so I'm going to go to our blog we basically have the the um the base structure down we have our uh columns all right so we have a main column uh eight column div and then a sidebar which is a four column div all right so we're going to start in the eight and basically we're just going to have a heading so we'll have H2 with a class oops a class of page header and I apologize I didn't know that this was going to take this long to do all the HTML um I know I could have copy and pasted but I I really want you to see um what I'm doing and how I'm structuring the website so page header this is just going to say read our blog and then we'll have a blog post which will have its own div so div class blog post and in the blog post we'll have another page header and I'm just going to give this a uh just a sample text for a name here and then we'll have the the blog image so IMG SL I think it was blog one and um actually we want to give this image some classes I'm going to give it a class of image small which will just shrink it to the correct size going to give it a class of image bordered cuz we want it to have an image and also blog featured all right now we just have our intro text let me just grab that text all right and then underneath um let's see see underneath the blog post ending div we're going to have our metadata so that the the date the author categories so div class and it's going be post meta all right so we're going to have an icon and the icon f a fa a clock actually it's clock o all right so that'll be the icon for the time or the date and the time we're just going to put August 31st 2014 all right and then we'll put another icon and this one will be a user so fa user and that'll be the author name and then we want the category so we'll say folder for the icon and we'll put graphic design web development all right so that is a post all right so we get the blog post and blog and post meta okay so we just want to copy this and this okay and then we'll go right under here put a couple of these in and that's pretty much it for the list of posts so if we save that okay so we have our post the images are aren't showing let me just see why image blog one jpeg let me just check that oh it's a it's a PNG file so we need to change those to PNG okay so for the sidebar let's check out the blog sidebar we have tabs then we have this featured video and then we have this recent comments okay so we want to go to the the four column sidebar so we're going to have a heading here and I'm going to paste in the tab code okay so we'll start here or tab widget whatever you want to call it we have a class of tab and tab light because we want to have that light background um we get a UL then we have the tab panes okay you want to make sure that your href for the tab matches the ID of your div down here all right and then we have the featured video so we want to go under the tab div which starts here and ends here okay so we want to go right here and this is going to be a block and we're going to have block primary and we want no pad here as well so we're going to give it the class no pad no padding and then we have an H3 and we'll have an icon here okay so f8 a fa a play circle featured video and then we need to block content and then inside here I'm going to just paste in a YouTube iframe embed code all right so whenever if we have no padding we usually use this when we want there to be a actually you know what this shouldn't be block primary it should be block primary head whenever we use this block primary head we should have no padding because if you look at it you don't want the head this this header to have padding on the sides and the top so you want no padding and then you want to set the padding to the block content div which is this because you don't want this up against the edges all right so let's see next we have the recent comment again it's going to be uh block primary head so I'm just actually going to copy this and let me see okay so we'll change this here to recent comments and change the icon to uh fa comment all right and then block content get rid of the video and for the block content we're going to have an unordered list and this will have a class of list comments and then we'll have Lis and inside the LI we want an image and we want our head shots headshot one do JPEG and we want to make sure we give us a class and we want it to pull left because we want the image to float to the left and we also want to give it a class of image Circle which will turn it into a circle all right then we want paragraph and I'm just going to grab some text okay so that's that's good so we'll just just copy this a couple more times change the headshot image all right and there we go let's take a look uh where are we blog where is it did that not save oh it didn't save all right so you can see the images are very very big okay so we're going to fix all that so that's it for the blog now we want the contact page okay so we'll go to contact we already have our columns okay we have our eight column div and our four column div let's see we'll have a a heading page heading contact us all right so we're going to have a form and I'm going to paste that in just to save a little time so we have a form um and then we wrap our fields in a a class called form Group which is standard bootstrap markup uh we have a name a phone number an email address and a message basically the same that we have on that little form that we created on the services page all right and then the the sidebar we're going to put an address and this is going to be a block so we want div class block and again this is going to be block primary head and notepad all right and then we're just going to have some address info I'm going to paste that in okay so we have an H3 our location which has an uh home icon then we have our block content unordered list has the company name and the address info okay so the contact form we also want a Google map so we want a section above the main section section class and this is going to have a a section I mean a class called section map and I'm just going to paste in my iframe for my map okay basically it's going to be width I want it to take up the whole page so I did 1,600 height 400 okay so if we save that and there's our map and our form all right so that is the HTML okay we have absolutely no CSS right now so that's what we'll do in the next video

Original Description

In this mini-series we will build a complete HTML5 Bootstrap template with SASS. It is a bit long but that is because it is from scratch and typed out line by line. --------------------------------------------------------------------------------------- Project Files - https://github.com/bradtraversy/skyapp_bootstrap For video courses like this check out - http://codeskillet.com
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Traversy Media · Traversy Media · 49 of 60

1 Changing Your DNS/Nameservers
Changing Your DNS/Nameservers
Traversy Media
2 Create a MySQL database in cPanel
Create a MySQL database in cPanel
Traversy Media
3 Install & Uninstall Joomla Extensions
Install & Uninstall Joomla Extensions
Traversy Media
4 Adding and linking an article in Joomla
Adding and linking an article in Joomla
Traversy Media
5 Create a Joomla Blog
Create a Joomla Blog
Traversy Media
6 Import & Export A MySQL Database
Import & Export A MySQL Database
Traversy Media
7 Use A Custom Font On Your Website Using CSS
Use A Custom Font On Your Website Using CSS
Traversy Media
8 Connect Joomla Site With Dreamweaver
Connect Joomla Site With Dreamweaver
Traversy Media
9 Remove Phoca Gallery 3.2.3 Footer Text
Remove Phoca Gallery 3.2.3 Footer Text
Traversy Media
10 Drupal 7 Security Update 7.19 to 7.20
Drupal 7 Security Update 7.19 to 7.20
Traversy Media
11 Add An Addon Domain In Cpanel
Add An Addon Domain In Cpanel
Traversy Media
12 Pull A Heroku Rails App and Database
Pull A Heroku Rails App and Database
Traversy Media
13 Create a Custom Joomla 2.5 Module - Part 1
Create a Custom Joomla 2.5 Module - Part 1
Traversy Media
14 Create a Custom Joomla 2.5 Module - Part 2
Create a Custom Joomla 2.5 Module - Part 2
Traversy Media
15 Create a Custom Joomla 2.5 Module - Part 3
Create a Custom Joomla 2.5 Module - Part 3
Traversy Media
16 Joomla SEO Tutorial - sh404sef Configuration
Joomla SEO Tutorial - sh404sef Configuration
Traversy Media
17 Font Dragr
Font Dragr
Traversy Media
18 Convert an HTML Template to Joomla 2.5/3.0 - Part One
Convert an HTML Template to Joomla 2.5/3.0 - Part One
Traversy Media
19 Convert an HTML Template to Joomla 2.5/3.0 - Part Two
Convert an HTML Template to Joomla 2.5/3.0 - Part Two
Traversy Media
20 Rockettheme Rocketlauncher   Joomla Site in Under 10 Minutes
Rockettheme Rocketlauncher Joomla Site in Under 10 Minutes
Traversy Media
21 JQuery FAQ Slider Tutorial
JQuery FAQ Slider Tutorial
Traversy Media
22 301 Redirect With htaccess File
301 Redirect With htaccess File
Traversy Media
23 Convert HTML to Wordpress Theme - Part 1
Convert HTML to Wordpress Theme - Part 1
Traversy Media
24 Convert HTML to Wordpress Theme - Part 2
Convert HTML to Wordpress Theme - Part 2
Traversy Media
25 Easy JQuery Widgets
Easy JQuery Widgets
Traversy Media
26 Codeigniter App Part 1 - Creating the Database
Codeigniter App Part 1 - Creating the Database
Traversy Media
27 Codeigniter App Part 2 - Installation and Configuration
Codeigniter App Part 2 - Installation and Configuration
Traversy Media
28 Codeigniter App Part 6 - Login/Register System
Codeigniter App Part 6 - Login/Register System
Traversy Media
29 Codeigniter App Part 7 - Models List CRUD
Codeigniter App Part 7 - Models List CRUD
Traversy Media
30 Codeigniter App Part 8 - Models Task CRUD
Codeigniter App Part 8 - Models Task CRUD
Traversy Media
31 Node.js Part 1 - Install NodeJS on Windows
Node.js Part 1 - Install NodeJS on Windows
Traversy Media
32 Node.js Part 3 - Building a Static Page Server
Node.js Part 3 - Building a Static Page Server
Traversy Media
33 Node.js Part 4 - NPM
Node.js Part 4 - NPM
Traversy Media
34 Node.js Part 2 - Install MongoDB in Windows
Node.js Part 2 - Install MongoDB in Windows
Traversy Media
35 Create a Joomla Quickstart with Custom Sample Data
Create a Joomla Quickstart with Custom Sample Data
Traversy Media
36 Install MongoDB in Ubuntu
Install MongoDB in Ubuntu
Traversy Media
37 HTML5 Web Storage
HTML5 Web Storage
Traversy Media
38 Create a Joomla Bootstrap Template From Scratch
Create a Joomla Bootstrap Template From Scratch
Traversy Media
39 Ubuntu Server 14.04 Setup Part 1 - Installation
Ubuntu Server 14.04 Setup Part 1 - Installation
Traversy Media
40 Ubuntu Server 14.04 Setup Part 3 - Set Static IP
Ubuntu Server 14.04 Setup Part 3 - Set Static IP
Traversy Media
41 Create A Wordpress Widget - Part 1
Create A Wordpress Widget - Part 1
Traversy Media
42 Create A Wordpress Widget - Part 2
Create A Wordpress Widget - Part 2
Traversy Media
43 Create A Wordpress Widget - Part 3
Create A Wordpress Widget - Part 3
Traversy Media
44 Create A Wordpress Widget - Part 4
Create A Wordpress Widget - Part 4
Traversy Media
45 Get Started With Sass on Windows
Get Started With Sass on Windows
Traversy Media
46 Build An HTML5 Template With Bootstrap and SASS - Part 1
Build An HTML5 Template With Bootstrap and SASS - Part 1
Traversy Media
47 Build An HTML5 Template With Bootstrap and SASS - Part 6
Build An HTML5 Template With Bootstrap and SASS - Part 6
Traversy Media
48 Build An HTML5 Template With Bootstrap and SASS - Part 4
Build An HTML5 Template With Bootstrap and SASS - Part 4
Traversy Media
Build An HTML5 Template With Bootstrap and SASS - Part 5
Build An HTML5 Template With Bootstrap and SASS - Part 5
Traversy Media
50 Build An HTML5 Template With Bootstrap and SASS - Part 3
Build An HTML5 Template With Bootstrap and SASS - Part 3
Traversy Media
51 Build An HTML5 Template With Bootstrap and SASS - Part 2
Build An HTML5 Template With Bootstrap and SASS - Part 2
Traversy Media
52 Build An HTML5 Template With Bootstrap and SASS - Part 7
Build An HTML5 Template With Bootstrap and SASS - Part 7
Traversy Media
53 Build An HTML5 Template With Bootstrap and SASS - Part 10
Build An HTML5 Template With Bootstrap and SASS - Part 10
Traversy Media
54 Build An HTML5 Template With Bootstrap and SASS - Part 8
Build An HTML5 Template With Bootstrap and SASS - Part 8
Traversy Media
55 Build An HTML5 Template With Bootstrap and SASS - Part 11
Build An HTML5 Template With Bootstrap and SASS - Part 11
Traversy Media
56 Build An HTML5 Template With Bootstrap and SASS - Part 9
Build An HTML5 Template With Bootstrap and SASS - Part 9
Traversy Media
57 Build An Audio Player Using HTML5 & jQuery - Part 1
Build An Audio Player Using HTML5 & jQuery - Part 1
Traversy Media
58 Build An Audio Player Using HTML5 & jQuery - Part 2
Build An Audio Player Using HTML5 & jQuery - Part 2
Traversy Media
59 Youtube Data API v3 & jQuery To List Channel Videos
Youtube Data API v3 & jQuery To List Channel Videos
Traversy Media
60 Using Bootstrap With Ruby on Rails
Using Bootstrap With Ruby on Rails
Traversy Media

This video series teaches how to build a complete HTML5 Bootstrap template with SASS, covering setup, styling, and customization. By following along, viewers can learn how to create their own responsive and customizable templates using Bootstrap and SASS.

Key Takeaways
  1. Create a new HTML5 project
  2. Install Bootstrap and SASS
  3. Set up the project structure
  4. Write SASS code for styling
  5. Customize the Bootstrap theme
  6. Test and deploy the template
💡 Using SASS with Bootstrap allows for more efficient and customizable styling of web applications.

Related AI Lessons

Esports Company BLAST Reports Record Growth Following US Expansion
Esports company BLAST achieves record growth after US expansion, demonstrating the potential of strategic market expansion in the gaming industry
Forbes Innovation
Estate Planning Assumes You Die. Health Planning Assumes You Live.
Traditional estate planning focuses on death, but health planning for illness and caregiving is crucial for a comprehensive approach, emphasizing the need to prepare for life's uncertainties.
Forbes Innovation
7 Steps from Idea to Launched Product with Paying Customers
Learn a 7-step process to turn your idea into a launched product with paying customers, focusing on lean principles and customer validation.
Medium · Startup
The Sales Meeting Mistake That Makes Founders Sound Desperate
Learn how to avoid sounding desperate in sales meetings and improve your pitch by recognizing common mistakes
Medium · Startup
Up next
Watch this before applying for jobs as a developer.
Tech With Tim
Watch →