CSS is an indispensable part of the XHTML standard era. Effectively reducing the size of CSS files can definitely speed up your website.
List of CSS abbreviations and their general properties.
Background: Background attachment, background
When creating a page, sometimes it is inevitable to make the image into a background, but you want to add a link, you can use a positive solution.
# Logo {width: 249px; Height: 62px; Background-image: URL (images/logo.gif );}
# Logo a {display:
The first is the CSS hack method. Height: 20px;/* For Firefox */* Height: 25px;/* For IE7 & IE6 */_ Height: 20px;/* For IE6 */ Pay attention to the sequence. This also belongs to CSS hack, but it is not as concise as above.# Example {color: #333;}
CSS filters are a great way to add effects to text, images and other aspects of a webpage without having to make special graphics. filters only work on Internet Explorer 4.0 +, and only work on text if height and width are specified. some of them
How to Use CSS to customize a DataGrid Style
The following is a CSS file I wrote.CodeCopy to a tablet and save it *. CSS
For example, the name is 1024.css.
/* --------------------------- DataGrid --------------------------------*/.
Today's course introduces the background of mobile. By the way, we will explain the principle of Div + CSS animation. First, we will introduce how to make the background Effects of moving.
HtmlCodeIt is relatively simple. I will post it all. I
OptimizationCode: Tips for abbreviations of CSS font attributes
(From: http://www.webwoo.net/bc/bencandy-38-20144-1.htm)Code optimization: the abbreviation of the font attribute of the web page technology CSS, which helps reduce code and optimize
[Note: This article is transferred from http://hi.baidu.com/vivaid/blog/item/68fe35736c1d1_d8701b08b.html]
Specific settings: It seems that the settings on the network are not correct. This is my valid settings. It can compress CSS and Js.
If you
The effect to be achieved is:The buttons are transparent normally without borders;The button changes to a background color and a border after moving the mouse;The comparison is as follows: Figure 1 normal display Figure 2 when you move the cursor
In the past few days, You need to right-click the function menu on the page to pop up the function. After studying and reading the information, you can find a feasible solution and record it for future use.
First, prepare JSCode, Used to create a
The above results look good. In addition to flash, there are still many ways to implement it on webpages.
Obviously, this effect is not complex. A background image, coupled with a polygon layer with transparency above, can be converted under the
When cnblogs was just launched, I was always a little dissatisfied when I wanted to find a few satisfactory skins. I saw that the background supported CSS custom styles and HTML and started to transform a satisfactory skin imetro.
This skin is good,
I am bored with a microblog application. Unfortunately, the application does not pass the review and cannot enter the Application List ...... (In fact, Weibo can actually change many things and do many things .)
In fact this thing fully
The distance between two characters in front of a paragraph. Do not use spaces. Use the first line to indent text-indent.
Text-indent can indent the first line of the container in a certain unit. For example, a Chinese section generally contains two
Tables are no longer familiar to web designers. With the rise of web standards, tables are no longer responsible for building Web pages. Return to its original functions and present data. I'm afraid there are many web designersNo interest. We have
According to the State Council's documents, 5.19-5.21 is the national day of mourning. During this period, the National and overseas institutions will mourn and stop public entertainment activities. The Ministry of Foreign Affairs and the embassies
Margin: blank outside the border of the layer
Padding: blank between the border of the layer and the content of the layer
Padding-top padding-left padding-Right padding-bottom
Margin-top margin-left margin-right margin-bottom
The width of
Today I read an article about how to use css3 to create a 3D triangle. I think it is quite good. So I will share it with you. Original article address: http://www.paulrhayes.com/2010-10/css-tetrahedron /.
Demo preview address:
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