Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In

Captcha Click on image to update the captcha.

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have a permission to ask a question, You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Tech Answered Logo Tech Answered Logo
Sign InSign Up

Tech Answered

Tech Answered Navigation

  • Home
  • Tutorials
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Blog
  • Contact Us
Home / Questions /Q 2720
Next
In Process
Nadiminti Naga Satya veni
Nadiminti Naga Satya veni

Nadiminti Naga Satya veni

  • India
  • 6 Questions
  • 5 Answers
  • 0 Best Answers
  • 35 Points
View Profile
  • 0
Nadiminti Naga Satya veni
Asked: July 29, 20212021-07-29T14:56:08+05:30 2021-07-29T14:56:08+05:30In: Web Development

What is Bootstrap Called and what is the main purpose of Bootstrap?

  • 0

Iam designing web pages.So,I want to know how bootstrap is useful to my website?

What is bootstrap exactly?How to use it?Why Bootstrap?What is the main purpose of Bootstrap?How it will help to design web pages?what is Bootstrap in Programming?Bootstrap CDN?How does it work?

how does boo strap works?how to use bootstraphow to use in web developmentwhat is exactly bootstrap?what is purpose of bootstrapwhy bootstrap
  • 1
  • 1,108
  • 0
  • 0
Answer
Share
  • Facebook

    Related Questions

    • How to Add, Install SSL Certificate to Your Website
    • What are some key considerations when designing a logo for a company that will be used online and in print?
    • Image Gallery With Animations Using HTML And CSS Code
    • What part does content play in SEO, and what impact does it have on search engine rankings?
    • How to add scrolling text in Blogger
    • Direction
    • how are sitemaps important for the seo process

    1 Answer

    1. deeksha

      deeksha

      • India
      • 0 Questions
      • 1 Answer
      • 0 Best Answers
      • 23 Points
      View Profile
      deeksha
      2021-08-31T23:55:10+05:30Added an answer on August 31, 2021 at 11:55 pm

      Bootstrap is a large collection of predefined reusable Code Snippets written in HTML, CSS, and Javascript. The Code Snippets include Buttons, Cards, Carousels, etc.

      How to use Bootstrap?

      To use the Code Snippets provided by Bootstrap, we need to add  piece of code within the HTML head element.

      we  call it BootstrapCDN

      ******************************************************************************

      <link rel=”stylesheet” href=”https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css” integrity=”sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z” crossorigin=”anonymous”/>
      <script src=”https://code.jquery.com/jquery-3.5.1.slim.min.js” integrity=”sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj” crossorigin=”anonymous”></script>
      <script src=”https://cdn.jsdelivr.net/npm/popper.jsarunraj503.16.1/dist/umd/popper.min.js” integrity=”sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN” crossorigin=”anonymous”></script>
      <script src=”https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js” integrity=”sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV” crossorigin=”anonymous”></script>

      ****************************************************************************

      Add the above lines in your HTML head tag. so,that you can use bootstrap predefined styles which will decrease our burden.

      Predefined Styles in Bootstrap:

      1.Button

      The Bootstrap class name btn is used to style the HTML button element.

      Ex: <button class=”btn”>Submit</button>

      To achieve the different background colors for button, Bootstrap has the following class names.

      <button class=”btn btn-primary”>Get Started</button>
      <button class=”btn btn-secondary”>Get Started</button>
      <button class=”btn btn-success”>Get Started</button>
      <button class=”btn btn-danger”>Get Started</button>
      <button class=”btn btn-warning”>Get Started</button>
      <button class=”btn btn-info”>Get Started</button>
      <button class=”btn btn-light”>Get Started</button>
      <button class=”btn btn-dark”>Get Started</button>

      Bootstrap provides us with different types of buttons. One of them is outline buttons, which don’t have a background color.

      <button class=”btn btn-outline-primary”>Get Started</button>
      <button class=”btn btn-outline-secondary”>Get Started</button>
      <button class=”btn btn-outline-success”>Get Started</button>
      <button class=”btn btn-outline-danger”>Get Started</button>
      <button class=”btn btn-outline-warning”>Get Started</button>
      <button class=”btn btn-outline-info”>Get Started</button>
      <button class=”btn btn-outline-light”>Get Started</button>
      <button class=”btn btn-outline-dark”>Get Started</button>

      Note: By default, Bootstrap class name btn has no background color.

       Text colors: To apply different colors to the text, Bootstrap has the following class names.

      <p class=”text-primary”>Tourism</p>
      <p class=”text-secondary”>Tourism</p>
      <p class=”text-success”>Tourism</p>
      <p class=”text-danger”>Tourism</p>
      <p class=”text-warning”>Tourism</p>
      <p class=”text-info”>Tourism</p>
      <p class=”text-light”>Tourism</p>
      <p class=”text-dark”>Tourism</p>

      Text transform: To apply different cases like upper case, lower case, etc. to the text, Bootstrap has the following class names:

      <p class=”text-uppercase”>Plan your TRIP.</p>
      <p class=”text-capitalize”>plan your trip.</p>
      <p class=”text-lowercase”>PLAN your TRIP.</p>

      Background colors: To apply different background colors to an HTML element, Bootstrap has the following class names:

      <div class=”bg-primary”><p>Tourism</p></div>
      <div class=”bg-secondary”><p>Tourism</p></div>
      <div class=”bg-success”><p>Tourism</p></div>
      <div class=”bg-danger”><p>Tourism</p></div>
      <div class=”bg-warning”><p>Tourism</p></div>
      <div class=”bg-info”><p>Tourism</p></div>
      <div class=”bg-light”><p>Tourism</p></div>
      <div class=”bg-dark”><p>Tourism</p></div>

      Bootstrap provides us with many predefined class names. Some of them are:

      • card
      • carousel
      • alert
      • alert-success
      • alert-link
      • bg-danger
      • card-body and many more…

      Warning: Using predefined bootstrap class names as a selector in our CSS Ruleset may give unexpected results.

      Flexbox Properties

      1. Flexbox Container

      The Bootstrap class name d-flex defines a Flexbox Container. The direct HTML elements in the Flexbox Container are called flex items.

      <div class=”d-flex”>
      <div>
      <h1>Tourism</h1>
      <p>Plan your trip.</p>
      <button>Get Started</button>
      </div>
      </div>

      • The HTML container element with the class=”d-flex” is a Flexbox Container.
      • The HTML container element div in Flexbox Container is a flex item. Because it is directly inside the Flexbox Container.
      • The HTML main heading, paragraph, and button elements are not flex items. Because these elements are not directly inside the Flexbox Container.

      Note: Wrapping HTML elements in the Flexbox Container is mandatory to apply other flex properties.

      Flex Direction

      The Flex Direction specifies the direction of the flex items in the Flexbox Container.

      Class Name Direction of the flex items in a Flexbox Container
      flex-row Horizontal
      flex-column Vertical

       flex-row

      The Bootstrap class name flex-row is used to move the flex items horizontally in the Flexbox Container.

      <div class=”d-flex flex-column”>
      <div>
      <h1>Tourism</h1>
      <p>Plan your trip.</p>
      <button>Get Started</button>
      </div>
      </div>

      flex-column

      The Bootstrap class name flex-column is used to move the flex items vertically in the Flexbox Container.

      Note: The Bootstrap class name flex-row is the default Flex Direction for the Flexbox Container. So, once d-flex is specified, all the flex items in the Flexbox Container display horizontally.

      Justify Content

      The Justify Content specifies the alignment of flex items along the Flex Direction in a Flexbox Container.

       justify-content-start

      The Bootstrap class name

      justify-content-start

      is used to align the flex items at the start of the Flexbox Container either horizontally or vertically based on the Flex Direction.

      Flex Direction Alignment of flex items in a Flexbox Container
      flex-row Align flex items horizontally to the left
      flex-column Align flex items vertically to the top
      • 1
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Sidebar

    Ask A Question

    More Questions

    • arunraj503

      How to Add, Install SSL Certificate to Your Website

    • EmmaScott

      What are some key considerations when designing a logo for

    • dynamicapps5

      Image Gallery With Animations Using HTML And CSS Code

    • SEO_BRISK

      What part does content play in SEO, and what impact

    • sita

      How to add scrolling text in Blogger

    • Mia_Mia

      Direction

    • nora khan

      how are sitemaps important for the seo process

    • shree

      How to choose color combinations for website

    Stats

    • Questions 1,996
    • Answers 2,102
    • Posts 12
    • Best Answers 73

    Related Questions

    • arunraj503

      How to Add, Install SSL Certificate to Your Website

    • EmmaScott

      What are some key considerations when designing a logo for a company

    • dynamicapps5

      Image Gallery With Animations Using HTML And CSS Code

    • SEO_BRISK

      What part does content play in SEO, and what impact does it

    • sita

      How to add scrolling text in Blogger

    • Mia_Mia

      Direction

    • nora khan

      how are sitemaps important for the seo process

    • shree

      How to choose color combinations for website

    Explore

    • Home
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • Tags
    • Badges
    • Users
    • Help

    Footer

    Recent Comments

    • muller on how to solve export problem in kinemaster
    • muller on how to solve export problem in kinemaster
    • muller on how to solve export problem in kinemaster
    • AaronBlackburn on why can’t i find my message requests on instagram
    • shree on How to use philips citrus press juicer 25 watts Demo
    Ask A Question

    Archives

    Tags

    laptop buying guide (1) limit google news notifications (1) printer buying guide (1) stop google news notifications (1) turn off google news notifications (1)

    Social media

    © 2023 @ Techanswered.com.
    Terms, Privacy policy & Sitemap.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.