The use of CSS for the first line indentation, very convenient.
Wrap the content of the article with a P tag, and then add a style to the tag
Instance:
" > first paragraph second paragraph
then we'll add the style
to the CSS. . Context
UL Li background Small icon property settings generally have two kinds of situation: the definition in the UL and Li, these two definitions in what circumstances use, in the following gives a detailed introduction, often div+css layout of friends
The behavior of the NoWrap property in the TD element is related to the width property of the TD element. If the TD width is not set, the NoWrap property works, and vice versa. We can implement a newline by setting the Word-break:break-all for
This article describes the CSS+JS implementation of the click Text pop-up timer automatically closed div Layer Menu method. Share to everyone for your reference. The specific analysis is as follows:
Here with CSS+JS to achieve click Text after the
Designing and developing a website can be tiring sometimes because all the little things need to be taken into account, including all the tweaks and minor changes that can happen at any time, and so on.
So designers and developers are constantly
This article simply explains how to use CSS3 to implement a simple responsive layout:
CSS3 File:
*{margin:0px; padding:0px;}. heading,.container,.footing{margin:10px Auto;}. heading{height:100px; background-color:red;}.
Grammar:
WRITING-MODE:LR-TB | Tb-rl
/* Keyword value */ WRITING-MODE:HORIZONTAL-TB; /* Default value */ writing-mode:vertical-rl; WRITING-MODE:VERTICAL-LR; /* Global value-keyword inherit ie8+,initial and unset IE13 only support */
This article shares a detailed description of Css+div Common properties
Css
Wildcard Selector *{}
Tag Selector p{}
ID selector #ID {}
Class selector. class{}
A tag containing the selector p a{} p
Group selector p,p{} p tag and P label
Display Rules
CSS3 Media
Media type
The media type is a very useful property in CSS2. Media types allow you to specify different styles for different devices.A total of 10 media types are listed, such as tables:
value
Device Type
All
Recently, to imitate a page, one effect is that the three menu bar is deformed to X effect,
The effect is as follows:
Figure (1) Initial effect
Figure (2) mouse hover effect
Ideas:
three-Horizontal implementation: The traditional can be
bootstrap IE8 compatibility < Script src= "//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js" > Left Right
Additional respond.js files are still required for IE8 to support media queries.
1, the effect of the HTTP protocol (such
Today to do something, encountered this problem, Baidu after summing up the results.
First, you need to know the three properties of CSS.
Overflow:hidden; Out-of-text hiding
Text-overflow:ellipsis; Overflow with ellipsis display
White-space:nowrap;
This article describes the use of CSS3 layout properties in flex detail
The HTML code is as follows:
html css javascript html5 css3 jquery
The CSS code is as follows:
. ul_box{margin:0; padding:0; List-style:none;
@supports can be used to check if a CSS property is supported by the browser and can be controlled via JavaScript, here's a detailed explanation of how to use CSS's @supports markup to detect browser compatibility
CSS @supports tags are similar to
Writing-mode is often used to implement the vertical layout of the page text, here we take a systematic look at the CSS Writing-mode text layout properties using the method, including an example of an ancient poem to show Writing-mode vertical use
This article is mainly for you to introduce the CSS3 more than three kinds of examples of the relevant information, the need for friends can refer to the following
CSS3 multi-column Instance 1:
css3 column rules Note: The Column-count property is
(a) Commonly used font properties:
Font-weight: Attribute value 100-900 400 equals normal 700 equals bold, the larger the value, the thicker
Font-size: Font size, unit can be PX or%
Font-family: Font Family such as: Microsoft Ya Black
Font-style:
In many page production will be designed to highlight a triangle, below gives a compatible with a variety of browser design methods:
&L T;style type= "Text/css" >. corner-top{width:0px; height:0px;
Background-size IE8 compatibility, background-sizeie8
According to canius (http://caniuse.com/#search=background-size), background-size compatibility is IE9 and above, as shown in.
Instance code:
1 2 3 4 5 6 background-size compatibility
Center button, center button
When writing a page today, we found that text-align = "center" was written on the css page when the button was set to "center", but it didn't work, and the display attribute didn't work either, I tried to add a div to
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service