In Stu Nicholls .......
I have always used the path method to define a style, but I never thought of crossing the path: hover, and then the long path to: hover is an end point.
It is easy to understand without the JS drop-down. Click Display: none
CSS property: marker-offset
Marker-offset: auto | length; Value: Auto: default value. The browser automatically sets the padding length: The length value composed of floating-point numbers and unit identifiers. Can be negative.
Description: sets
The CSS definition is invalid under loose. DTD and xhtml1-transitional.dtd:
Body {SCROLLBAR-FACE-COLOR: # f2f2f2;SCROLLBAR-HIGHLIGHT-COLOR: # ffffff;SCROLLBAR-SHADOW-COLOR: #999999;SCROLLBAR-3DLIGHT-COLOR: #999999;SCROLLBAR-ARROW-COLOR:
2.1.2 adding blank edges
Adding blank edges is a simple concept. However, it may cause a lot of confusion when layout webpages in practice. Simply put, when two vertical blank edges meet, they form a blank edge. The height of the blank edge is
CSS hack is a special CSS definition technique that we use to ensure compatibility with various browsers. This is a list of CSS hack extracted from other countries. It shows the support of various browsers for CSS hack and is very helpful for us to
I found many methods on the Internet, some of which use Js. Here I use a simple CSS method, which is very practical.
untitled document
Link: normal status
Visited: After being accessed
Hover: When the
For a long time, I used 12px as the main font size of the website. 10px is too small,EyesIt is easy to get tired. Although 14px is easy to see, it damages the aesthetic of the page. Only 12px is perfect in aesthetic and visual acuity.
Who has
CSS compatibility with various browsers is already a common issue, and tutorials on the Internet are everywhere. The following content is not too novel. It is a personal summary and I hope it will be helpful for beginners.
I. CSS hack
Hack
1. Use iepngfix
Example: http://www.twinhelix.com/css/iepngfix/demo/
: Http://www.twinhelix.com/css/iepngfix/
Advantages: the entire page can automatically process the transparent background of the PNG-24, do not have to do another picture
For CSS layout, refer to the IF condition annotation of IE to use memo.
All except Ie can be recognized
all IE identifiable
only ie5.0 can recognize
only ie5.0 and ie5.5 can be recognized
both ie5.0 and ie5.0 can be recognized
only IE6
You may have mastered the basic CSS selectors such as ID, class, and background selector. But this is far from the whole of CSS. The following describes the 30 most commonly used selectors in CSS parsing for your system, including our biggest
Length in CSS
Absolute unit: almost no webpage
In inch 1In = 2.54
Cm 2 1 CM = 0.394in
Pt lb 1In = 72pt
PC Pica 1In = 6 PC
Relative unit: relatively common
Em 1em = font-size value of the corresponding font
Ex 1ex = the height of the lowercase x
Example 1: 1px table
Many people are keen on creating 1px tables, so they have invented a variety of methods that can be made flexibly with CSS. If you want to create a 1px
: Cookies
Reference content:
Usage
Save the above Code as styleswitch. js
Reference:
select the drop-down menu below to test the skin replacement effect.
css.css css1.css css2.css css3.css select a style sheet file
2: more
After a simple horizontal, vertical, and secondary menu, start the "Sliding Door" tour.
(I borrowed an image from Alibaba Cloud website)
The idea is to use unordered list ul for implementation.
new document AAA AAA
Recently, I have been asked how to use CSS flexibly. Indeed, this is a good phenomenon. Many people have gradually become accustomed to using CSS layout in an all-round way and try to separate presentation from content. However, in the process of
Http://www.51css.net/html_css/div_css/2516.html
This article describes common browser bugs, focusing on IE browser bugs, common CSS hack and CSS comments, reduce unnecessary troubles in daily Div CSS layout;This article is from www.51css.net.
Read
The difference between the two is actually a very old problem. However, many people confuse the pseudo-classes with the pseudo elements due to mistransmission of various types of networks and irresponsible books, and even many CSS veterans. I was
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