CSS
I've seen a lot of people ask this question all the time, but I did not when the same thing, because in the CSS to the vertical center, mostly in the case of height, or the container is highly variable under the circumstances to use, looks more
css| Specification | A normalized web developer can identify the divs and other formatted page elements by creating CSS classes and ID names and using those names. For developers, when naming CSS selectors for redefining XHTML tags (tags), you must
css| Syntax
1, display
function : Changes the display value of the element, you can change the element type line, block and list item to each other.value :None-Element not displayedBlock-blocks display, setting line breaks before and after
css| Display
One of the toughest situations that web builders have to contend with is that the same CSS code is interpreted differently by different browsers to produce different effects. In the past, different browsers generated extremely
Dry is donot repeat youself do not repeat. But in fact the name is a bit boring, which theory is not to eliminate duplication, but how to eliminate the meaning lies. Overall I think Drycss and Oocss are two extremes, so I'll talk about drycss in a
The example in this article describes how the CSS implementation aligns the same line of text and input boxes. Share to everyone for your reference. The specific analysis is as follows:
We all know that sometimes a text input box and a piece of
1. Want to how are in your space is valid: need to add word-spacing:20px;
2. After the width of the fixed div, the text inside whether want to overflow or hide: need to set text-overflow:ellipsis;overflow:hidden; Text-overflow:ellipsis;
Map label
Defines a client-side image map. An image map (Image-map) refers to an image with a clickable region.
The area element is always nested inside the map element. An AREA element defines a region in an image map.
The Usemap attribute in
This idea is found on a foreign website, the designers used a lot of small icons in the site, but did not use css-sprite technology, but the use of another special method. That's CSS3 's font-face technology. Loads a font file of your own, calling
1, the UL label in Mozilla Default is to have padding value, and in IE only margin have value.
2, the same class selector can appear repeatedly in one document, but only once for the ID selector, and for a label using both class and ID for CSS
You should understand why I'm talking about this, choosing the right and meaningful elements to describe your content, and making sure that you choose a semantically-rich class class and ID eigenvalue. Doing the right thing will make your life a lot
a few days in the three columns with CSS layout of the sudden thought of such a method, the idea of their own feel a little crazy, if there is anything wrong in the place please you feel free.
When you need to write a three-column layout, I
CSS for some special effects to prepare a specific tool, we call it "pseudo class." There are a few of them that we often use, and we'll go into the details of the four pseudo classes that are often used to define the link style, respectively:The
If you are a webmaster, you must want to enhance their website portability, and code simple, clean, now all the sites, 80% are using DIV+CSS to frame.
Perhaps everyone will write, or use CSS, but many times we may not consider, resulting in code
This article is for learning notes, part of which is excerpted from Mr. Xiaofeng's "CSS Design Guide" book
CSS Rules
A CSS rule is actually a CSS instruction that first selects the HTML element and then sets the style of the selected element.
The css| filter Gray property turns a picture into a grayscale image. Its expression is simple:
Filter:gray
In fact, there's nothing to say about this, just add a code to the IMG style you've defined:
{Filter:gray} It's all OK.The following two
css| Tips
13. Clear Floating
A very common CSS problem, when positioning using a float, the layer below is covered by the floating layer, or the layer nesting of the child layer beyond the outer range.
The usual solution is to add an extra element
css| Menu
Simple hidden Vertical Menu expands content when hover. This effect in JS has many versions, but this can be said to be a unique version of the CSS. This menu can be displayed normally in IE5.5,IE6,IE7,FF,OPERA,NS8 as well as MacFF1.5 and
This article mainly introduces the front-end Coding Specification (4)--css and Sass (SCSS) Development specifications, the need for friends can refer to the following
ID and class namingThe ID and Class (class) names always use names that can
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