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
  • 488
  • 0
  • 0
Answer
Share
  • Facebook

    Related Questions

    • Direction
    • how are sitemaps important for the seo process
    • How to choose color combinations for website
    • React native vs flutter, which is best to use in development
    • How to fix html servlet error java.io.ioexception broken pipe
    • What is CSS Box model and what are its elements?
    • How to I use hidden class in bootstrap 4? With example program

    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

    Related Questions

      • Answers: 3

      Direction

      Hi, I did 300 hours responsive web design and applied for jobs. I was hired by company who is just starting so it is all in its infancy. My boss came to me and said that he wants me to develop a

      • Answer: 1

      how are sitemaps important for the seo process

      I started my own website and when I research about SEO on Google, many are suggesting to keep a site map. how are sitemaps important for the seo process? Are sitemaps  mandatory for website growth in SEO? How important are the

      • Answers: 0

      How to choose color combinations for website

      I want to develop of my own website. What are the best and attractive colour combinations to use for my website? The colour combinations which are used on the website should be not disturbing for the users eye point of you.

      • Answer: 1

      React native vs flutter, which is best to use in

      I got a client project for a website development and Android and IOS app, I am really confused to choose the framework should I go with react JS or flutter? React JS vs flutter which one is good to use for

      • Answers: 0

      How to fix html servlet error java.io.ioexception broken pipe

      I am doing servlet program using HTML, I encountered a servlet issue like, html servlet error java.io.ioexception broken pipe? How to fix html servlet error java.io.ioexception broken pipe?

    Stats

    • Questions 1,898
    • Answers 1,978
    • Posts 8
    • Best Answers 71

    Recent Questions

      • Answers: 2

      tvs raider vs honda sp 125 which is better compare

      I have plans to purchase a bike for myself. I am looking forward to buy

      • Answer: 1

      tata sky vs airtel vs dish tv vs sun direct

      I bought a new TV and I want to have a new dish TV connection.

      • Answers: 2

      Volume is not coming on Star sports 1 HD channel

      On Tata sky HD there is a new channel for Star sports 1 HD. It

      • Answer: 1

      Why can't I share a Snapchat story?

      I try to post Snapchat story on my Snapchat account and I couldn't do it.

      • Answer: 1

      legrand vs havells vs anchor vs goldmedal which switches are

      We are constructing our own house and I am looking for the best brand in

    Explore

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

    Footer

    Recent Comments

    • Tarun on tvs raider vs honda sp 125 which is better compare sp 125 vs TVS raider
    • shree on tvs raider vs honda sp 125 which is better compare sp 125 vs TVS raider
    • Rajesj on tata sky vs airtel vs dish tv vs sun direct
    • Ramul raj on Volume is not coming on Star sports 1 HD channel on Tata sky how to fix
    • Dinesh on Volume is not coming on Star sports 1 HD channel on Tata sky how to fix
    Ask A Question

    Archives

    Tags

    android 11 release date (1) Google News App (1) if x+y+z=0 show that x3+y3+z3 is equal to (1) if x+y+z=0 show that x3+y3+z3=3xyz (1) if x+y+z=0 show that x3+y3+z3=3xyz solution (1)

    Social media

    © 2021 @ 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.