First, we need to set up the following code when using media to be compatible with the display of mobile devices:
Prepare for Work 1: Set META tags
Several parameters of this code are explained:
width = device-width: Widths equal to the
This article uses the CSS3 3D rotation Rotate Effect Example Introduction, has the certain reference value, the interested small partner may refer to
In this paper, we share the example of CSS3 3D rotating rotate effect, for your reference, the
I. Source of the problem
When you write your own carousel diagram, the previous picture slides and then appears blank until the previous picture is all slid out and the second picture appears. Just beginning to appear problems to search online
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
How to use less and some common (variables, mixes, matches, operations, nesting)
Less introduction and compilation tools
What is less
1.LESSCSS is a dynamic style language, which is a kind of CSS preprocessing language, it uses CSS-like syntax, for
1. style sheet Cascading Style Sheet
CSS Benefits:
Separation of content from performance
Web page performance is unified, easy to modify
Rich styling to make Web page layouts more flexible
Reduce the amount of Web page code,
Let's start with a simple example, for example:
@keyframes Hovertreemove{from {top:30px;}to {top:130px;}}Effect:Http://hovertree.com/texiao/css3/37/1.htm
You can create animations by @keyframes rules.
The animation is created by gradually changing
This article details CSS3 background-related style instance code
Background-image to draw multiple picture overlays, examples are as follows:
Background-image Draw multiple Images overlay
Background-clip: The drawing area of the
When it comes to floating, let's talk about two special phenomena of the margin attribute in CSS.
1, the merger phenomenon of the margin:
If two P is sorted up and down, to the above one P set Margin-bottom, to the following one P set Margin-top,
Border usage:
1. Border-width property sets the width of the border
Possible values: pixels
2. The Border-style property sets the style of the border
Possible values: solid (straight line), dashed (dashed), dotted (dotted line)
2. Border-color
This article details the border-image properties of CSS Styles
Border-image-source property sets the path of the picture for the border [none | ]
p { border:20px solid #000; Border-image-source:url (border.png);}
Border-image-slice Property
There is such a WebKit private property:
-webkit-appearance:none; /* Remove input Default style */
When you add the style and the value is ' none ', you can cancel the browser's default style for the control.
This property also has a magical place ~
This article describes the use of CSS to draw an example of a Taiji figure (yin and yang gossip)
#yin-yang {width:96px;height:48px;background: #eee; border-color:red;border-style:solid;border-width:2px 2px 50px 2px;border-radius:100%;p
One, the code
11 22 33
Second, the preview effectFor example, IE9 and above background color can displayProblem: For example, IE8 background color is not displayed.Third, the solution
11 22 33
Iv. CSS Other
As IE8 gradually exits the stage, many advanced CSS features have been natively supported by the browser and will not be obsolete.
Use: EmptyDistinguishing between empty elements
Compatibility: IE8 not supported
DemoIf we have the above list:abWe
Today Xiao Ying to everyone to share a love with CSS painting, the bottom of the code and production process, I hope to help you.The first step:Draw a square first.
css Painting Hearts
Step Two:will take advantage of
The difference between Nth-child and Nth-of-type in CSS3 is actually very simple:: Nth-of-type Why to call: Nth-of-type? Because it is differentiated by "type". That is, Ele:nth-of-type (n) refers to the nth ele element under the parent element,
Derived selectors you can make the markup more concise by defining the style based on the context in which the element is located. In CSS1, selectors that apply rules in this way are called context selectors (contextual selectors), because they rely
This article mainly introduces the use of CSS3 to achieve the ever-changing text shadow Text-shadow effect design related materials, interested in the small partners can refer to
The example of this paper is to share the CSS3 of the ever-changing
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.