Introduction to CSS
1, CSS Overview and role
Css:cascading style Sheets) is a cascading style sheet used to define the display of a Web page. It can solve the duplication of style definition in HTML code, improve the maintainability of later style
Gulp is an automated tool that front-end developers can use to handle common tasks:
1. Build a Web server
2. Automatically reload browser when file is saved
3, using the preprocessor such as sass, less
4, optimize resources, such as compression CSS,
1. Three ways to use CSS style sheets in HTML:
(1) inline style sheet.
Eg:LIN
(2) embedded style sheet.
That is, the tag embedded in the
When these properties conflict with CSS rules, they are always overwritten by CSS rules.
4. Use in rules!
solve the problem without regard to compatibility, the topic of unrestrained, think of what to say, if there is a problem you feel the unusual CSSProperty
, hurry up and cram it.
Constantly updated, constantly updated, constantly updated,
Introduction to Boundary overlays
Boundary overlay is a fairly simple concept. However, when you lay out a Web page in practice, it creates a lot of confusion. Simply put, when two vertical boundaries meet, they form a boundary. The height of this
CSS3 http://www.php.cn/html5/html5-4-mip-animate.html "target=" _blank "> Animation
In CSS3, you can create complex animation sequences by animation, like the Transition property, which controls the properties of CSS to animate.The animation effect
CSS often use clearfix clear floating, the author listed a few clearfix different ways of using the comparison, the need for friends can refer to the following CSS Clearfix clear floating method.(Why does the CSS need to clear floating (float)?)
Clear floating
Box height problem
Height of the content in the standard stream can prop up the height of the box
The height of the content of the floating element in the floating stream can not hold up the height of the box
Clear
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
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" >
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 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
background:#eeefff;background:#eeefff;This is a CSS3 based on the shutter focus diagram animation, a total of 4 different shutter animation style, each one seems very simple, but it is quite practical. More notable is the plug-in offers 4 different
1. Use global reset
The default properties for different browser elements vary, using reset to reset some of the default properties of the browser element to achieve browser compatibility. It is important to note, however, that you do not use global
CSS3 has the following three animation features:
1. Transition (excessive attribute)2, Animation (animation properties)3, Transform (2d/3d conversion properties)
Here is a description of my understanding:
1. transition:
such as-webkit-transition:
CSS3 -- complex selector and css3 Selector
Today, we have finished reading the CSS3 complex selector in the video to sort out the learned knowledge points.
1. sibling selector: a sibling element at the same position
A. Adjacent sibling selector:
[Little Demo] dual switch between the left and right buttons tab and demotab
The previous article explains how to switch from a simple Tab to a Tab image.
1. switch between the left and right buttons on the tab
Obviously, the left and right
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
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