css| Access uses CSS to improve site accessibility
Author: BUILDER. COM Source: Www.BUILDER.COM type: Translation
Recently, I had to update an old website of one of my clients so that it could meet the accessibility standards. The idea of digging
Quasi-Modified selector (quasi-qualified selectors)
You should avoid overly modifying selectors, for example if you can write. nav{} try not to write ul.nav{}. Overly-modified selectors will affect performance, affect class reusability, and
Since 2008 Nicole Sullivan proposed object-oriented CSS (OOCSS) since. It becomes a leading modular system for organizing your CSS code in one way.
Oocss is different from other organization CSS code methods, such as SMACSS or BEM. Make your
Perhaps the best use of sprite tools, well, at least I used the best use.
First install Css-sprite, install here is very pit, wait for me to finally say.
The code is as follows:
NPM Install Css-sprite
I use gulp to build the front-end code, so I
Sometimes we need to center a child frame in a fixed-width container (for example, a Div, or other block-level element), and if there is only one child frame, we just need to add CSS attributes to the Margin:auto.
But if we want to center multiple
First of all, many years ago we used to clear the float like this.
CSS code copy content to clipboard
. clear{clear:both;line-height:0;}
It is now possible to see such code on many old sites, and it is quite violent and effective in solving
With the popularization of WEB2.0 standardized design concept, many large domestic portal sites have adopted DIV+CSS production methods, 52css.com also become a CSS Web page layout Technology Learning Pioneer site, from the actual application of the
When more than one style sheet is used, the stylesheet needs to scramble for control over a particular selector. In these cases, there is always the rule of the style sheet to gain control over. The following attributes will determine the results of
Most of our designers are still using a traditional form layout, a mix of performance and structure to build the site. Learning how to use XHTML+CSS requires a process that allows existing sites to conform to site standards and is unlikely to be one-
I believe many people have encountered in the design of custom scroll bar style, before I was trying to convince designers to accept the browser with the scroll bar style, but this can only circumvent or solve the problem, recently encountered in
In the content page of the website, I placed the 300*250 advertisement in the upper left corner, using the CSS floating This height value set to how much, according to the needs of the page to adjust themselves.
In fact, this is similar to using
In the CSS layout, you may sometimes encounter the body directly set the picture as a vertical page background horizontally tiled (tile from top to bottom), when the entire page regardless of whether the content of a full screen, the CSS background
CSS skills in everyone's memory a little bit of it, in this article is to introduce the classic classic, if you absolutely will not be classic, then please don't miss Ha
Delete a dashed box on a link
Copy Code code as follows:
a:active,
This article mainly introduces the CSS background color hollowing technology practical application and advanced related data, need friends can refer to the following
One, the background color hollow? What the hell?In fact, in 10, 3 years ago I
How to make input input box with IMG In the same line center, because often use, by default, input and IMG Put the same line, IMG tag is always higher than the input of a head, it is difficult to see, you can refer to this article may be helpful
Put
This CSS tutorial will teach you how to use CSS to create a beautiful dynamic button, called dynamic, refers to the default state and focus state when the background button picture is different.This CSS tutorial will teach you how to use CSS to
css| Menu
This is a fully implemented in English and Chinese bilingual navigation menu, no script and pictures, initially, the menu language is English, when the mouse hovers over the menu, it becomes Chinese, of course, you can also do in
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.