This article mainly for you in detail the CSS basic style list, with a certain reference value, interested in small partners can refer to
CSS List properties allow you to place, change, or label an image as a list item
Second, the attribute
List-
This article is mainly for everyone in-depth analysis of CSS basic style comprehensive design: Table of the details of the production of relevant information, with a certain reference value, interested in small partners can refer to
name year
Recently, when learning fonts with font size settings, font-size units can be px or em or REM, so what is the difference between these units, how to use it?
PX is the basic sampling unit of a pixel image, relative to the screen resolution of the
In the development of the project, we often encounter the need to change the input radio and multi-select style, today we will introduce a simple change input and multi-select style method.
Before that, let's briefly introduce: before Pseudo-class
:
First, Clear:both;
There is a problem with this approach: margin fails.
Second, partition method
/* Wall */
cl{ clear:both; } . hl{ height:16px; }
The evolution of the "inner wall Method"
Implementation of the center of the scheme there are many, here is the introduction of pure CSS using absolute with the margin scheme.
1. P Width and Height fixing
Width:400px;height:200px;position:absolute;top:50%;left:50%;margin-top:
This article mainly describes the CSS3 in the use of RGBA to adjust the transparency of the tutorial, Rgba is an extension of the RGB color model, the acronym represents the first letter of the red, green and blue primaries, the alpha value
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,
problem-solving does not consider compatibility, the topic of unrestrained, think of what to say, if you feel the problem in the CSS properties of the rare, hurriedly to cram it.
Constantly updated, constantly updated, constantly updated,
This article mainly introduces the use of
CSS to set a translucent element of the relevant data, very good, with reference value, need to refer to a friend
. opacity{ Filter:alpha (opacity=50); /* IE */ -moz-opacity:0.5; /*
Considering the development of a future responsive design, if you want, the height of the browser can also be adjusted based on the percentage value. However, using a percentage-based value is not always the best way to define the size of the
CSS Control div fixed at bottom of browser
Note: This feature is only used for pages with a small page height.
The code is as follows:
bottom
Find a better one on the Internet:
When the browser window is zoomed out infinitely, dragging the scroll
First, see the following example:
(1) HTML part content
Revenge moments Moreau asked Bourg to bring the child Danny to the shrine to avoid the Devil's capture of his soul, in return for the curse he would
The difference between margin and padding:
When we think of a Web page as a wall, the content of the page can always be summed up by a box,
By taking out a box alone, you will find four parts: margin, border, padding, and content.
is the red line
The hierarchy relationship is:
:
To change the effect of the reference (Orange box)The hierarchy relationship is::
The reference is the top-level element case.The hierarchy relationship is::
Use only the Margin property layout to position
CSS font properties Define font family, size, bold, style, and warp for text
Second, the attribute
font-family Set Font family
Font-size Setting the font size
Font-style Setting font style
Font-variant display text in a small uppercase font or
CSS3 The application of gradient characteristics. can go to see a group of buttons, I only use CSS to create a complete gradient button (no need for pictures and JavaScript). These buttons can be scaled according to the size of the font. The size of
After a style is changed with animate, css control will be ineffective.
I wrote a movement on the mobile end a few days ago (the Code of this movement I pasted on this: http://www.cnblogs.com/weiman/p/6600380.html) and then found this problem, as
Difference between display and visibility: displayvisibilityVisibility hidden objects also reserve the physical space occupied by the objects displayed, while display does not. Vilibility: hidden (hidden), visible (display)> display: none (hidden),
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