Note: Due to the new characteristics of CSS3 more, so divided into two articles blog description. The first chapter includes new selectors, text and block shadows, multi-background graphs, color gradients, rounded corners, and more. The second
NetEase front-end micro-professional courses, there is a homework is to achieve a 3D rotating cube, took a little time to do the next, but also a little meaning, write a simple tutorial for everyone to learn. Let's put the effect on the end to
Constantly updated in
Preview
This is a perfect CSS file, is the original component based on the label attributes are done to beautify, datepicker,select, etc. can not be implemented with CSS temporarily not considered in this article.
Directory
padding
padding
Background and border the first part
Background and Border Part II
Shape
Visual effects
Font typography
User Experience
Structure and layout
Transitions and animations
SOURCE download
One,
pseudo-classes and pseudo-elements are independent of the document structure. The way they get the elements is not based on the element characteristics of the ID, class, attribute, but on the element that is in a special state (pseudo-Class), or the
Css Sprite as a front-end personnel must be mastered, but this for the students just learning is difficult, below I specifically for this content to do a share, there is no network image address, if the content display is not comprehensive you can
The role of zoom:1 in CSSCompatible with IE6, IE7, IE8 Browser, often encounter some problems, you can use the zoom:1 to solve, has the following role:Trigger the haslayout of IE browserSolve the floating, margin overlap and other problems under
Self-taught to do a self-consciously simple look at the navigation bar of the small style, with some CSS3 properties. Very simple to look at a navigation bar, like friends can look.
First on the code HTML :
hahaha roar Hey hehe Quack -->
CSS
The concept of pseudo-class and pseudo-elements in CSS is easy to confuse
Let's talk about the difference between pseudo-class and pseudo-elements today.
Defined
First look at the definition of pseudo-class and pseudo-elementsThat's how they
This article is mainly for you to introduce the use of CSS3 to achieve a dream code, with a certain reference value, interested in small partners can refer to
document & Lt;p class= "Whiskers" >
1.css margin can change the size of the container
Element size
Viewable dimensions-the width of the box in the standard box model does not include the margin value, clientwidth
Occupy size-including margin width outwidth is not in the standard,
The CSS hack to distinguish different browsers:
Difference between IE6 and FF:
Backgroundrange;*blue;
Difference between IE6 and IE7:
Background:green!important;blue;
Difference between IE7 and FF:
Backgroundrange; *background:green;
This article is mainly for you in detail the CSS set page navigation bar related information, the need for friends can refer to the following
HTML page: FreeBSD Home Wind and Rain Floating
CSS files:/***
Use the CSS3 code to make 3D button effect, this is a series of 3D button production effect, the production method is old-fashioned (million change from it), but the color of the tune is very good, because many effects in PS production is easy,
What I was saying was that both can implement the hidden element, but the element is set to Display:none, and then the document flow space occupied before the element is canceled, but Visibility:hidden, so that the element will still occupy space
Brief tutorials
This is a drop-down menu effect with an underlined follow effect made with pure CSS3. The drop-down menu uses CSS3 transform and transition to create an underscore follow effect and drop-down menu effect.
How to use
HTML
The "Front" side has a pitfall and detour (1) -- H5 + CSS, h5css
1. No line breaks for numbers and English;
Scenario: I tested the applet yesterday. I entered English and there was no line break. There was a horizontal scroll bar below it;
The most comprehensive method for horizontal vertical center of elements and the most comprehensive method for vertical center of Elements1. Horizontal Center 1.1 known width block element width:
.child{width:1000px;margin:0 auto;}1.2 text content
Various effects: horizontal center or vertical center, and horizontal center and vertical
(1) horizontal center row element: text-align: center;
(2) When the set element is a block element, text-align: center does not work. In this case, it is
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