When using BOOTSTRAP3, the advantage is that there are many existing controls that can be used, and the downside is that personalization can be a lot of trouble,Separate static pages are normal, and when introduced Bootstrap, the styles of some classes/common interface components are overwritten.To remove the default style or customize the border style of the input box, you can use the following code:Input:
Solve the problem of setting border line feed in bootstrap row span, bootstrapborder
The graduation design of Hadoop has come to an end. In the past few days, I have been idle for a few days to seriously learn about Bootstrap, which is often used but is useless.This document describes how to use the raster System in the Boot
TitleBootstrap defines the style of all HTML headings (H1 to H6), which is no different from normal HTML. Take a look at the following example:
123456
Inline sub-captionIf you need to add an inline subtitle to any heading, simply add the . Small class, so you can get a lighter text with a smaller font size, as shown in the following example:
12345678
class="
Chinese women in India to increase the surge of South Tibet Chinese Women Display effect:EmphasizeThe default Accent label for HTML Bootstrap provides some classes for emphasizing text, as shown in the following example:class="Text-left"> Left align align class="Text-center"> Center aligned align class="Text-right"> Right align Align
Text text colorIf the text is a link, the text is dimmed when you move the mouse over the linked text. text-muted: Grey. Text-primary: Light Blue. Text-success: Green. Text-info: Dark blue. text-warning: Orange. Text-danger: RedText position. Text-left: Text left Justified. Text-center: Text Center alignment. text-right: Text right-alignedWrap text. text-justify: Text alignment, out of screen part text wrapping. TEXT-NOWRAP: Paragraph beyond the screen part does not wrapText case. text-lowercase
This article mainly and everybody introduced thinkphp frame page class and Bootstrap page (beautify), need friend can refer to, hope can help to everybody.
Bootstrap how to use the style here to write the link content
2. Related Controller code
All public function All_news () { $Article =m ("article"); $where [' Article_type ']=1; The total numbe
Solve Some css class conflicts between bootstrap and easyUI ., Bootstrapeasyui
Today, we found that the css classes of bootstrap and easyui have repeatedly used a very stupid solution. Such a trivial issue cannot be searched on the Internet.
I first reference bootstrap and then reference the easy UI.
HTML5 provides a new type for input: colorClicking will pop up the color to modify the popup, but cannot modify the color transparencyAfter clicking on the switch color, the effect is as followsThe style is ugly, it's actually a two-tier Div, and Chrome provides two pseudo-classes to control them.1 #color {Border: 0;} 2 ::-webkit-color-swatch-wrapper {Background-color:#ffffff;} 3 ::-webkit-color-swatch {position: relative;} 4 /* Description */5::-webk
Bootstrap common class name
BootstrapAssign a class name to a label(class name)To generate the effect tag of the corresponding class name.Grid options
row: Line
col-*-*: Column (First*Can beXs [Ultra small]/Sm [small]/Md [medium]/Lg [large]Second*Must be less than 12 [column
1. Contextual text colorFonts in various shadesPclass= "text-muted">Bootstrap Video TutorialP>Pclass= "Text-primary">Bootstrap Video TutorialP>Pclass= "Text-success">Bootstrap Video TutorialP>Pclass= "Text-info">Bootstrap Video TutorialP>Pclass= "Text-warning">Bootstrap Vide
Base class
. code to display single-line inline code. Pre to display multi-line block code. kbd to display user input code. pre-scrollable height exceeds 340px, scroll bar appears on Y axis
Form class
. table base table margin-bottom:20px, light gray solid line at thead bottom 2px, light gray solid line at the top of each cell. table-striped: Zebra table, interlaced with a light gray background color. ta
Original:bootstrapSome of the auxiliary classes that may come in handy in Bootstrap. textThe following different classes show different text colors. If the text is a link the mouse moves to the text that is dimmed:
class
Description
. text-muted
Text styles for the "text-muted" class
. text-prima
Bootstraprow
Cause:
The page is laid out using the Bootstrap raster system. The class col-xs-* has a 15px padding on the left and right. The class has an img element that you want to display on the top side, in this case, you need to add an additional style to the col-xs-* Class: padding: 0px;
If a row
In the Bootstrap grid system (source code) There is this paragraph,[class*= "Span"] { float:left; Margin-left: @gridGutterWidth;}To run with recess, you'll see a hint:Universal selectors should be avoided。 This can be said to be a selector problem, but also can be said to be a recess problem, but can be run at the time of adding a parameter ignored.When you write the extension yourself, you will write sim
Some of the auxiliary classes that may come in handy in Bootstrap. TextThe following different classes show different text colors. If the text is a link the mouse moves to the text that is dimmed:
class
Description
. text-muted
Text styles for the "text-muted" class
. text-primary
Text style
Cause:The page is laid out using the Bootstrap raster system. The Class col-xs-* has a 15px padding on the left and right. The class has an img element that you want to display on the top side, in this case, you need to add an additional style to the col-xs-* class: padding: 0px;If a row
Bootstrap class Parsing
Element
Bootstrap class
Definition
Container
Content container
Table
Table
Table-striped
Table with striped background
BTN
Button
BTN-success
Success button
Glyphicon
Font chart
Bootstrap class path not set in conjunction-Source 1.6
The bootstrap class path is not set with-source 1.6
Set red to 1.7
The bootstrap class path is not set with-source 1.6
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.