• Home
  • Categories
  • Video Tutorials
    • Angular 5
  • News
  • About us
  • Contact us
  • Login
test
Code4Developers

Code4Developers

Code4Developers
  • Home
  • Categories
  • Video Tutorials
    • Angular 5
  • News
  • About us
  • Contact us
  • Login
  • HTML/Stylesheet

Bootstrap basics for beginners

  • Patel Harsh
  • July 2, 2018
  • 2 minute read
Boostrap_logo.svg
Bootstrap
Total
0
Shares
0
0
0

Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile-first projects on the web. In this article we will discuss about basics of bootstrap.

Bootstrap:

  • Bootstrap is a free front-end framework for faster and easier web development
  • It includes HTML and CSS based design templates for typography, forms, buttons, tables, navigation, modals, image carousels and many other, as well as optional JavaScript plugins
  • Bootstrap also gives you the ability to easily create responsive designs

Why use Bootstrap?

  • Easy to use: Anybody with just basic knowledge of HTML and CSS can start using Bootstrap
  • Responsive features: Bootstrap’s responsive CSS adjusts to phones, tablets, and desktops
  • Mobile-first approach: In Bootstrap 3, mobile-first styles are part of the core framework
  • Browser compatibility: Bootstrap is compatible with all modern browsers (Chrome, Firefox, Internet Explorer, Edge, Safari, and Opera)

Some steps that required for making web pages using Bootstrap :

  1. Add the HTML5 doctype:

    Bootstrap uses HTML elements and CSS properties that require the HTML5 doctype.

    Always include the HTML5 doctype at the beginning of the page, along with the lang attribute and the correct character set.

    <!DOCTYPE html>
    <html lang="en">
      <head>
        <meta charset="utf-8"> 
      </head>
    </html>
    
  2.  Bootstrap 3 is mobile-first:
  • Bootstrap 3 is designed to be responsive to mobile devices. Mobile-first styles are part of the core framework.
  • To ensure proper rendering and touch zooming, add the following <meta> tag inside the <head>element:
<meta name="viewport" content="width=device-width, initial-scale=1">
  • The width=device-width part sets the width of the page to follow the screen-width of the device (which will vary depending on the device).
  • The initial-scale=1 part sets the initial zoom level when the page is first loaded by the browser.

3.  Containers:

  • Bootstrap also requires a containing element to wrap site contents.
  • There are two container classes to choose from:
    • The .container class provides a responsive fixed width container
    • The .container-fluid class provides a full width container, spanning the entire width of the viewport

What to read next?

  • Advanced CSS Tricks and Techniques
  • CSS Keylogger
Patel Harsh
Patel Harsh

I am studying Btech(Computer Engineering)last year.Love to do programming.

Views: 3,951

Share this:

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on X (Opens in new window) X
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to email a link to a friend (Opens in new window) Email
  • Click to print (Opens in new window) Print

Like this:

Like Loading...

Related Posts

Total
0
Shares
Share 0
Tweet 0
Pin it 0
6 comments
  1. Anonymous says:
    July 2, 2018 at 12:02 pm

    Nice and useful content.
    Thanks harsh

    Reply
    1. Anonymous says:
      July 2, 2018 at 3:44 pm

      Thank u

      Reply
  2. Kalpit says:
    July 2, 2018 at 3:38 pm

    Very useful content for beginner thanks for sharing

    Reply
    1. Patel Harsh says:
      July 2, 2018 at 3:46 pm

      Thank u

      Reply
  3. Anonymous says:
    July 3, 2018 at 9:46 pm

    Nice write up. Very informative.

    Reply
  4. Dhara says:
    January 4, 2019 at 7:00 pm

    keep it up

    Reply

Leave a ReplyCancel reply

Subscribe to Website via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Recent Posts
  • Getting Started with AWS Step Functions: Orchestration Made Simple

    Getting Started with AWS Step Functions: Orchestration Made Simple

    2 months ago
  • React Hooks Guide: Top Tips for Optimizing Performance in Your React Applications

    React Hooks Guide: Top Tips for Optimizing Performance in Your React Applications

    2 years ago
  • Demystifying JavaScript Tree Shaking: Boosting Performance and Reducing Bundle Size

    Demystifying JavaScript Tree Shaking: Boosting Performance and Reducing Bundle Size

    2 years ago
  • Unlocking the Power of React Hooks: A Comprehensive Guide with Examples

    Unlocking the Power of React Hooks: A Comprehensive Guide with Examples

    2 years ago
  • Celebrating a Decade of Phenomenal Growth: Insights and Reflections on 10 Years of Software Engineering

    Celebrating a Decade of Phenomenal Growth: Insights and Reflections on 10 Years of Software Engineering

    2 years ago
  • Angular Custom Elements: Creating Reusable Components with Angular

    Angular Custom Elements: Creating Reusable Components with Angular

    3 years ago
  • Connect Firebase Realtime NoSQL Database with Angular App from Scratch

    Connect Firebase Realtime NoSQL Database with Angular App from Scratch

    5 years ago
  • How to Build an Inclusive Esports Community

    How to Build an Inclusive Esports Community

    5 years ago
  • Best Digital Icebreakers

    Best Digital Icebreakers

    5 years ago
  • Email alerts when a docker container stopped in AWS ECS CLUSTER

    Email alerts when a docker container stopped in AWS ECS CLUSTER

    5 years ago
Subscribe to Website via Email

Enter your email address to subscribe to this website and receive notifications of new posts by email.

Featured Posts
  • javascript 1
    Spread syntax (three dots) in JavaScript
    • March 21, 2018
  • Angular 2
    Angular 6 CRUD – Part 1: Project Setup, Routing, Service
    • May 9, 2018
  • javascript 3
    Local Storage and Session Storage
    • May 22, 2017
  • Angular 4
    Angular 4 Project Structure
    • June 18, 2017
  • AWS 5
    Email alerts when a docker container stopped in AWS ECS CLUSTER
    • July 24, 2020
Code4Developers
Learning is never ending process

Input your search keywords and press Enter.

%d