Compatibility
Since it is the CSS3 attribute, we certainly have to look at compatibility: http://caniuse.com/css-reflections/embed
Next, let's see how box-reflect is used.
The syntax is as follows:
-webkit-box-reflect:none | ? ?
I. The restrictive effect of relative on absolute
1, limit left/top/right/bottom positioning. Absolute default is in the upper left corner, when the parent class is set to Relative,absolute is limited to the parent class's area, when setting
In the Learning Web servlet project, when doing a project, the completion of a certain phase of the implementation of some functions, it is necessary to save the project, when the project was copied to find that the conference error or not access.
I. Method citation sources and applications
This dynamically loaded CSS method Loadcss, stripped from Sea.js, and made further optimizations (optimization code will be analyzed later).Because the company project needs to use lazy loading to improve
lite list -+class.1 (1.0.1-1.0.6) text 1 "1". Text 1 "2". Text 1 "3". end. -+ NBSP;class.2 (2.0.1-2.0.5) text 2 "1". Text 2 "2". Text 2 "3". END.-+class.3 ( 3.0.1-3.0.5) text 3
Previous words
When we use certain behavior (click, move or scroll) to trigger the page to draw large area, the browser is often unprepared, only passively using the CPU to calculate and redraw, because there is no prior preparation, to cope with
People slowly realized that the traditional box model was not straightforward, so they added a new one called
box-sizingThe CSS property.
box-sizing: Box size, box model.
We often encounter the left and right module width of 50%, add a border will
For a quick page layout, you must have a clear understanding of the elements of the layout so that you do not always make mistakes in the details. This article first detailed the layout of the factors as the basis for the layout: block-level
CSS3 3d Case Summary
Recently into the pit Web animation, so the learning process to record their own share to everyone. I'm going to give you a better one lately.
1. Rotate the puzzle
First look at the effect
The code is mainly composed of HTML
Ashes level clear float
. clearfix:after { content: "."; Display:block; height:0; Clear:both; Visibility:hidden; Overflow:hidden; *zoom:1; Compatible with IE}
There is a gap problem between inline element connections
Cause:
0x00 min-content Width Adaptive
CSS3 New Width Property value Width:min-content can set the container's width value to the largest non-breaking width in the container (widest word, picture, or box element with a fixed width)
figure{
This article by default you've read my previous article p+css Picture List layout (i), let's implement a more complex picture list layout. Take the following style as an example
For convenience, I only list the layout examples for
Front-end transduction often encounter picture layout, beginners may be more unfamiliar. Next I will introduce two commonly used plans for graphs in the list of 3 rows and 3 columns:
Float layout
Display:inline-block layout
First, the
If the width of a box is zero, then its four border will come together, become solid, and each border is a triangle, we can use the triangle to achieve the sharp chin of the dialogue box.
By setting the border on the left to have color, the lower
Today, I write the CSS style, which used the tag, set a series of effects after the run, found that the location and settings are discrepancies. Open the check on Chrome and find the following paragraph in the label's styles bottom:
UL, menu,
In the front page of the website, sometimes some triangles are used, in addition to the way the image is used, the border property of the CSS can also make the corresponding triangles. So, how to make use of border to achieve the production of
attr () Exactly, should not be a property, but a function of CSS, let us first look at the introduction of the MDN:
Summary
The attr () CSS function is used to retrieve the value of a attribute of the selected element and use it in the style Shee T.
I believe everyone in the development of the project has encountered such requirements, a row of X (x>1) blocks and the spacing between adjacent blocks is the same.
This is probably the way it is, and here are some ways to do it.1. Negative
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