CSS3 is an upgraded version of CSS technology, and CSS3 language development is evolving towards modularity. The previous specification was too large and complex to be a module, so it was broken down into smaller modules, and more new modules were
CSS3 is an upgraded version of CSS technology, and CSS3 language development is evolving towards modularity. The previous specification was too large and complex to be a module, so it was broken down into smaller modules, and more new modules were
CSS is a computer language used to represent file styles such as HTML (an application of the standard Universal Markup Language) or XML (a subset of the standard Universal Markup Language). CSS can not only statically modify the Web page, but also
We all know that CSS is a cascading style sheet (full name: Cascading style Sheets), a computer language used to represent file styles such as HTML (an application of the standard Universal Markup Language) or XML (a subset of the standard Universal
This is a simple question about the compatibility of our common gradients in various browsers.
Our familiar browsers are chrome, Firefox, Opera, Safari, and IE series. The most basic background: #cccccc属性表示页面呈现 #cccccc color, of course, this is
label, wildcard selector
Tag Selector 111 14 period Martial
Class Selector
Document G o o g l e
Composite selector: Intersection selector
Selector + selector (no spaces in the middle)
The overflow property specifies what happens when the content overflows the element box
①visible the default value. The content is not trimmed and is rendered outside the element box.②hidden content is trimmed, and the rest is not visible.③scroll
First, row height (line-height) method
If you want to vertically center only one line or a few words, it is the most simple to make, as long as the line height of the text and the container is the same height, such as:
p {height:30px; line-height:30
Characteristics:
absoulte and float have the same characteristics: enveloping, and destructive absoulte and float can be used interchangeablyabsoulte positioning not restricted by relative , behavior can not use attributes such as Left/right/top/
1.TD occupy multiple rows/columns, its extruded TD does not write (but package TD tr to write)
2. Text in DISPLAY:TD elements is not centered vertically by default (text in TD in Table is centered vertically)
3.th Although header headers are
: The use of hover, that is, when the mouse pointer moves into the element, the style settings that are made
Example One
demo01
The above situation exists when the mouse pointer moves into the element
Talk about the characteristics of yourself :
Left, right, top, and bottom are positioned relative to their position
When left, right and left are in effect
When top and bottom are present, top is in effect
No intrusion, retains the
: The use of hover, that is, when the mouse pointer moves into the element, the style settings that are made
Example One
demo01
The above situation exists when the mouse pointer moves into the element by:
These days the company needs to update a mobile Web page, because the task is simple, I will be given as a rookie newcomer to do. The first contact with CSS was in 14 when I was a freshman in the same time with HTML learning, and then never
Calc () calculates the CSS attribute value. calc calculates the css attribute value.
Calc () is a new feature of css3 to specify the length of an element. For example, you can use calc () to set dynamic values for attributes such as border, margin,
From scratch to proficient frontend learning routes, proficient frontend routes
With the development of the Internet, front-end development engineers have become very popular talents in the market. Many students, including those who previously made
Small programs that cannot afford to hurt, believe in small programs
Some time ago I was not very busy, but the company needed to develop a small program, so I entered the trap (this trap is still a bit deep, please prepare dry food ).
I am an iOS
Web Front-end: 11 principles that keep your code clean, web Front-end 11
Writing a Web page is like building a house. The house won't fall if the foundation is solid. Similarly, we make the same Web page. A good HTML structure is the beginning of
"Gradient" compatibility solution in css3, css3 gradient
This is a simple question about the compatibility of our common gradient in various browsers.Our well-known browsers include Chrome, Firefox, Opera, Safari, and ie series. The most basic
Css: Use of the focus pseudo class, And cssfocus pseudo class
In css: Use of the focus pseudo class, that is, set the style for the element that has obtained the focusExample 1
:focus
The above uses focus to set the style when the
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