Table of Contents
SIZE
Home Web Front-end HTML Tutorial What are Bootstrap swales?

What are Bootstrap swales?

Jul 19, 2017 pm 05:17 PM
bootstrap

Well: The effect of the style is similar to the large-screen display Jumbotron style. The difference is that the well style has a border setting, and the default height is the height of the adaptive text.

Sample code:

1

<div class="well">   <p> sorry I have no word to say</p>   <blockquote>this is a 引用内容</blockquote></div>

Copy after login

This is a lightweight, flexible component that can extend to the entire browser viewport to display key content on the website. This article will introduce the Bootstrap depression in detail

Overview

The effect of the Well style is similar to the jumbotron style. The difference is that the well style has a border. setting, and the default height is the height of the adaptive text. By using Well on an element, you can have a simple effect of inset

The method of using the Well style is very simple, just use the .well class

1

2

.well {min-height: 20px;padding: 19px;margin-bottom: 20px;background-color: #f5f5f5;border: 1px solid #e3e3e3;border-radius: 4px;-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);box-shadow: inset 0 1px 1px rgba(0,0,0,.05);

}

Copy after login

1

<div class="well">小火柴的蓝色理想</div>

Copy after login

SIZE

The well style provides styles of different sizes, mainly padding and rounded corner sizes, which are well-lg and well-sm respectively. When used, just apply it directly to the same element together with well

1

2

3

.well-lg {padding: 24px;border-radius: 6px;

}.well-sm {padding: 9px;border-radius: 3px;

}

Copy after login

1

&lt;div class=&quot;well&quot;&gt;小火柴的蓝色理想&lt;/div&gt;<div class="well well-lg">小火柴的蓝色理想</div><div class="well well-sm">小火柴的蓝色理想</div>

Copy after login


The above is the detailed content of What are Bootstrap swales?. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to introduce bootstrap into Eclipse How to introduce bootstrap into Eclipse Apr 05, 2024 am 02:30 AM

How to introduce bootstrap into Eclipse

How to introduce idea into bootstrap How to introduce idea into bootstrap Apr 05, 2024 am 02:33 AM

How to introduce idea into bootstrap

750,000 rounds of one-on-one battle between large models, GPT-4 won the championship, and Llama 3 ranked fifth 750,000 rounds of one-on-one battle between large models, GPT-4 won the championship, and Llama 3 ranked fifth Apr 23, 2024 pm 03:28 PM

750,000 rounds of one-on-one battle between large models, GPT-4 won the championship, and Llama 3 ranked fifth

How to read the bootstrap mediation effect test results in stata How to read the bootstrap mediation effect test results in stata Apr 05, 2024 am 01:48 AM

How to read the bootstrap mediation effect test results in stata

What is the difference between bootstrap and springboot What is the difference between bootstrap and springboot Apr 05, 2024 am 04:00 AM

What is the difference between bootstrap and springboot

How to use bootstrap to test mediation effects How to use bootstrap to test mediation effects Apr 05, 2024 am 03:57 AM

How to use bootstrap to test mediation effects

How to read the results of bootstrap mediation test How to read the results of bootstrap mediation test Apr 05, 2024 am 03:30 AM

How to read the results of bootstrap mediation test

How to export the results of bootstrap test mediation effect stata command How to export the results of bootstrap test mediation effect stata command Apr 05, 2024 am 03:39 AM

How to export the results of bootstrap test mediation effect stata command

See all articles