
Emmet is a free plugin for code editors that helps you to write HTML and CSS code quickly and easily. Bootstrap is a free CSS framework to create mobile friendly and responsive websites.
In this video course you will learn how to code responsive websites quickly and easily with both Emmet and Bootstrap framework.
Emmet is available for some most popular and widely used Text Editors and online services. You can install Emmet in your preferred text editors.
Brackets is a free Text Editor by Adobe built with HTML, CSS and JavaScript. Brackets is very easy to use and has many useful features to make your coding workflow faster and easy.
In this Video you will learn how you can install and use Emmet Plugin in Brackets.
You can download Brackets free from http://brackets.io/
SublimeText is one of the most popular and widely used Text editor. It is a premium text editor but you can test SublimeText for unlimited time.
Emmet is much more advance than Brackets editor, There is a free Package control available to install, uninstall and manage extension and packages in SublimeText.
Download and install SublimeText
Go to
How to install Package Control ?
First you need to install package control, you can download package control code from
https://sublime.wbond.net/installation
copy the code and and press ctrl+` or go to View > Show Console, once open paste the appropriate code.
How to install Emmet ?
Go to Preferences > package control and select install package than type Emmet to install, Restart SublimeText after installation.
That's all. Now you cak start using Emmet.
In this video you will learn how to get started with Emmet ?
You will learn how to generate divs with id's and classes with Emmet and how to use Emmet abbreviations to create mark up quickly for images and links.
Emmet uses . sign to generate divs with classes and # symbol to generate divs with ids. You just need to type .className or #yourid to generate a div with your given class name or id.
Copy-paste the stylesheet <link> into your <head> before all other stylesheets to load our CSS.
Copy
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
###pPopper.js) near the end of your pages, right before the closing </body> tag. Be sure to place jQuery and Popper.js first, as our JavaScript plugins depend on them. While we use jQuery’s slim build in our docs, the full version is also supported.
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Bootstrap 4 Tutorial</title> <link rel="stylesheet" href="css/bootstrap.min.css"> </head> <body> <div class="container"> <h1>Download and use Bootstrap locally</h1> <p> <a href="https://code.jquery.com/jquery-3.2.1.slim.min.js">Download jQuery 3.2.1</a> </p> <p> <a href="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js">Download and save Popper.js</a> </p> </div> <script src="js/jquery-3.2.1.min.js"></script> <script src="js/popper.min.js"></script> <script src="js/bootstrap.min.js"></script> </body> </html>
Emmet uses different symbols to right long abbreviations to generate complex HTML and CSS mark up quickly. Here is a list of symbols that you need to use.
. generate div with class name
# div with id name
> to generate child elements
^ go outside of div, generate page sections
* generate multiple items
$ add numbering
{} provide default text values
() to group sections for page
Keyboard short cuts are very helpful to make your work flow much faster and simpler. Emmet akso have some really useful keyboard short cuts.
Ctrl+Alt+J = Go to matching tag
Tab = Go to next edit point
Shift+Tab = Go to previous edit point
Ctrl+shift+; = Remove HTML element
Ctrl+Alt+Enter = Wrap with abbreviation function
Emmet Wrap with Abbreviation function is one of the most powerful and time saving function. Specially when you need to create mark up for your navigation items, Wrap with Abbreviation is a must use function.
For example if you have 4 navigation items.
Home
Portfolio
About
Contact
Just select all four items and press Ctrl+Alt+Enter key board short cut, an small window will appear at bottom of SublimeText to type your Emmet Abbreviation.
Now type following abbreviation and press enter..
nav.nav-main>ul>li.nav-item$*>a[$#.html]{$#}
above abbreviation will generate following mark up for you.
<nav>
<ul>
<li><a href="Home.html">Home</a></li>
<li><a href="Portfolio.html">Portfolio</a></li>
<li><a href="About.html">About</a></li>
<li><a href="Contact.html">Contact</a></li>
</ul>
</nav>
More examples
Abbreviation 1
nav>ul>li*>a[$#.html]{$#}
<nav>
<ul>
<li><a href="home.html">home</a></li>
<li><a href="about.html">about</a></li>
<li><a href="contact.html">contact</a></li>
<li><a href="Map.html">Map</a></li>
</ul>
</nav>
Abbreviation 2
nav.nav-primary>ul>li.nav-item*>a.nav-link[$#.html]{$#}
<nav class="nav-primary">
<ul>
<li class="nav-item"><a href="home.html" class="nav-link">home</a></li>
<li class="nav-item"><a href="about.html" class="nav-link">about</a></li>
<li class="nav-item"><a href="contact.html" class="nav-link">contact</a></li>
</ul>
</nav>
Emmet makes it very simple to add style sheets, scripts, RSS and Atom link easily. Here are some useful short cuts to add mark up to your header section quickly and easily.
Emmet makes it very simple to add style sheets, scritps, RSS and Atom link easily.
Here are some useful short cuts to add mark up to your header section quickly and easily.
Bootstrap is a front end development framework to create beautiful and fully responsive websites. In this video you will learn how to download and set up bootstrap, so in next lesson you will learn to create full page mark up with twitter Bootstrap.
Download Bootstrap from http://www.getbootstrap.com/
In this video you will learn how to create mark up for header section of web page with Emmet and Bootstrap.
You will learn to create site title with id of logo and navigation with 3 menu items with bootstrap's nav and nav-tabs classes.
You will also learn how you can add some additional styling with CSS to your navigation items.
Emmet Abbreviation used as example
header.container>.row>.col-md-4>h1.site-title>a[href="index.html"]{Site name}^^.col-md-8>ul.nav.justify-content-end>li.nav-item*4>a.nav-link
Abbreviation will generate following mark up
<header class="container">
<div class="row">
<div class="col-md-4">
<h1 class="site-title"><a href="index.html">Site name</a></h1>
</div>
<div class="col-md-8">
<ul class="nav justify-content-end">
<li class="nav-item"><a href=".html" class="nav-link">Home</a></li>
<li class="nav-item"><a href=".html" class="nav-link">Shop</a></li>
<li class="nav-item"><a href=".html" class="nav-link">About</a></li>
<li class="nav-item"><a href=".html" class="nav-link">Contact</a></li>
</ul>
</div>
</div>
</header>In this video you will learn how to write long abbreviation to generate mark up for main section of web page.
main.container>.row>.primary.col-md-8>article>h1.article-title{this is an article title}+p*5>lorem22^^^aside.col-md-4#sidebar>.card>h2.card-header{about us}+.card-body>p>lorem22
<main class="container">
<div class="row">
<div class="primary col-md-8">
<article>
<h1 class="article-title">this is an article title</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptas provident suscipit deserunt minus dolores, maxime ut hic quisquam distinctio architecto dolor quam.</p>
<p>Assumenda impedit, voluptas laborum, quasi tempore veniam quae. In ex, commodi, accusamus adipisci iusto quod consequuntur molestias voluptatem ipsam quisquam laudantium corporis.</p>
<p>Minima aliquam sunt dicta laboriosam alias nemo odio est quia molestias. Totam in quasi, modi odit provident quo iste tempora, sapiente minima.</p>
<p>Iusto omnis quod laudantium quis delectus expedita eveniet voluptas excepturi atque ea beatae error rem accusamus deleniti nulla, perferendis, sint. Accusamus, facilis!</p>
<p>Nobis, asperiores dolorum tempore sit incidunt dolores quis, ratione eaque necessitatibus inventore quam ut, officia dolor quaerat, delectus minus corporis cumque fuga.</p>
</article>
</div>
<aside class="col-md-4" id="sidebar">
<div class="card">
<h2 class="card-header">about us</h2>
<div class="card-body">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Expedita consequuntur ullam obcaecati, eius hic veritatis ipsum libero maxime, cumque, quae at, perferendis.</p>
</div>
</div>
</aside>
</div>
</main>
This videos is about final footer section of your web page. In this video you will learn how to create 3 columns layout with bootstrap's medium grid classes.
Bootstrap's medium grid offers col-md-* classes, replace * with your desired number from 1-12 because bootstrap offers 12 columns grid for medium, small and large screen devices.
In this series for our webpage we have used bootstrap's medium grid with col-md-* classes.
Our footer area will have 3 widget areas, each with widget title and widget content.
i have used following abbreviation in this video to create 3 column layout with Emmet & bootstrap grid system
footer.container>.row>.col-md-4*3>.card>.card-body>h4.card-title{this is title}+p>lorem22
<footer class="container">
<div class="row">
<div class="col-md-4">
<div class="card">
<div class="card-body">
<h4 class="card-title">this is title</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eveniet, ullam veniam, quod quaerat enim commodi quas nobis, illum maxime ea unde non!</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="card-body">
<h4 class="card-title">this is title</h4>
<p>Quo vitae culpa numquam aliquam eveniet omnis ea eligendi nihil odit quas, iste, iusto illum adipisci aperiam necessitatibus consectetur! Illum neque, voluptatum?</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="card-body">
<h4 class="card-title">this is title</h4>
<p>Assumenda sequi illum totam officiis ut, tempore rem natus! Deleniti iusto reiciendis aliquid, a quaerat, iure officia error pariatur, porro voluptate eaque.</p>
</div>
</div>
</div>
</div>
</footer>
This is a bonus lecture, it is not about Emmet and Bootstrap, in this video you will learn how to make your web page that we created with Emmet and Bootstrap's grid system more beautiful with custom web fonts.
You will learn how to fins your desired fonts from Google web fonts and use it for your web pages.
You can find all Google fonts at Google web fonts directory, for our web page i will use Open Sans web font from Google web fonts.
You have successfully completed this course.
In this course you have learned how to use Emmet and Bootstrap grid system to make your HTML and CSS workflow much faster and simpler to save your precious time.
No need to waste your time to write HTML and CSS line by line, Just type small Emmet abbreviations and hit Tab or any other trigger key on your text editor and Emmet will generate all the necessary mark up for your web pages.
In this video course you will learn how to write HTML and CSS code quickly and easily with Emmet and Code responsive websites rapidly with Emmet and Bootstrap 4.
Bootstrap 4 is a free CSS framework to create mobile-first websites and web applications. You will learn to use Bootstrap 4 framework as well.
Emmet is a free plugin for Text Editors that allows you to write short abbreviation and convert these abbreviation into complete HTML and CSS code.
You will also learn how to use Emmet and twitter bootstrap to create websites very quickly.
You can watch all lectures on your smart phones & Tablets & other small screen devices as well.