[General selector]
There is another method that must be mentioned for the general selector to ensure that the page is compatible with multiple browsers,So to reset all the tags in the HTML, the followingCodeAdd to the top of the CSS file
*
Getting started with jquery: CSS () and addclass ()
I have been studying jquery in the past two days. I just started to get started. from yesterday, I found a method of addclass. In this tutorial, a method is written like this.
$ (Document). Ready
Background-repeat: indicates whether or not the background image is repeated and the repeat method. There are four attribute values: No-repeat, repeat, repeat-X, and repeat-y.
No-repeat: displays only a single background image regardless of the
CSS Unit of measurement:Px pixels30% percentageEm relative unit
Apply style:1. Tag Selector2. class selector3. ID Selector
CSS usage:(1) inline element. Add the style attribute to the element(2) page embedding.Add in Head(3) external reference.
. Tablel
{
Border-collapse: collapse;/* key attribute: Merge the outer and outer borders of the table (in fact, the outer border of the table has 2px and 1px, and the outer border has 1px )*/
Border: solid #999;/* set border attributes; style
ArticleDirectory
Modifier Selector
However
More efficient CSS selectors
Efficient CSS is no longer a new topic, nor a topic that I have to repeat, but it is a topic that I have always followed after working at Sky.
Many
1. unordered list project style attributes (list-style-type)
...... ...... Class = "W1"> unordered list project 1 unordered list project 2 unordered list project 3 Class = "W2"> unordered list project 1 unordered list project 2
Today, we are very ambitious. We decided to deal with seajs, coffee, and less. When I got home, I spent one afternoon in front of my computer and one evening. The sad discovery only solved less. Er, sum up less first.
The goal of less is CSS. View
If you have many associated CSS files to be loaded together, or want to dynamically load different CSS files, the following methods must be helpful to you.
First, it is generally used to load necessary files in external CSS files.
Program code @
Abstract:It is mentioned in this article: Use less partial doors; center is not a float value; Alignment cannot contain two values; the color of the scroll bar should not be customized; set the scroll bar separately; if the background and color are
1: HTML IntroductionHTML refers to Hyper Text Markup Language. It is not a programming Language, but
Markup Language-- Describe web pages by Tag. Here is a simple example:
1 2 3 webpage information 4 5 6 7 Heading 8 paragraph. 9 10
In
Document directory
I. Text
Ii. Summary
I. Text
Before layout, you usually need reset CSS. The younger brother prefers kissy reset and uses it here. The code is not included. You can download it yourself to see it.1. High layout with three
CSS design thorough research section 5.1
Attribute
Description
Remarks
Font-family
Font
Multiple fonts can be declared at the same time, and the fonts are separated by commas. Example: font-family: Arial, "Times New
Show Photo
link to the first image display
link to the second image
third picture display link
Optimized content:
1. Follow the mouse
2. added the scroll bar considerations.
3. display at the beginning of the image
This article introduces the principle of margin parameter omitting in CSS. The margin attribute is used to set the margin of the four sides of the object. If all four parameters are provided, the top-right-bottom-left order is applied to the four
How can I clear useless css styles? When we write styles, after several versions of CSS on the page have been modified, some styles may not be used, and some styles may have been renamed and forgotten to be deleted, in short, some useless styles may
Using css hacker, I can divide browsers into three categories: IE6, IE7, and roaming; others (IE8 chrome ff safari opera, etc)
◆ Hacker recognized by IE6 is an underscore _ and a star number *
◆ Hacker recognized by Internet Explorer 7 is an
Now the layout of DIV + CSS is very popular, and its advantages are mythical by many people. Some time ago, when talking about website design, many people would open their mouths to me, and I felt very amazing. When talking with the customer, it is
CSS controls the background display of each element in html, including the background color, background image, repeated background, background positioning, and background Association. In CSS, you can use the background attribute to control these
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