Bootstrap-images of global css styles,
I haven't updated my blog for a long time. I would like to share with you the little fun of life. As a programmer, It is very uncomfortable to work on computers all day long. Overtime is also common, so continuous work is not good for the body, and with the increase of age, the programmer's health will be getting worse and worse, or we suggest you exercise regularly, s
Bootflat is an open-source flat UI toolkit based on the Bootstrap 3.1.0 CSS framework. It provides an elegantWebApplications are faster, easier, and less repetitive tasks.
In addition, Bootflat provides designers with freePSDFile, which contains a set of beautiful components that you can use to create startup projects, websites, or mobile applications. Bootflat is compatible with the following browsers: IE
Bootstrap can be completely friendly support HTML5 text element, here no longer repeat, specific can refer to my other article "HTML text element Summary", here is mainly for bootstrap packaged CSS text style to do a summary.. small--the current element font size of 85%, often used as a subtitle, can also be used . lead--let the paragraph be highlighted;. Text-le
Examples of BootStrap image styles, helper styles, and CSS components are described in detail,
First, add the template code:
Image Style
. Img-responsive: add this style directly to the image to implement a responsive image.
. Center-block: The image center style, but not the text-center style.
Image shape:. img-rounded (rounded image),. img-circle (circular image),. img-thumbnail (border rounded corner)
Bootstrap can completely friendly support HTML5 text element, here no longer repeat, detailed can refer to I also have an article "HTML text element Summary", here is mainly for bootstrap packaged CSS text style to do a summary.. small--the current element font size of 85%, often used as a subtitle, also can use . lead--let the paragraph be highlighted;. Text-lef
> Li>ahref="#">Promotionsa>Li> Li>ahref="#">Updatesa>Li>ul> 2.3Pills (different parts of the show site, similar to the Google search results page)ulclass= "Nav nav-pills"> Li>ahref="#">Primarya>Li> Liclass= "Active">ahref="#">Sociala>Li> Li>ahref="#">Promotionsa>Li> Li>ahref="#">Updatesa>Li>ul> 2.4.jumbotron (show Big Case Showcase, similar to Google Mobile)class= "Jumbotron"> H1> Find a place to stay. H1 > P > Rent from people on over 34,000 cities and 192 countries.
Identify warnings or require user attention
.danger
Identification of dangerous or potential adverse effects of action
Page outBaidu or Google page bottom of the 12345 ...
«
1
2
3
4
5
»
Code:There are a lot of points to note, this site is not used. Need to go to the official website to inquire.About remembering to remember the question of livingMany people ask me, what if I can't remember the code? In fact, these do not h
grid system, so there is no need to add additional .row .
Codeclass="Form-horizontal"> class="Form-group"> for="InputEmail3"class="col-sm-2 Control-label">Emailclass="col-sm-10"> Email"class="Form-control"Id="InputEmail3"Placeholder="Email"> class="Form-group"> for="InputPassword3"class="col-sm-2 Control-label">Passwordclass="col-sm-10"> Password"class="Form-control"Id="InputPassword3"Placeholder="Password"> class="Form-group"> class="col-sm-offset-2 col-sm-10"> class="checkbox"> checkbox"> R
bootstrap-Global CSS style 1.bootstrap is a front-end frame 2. Basic Template: Viewport viewport can solve the mobile device Web-adaptive Problem 3. Alleys (. Container) Streaming alleys (. container-fluid) Width 100% (width of the viewer) 4. Grid system (a row is divided into 12 points, each column can occupy the corresponding score in the row, depending on the
The referenced bootstrap never come out, the static resources in the page cannot be loaded,The reason for reporting this error is because the configuration setting is not configured properly.I'll just add the following section to the back of the setting.Staticfiles_dirs = (Os.path.join (Base_dir, "static"),)(Be careful not to hit the wrong, I missed a staticfiles because of a long-day problem)Get/static/plugins/bo
Recently, when performing mobile phone effects, you need to scroll the page in the drop-down menu to prevent Page scrolling. So I studied the implementation principle of the bootstrap modal box. Implementation ideas:
1. A layer is required to cover the body and place it above the body.
2. Modify the overflow attribute value of the body to "hidden ".
I don't need to talk about it anymore. I have posted the key code, which is compatible with Firefox, G
There is a small bug when using the menu arrows (I have submitted the bug on GitHub, also got feedback, may be improved), Problem link https://github.com/yahoo/pure/issues/489#issuecomment-103159329The first time to report a bug to the foreigner get feedback very excited ha. Although I used Chinese, but the other side with Google to translate.Pure CSS simple components, for reference bootstrap
We started using the bootstrap CSS open-source project. If you encounter a problem, the default input width is too large and you need to find a smaller value.
In fact, you only need to select a smaller predefined width in the input tag. For example:
Input-smallis a predefined category. In the bootstrap.css file, there is a group of such categories:
. Input-mini {width: 60px ;}. input-small {width
. center-block
Set the element to Display:block and center the display
. clearfix
Clear floating
. Show
Force element Display
. Hidden
Force element hiding
. sr-only
In addition to screen readers, hidden elements on other devices
. sr-only-focusable
Used in conjunction with the. Sr-only class to display when an element gets focus (for example, a user with a keyboard operation)
. col-xs-*--grid column for mobile phones ();. col-sm-*--grid column for tablets (≥768px);. col-md-*--grid column for desktop displays (≥992px);. col-lg-*--grid column for large desktop displays (≥1200px);. col-md-offset-*--the right offset column;. col-md-push-*,. col-md-pull-*--change the sorting of columns; Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced. Bootstrap global
. form-control--assigns individual form controls to some global styles, such as the default width width:100%;. form-group--wrap the form controls to get the best arrangement;. form-inline--set the form as an inline form, only applicable to the viewport (viewport) at least 768px width;. sr-only--hides the label label;. help-block--used to set prompt text;. form-horizontal-- can layout label labels and control groups horizontally;. Radio-inline,. checkbox-inline--arranges the corresponding control
->The . Table-striped class can givetbody>The zebra stripe style is added to each line within.-table with borders->The . Table-bordered class adds a border to the table and each cell in it.-Mouse Hover->The . Table-hover class allowstbody>responds to the mouse hover state for each row in the-Condensed form->The . Table-condensed class can make the table more compact and the inner complement (padding) in the cell is halved.-Responsive form- > wrap any. Table element inside the. table-responsive
Picture Style. img-rounded: Add border-radius:6px to get a picture fillet. img-circle: Add border-radius:500px to turn the entire picture into a circle.Img-circle priority higher than img-rounded Body > src= "/wp-content/uploads/2014/06/download.png" class= "img-rounded" >src= "/wp-content/uploads/2014/06/download.png" class= "img-circle">body> Picture border. img-thumbnail: Add some padding (padding) and a gray border.src= "/wp-content/uploads/2014/06/download.png" class= " img-ro
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.