A. Use CSS abbreviations
Using abbreviations can help reduce the size of your CSS files and make it easier to read. The main rules for CSS abbreviations refer to the common CSS abbreviation syntax summary, which does not expand the
1.CSS Font Property Shorthand rules
Generally using CSS to set font properties is done:
Font-weight:bold;Font-style:italic;Font-varient:small-caps;Font-size:1em;Line-height:1.5em;Font-family:verdana,sans-serif;
But you can also write them all up
breadcrumbs breadcrumb generally used for navigation, indicating the location of the current pageCrumbs can be set up with other relevant little tagged content, such as labels, badge marks, and so on.
SOURCE
//Base style
. breadcrumb {
This article summarizes all the techniques and compatibility scenarios I started using CSS layout methods, I would like to share these with you, I will focus on some rookie mistakes (including myself), if you are already a master of CSS, these
The example in this article tells jquery how to get the color value of a CSS to return RGB. Share to everyone for your reference, specific as follows:
The CSS code is as follows:
A, a:link, a:visited {color: #4188FB;}
A:active, A:focus,
Now the Web page design is more popular using a large background image, then you know how to use a large background picture to stretch the effect? That is, using a fixed-size background image to stretch it in the page as the browser size, like our
The following is a record of JS control CSS methods used.
1. Use JavaScript to change the properties of a CSS class ...
You want to change his display property from none to inline.
Solution: In IE:
Document.stylesheets[0].rules[0].style.display =
Div+css+javascript to achieve seamless scrolling, marquee seamless scrolling, seamless scrolling, compatible with Firefox
Using marquee to achieve the end-end connected cycle scrolling effect (ie only):
Copy Code code as follows:
Article Introduction: CSS3 to create a Web page example: Click to switch a different CSS list.
Crazy little Meow Crazy little Meow
draw something Crazy little Meow
draw something Crazy little Meow
draw
css|js| Menu | refresh
Div+css+js Group and can achieve a lot of nice special effects, here recommend a refreshing Drop-down menu source code :
My website Web page Teaching Network Management Web Teaching Network Management Web Teaching
Css|web|web Standard | Web page
With a piece of CSS Layout design Web page, found that their naming a little confusing, completely according to their own ideas named, although there is no impact, there is not to see the source file, but the studio
The design style of the CSS Korean website is called "Korean style" by the domestic website design enthusiasts, and now more and more people are imitating this style, the following figure for a Korean style of the site effect, on the author
Article Introduction: CSS Instance Tutorial: Simple slide navigation bar effect.
Because of the limitations of the font of the Web page and the need for the beautiful navigation bar, using Background-repeat to do a simple text navigation
Although it has been written for so long div+css code, but sometimes in the use of a CSS style properties of the time will be wrong, but also a ridiculous error.
Although it has been written for so long div+css code, but sometimes in the use of a
Web page Production WEBJX article introduction: : Nth-child () working principle.
This is a CSS selector, a real pseudo class selector, which is nth-child (), and here's an example of using it.UL Li:nth-child (3n+3) {Color: #ccc;}
The
CSS to implement a horizontal navigation menu tutorial, step-by-step to teach you to make.
Subject Code section:
css trend
css tutorial
css instance
css template
css cool
Simplify CSS Property code, you can make the size of the CSS file smaller, faster reading speed, maintainability is higher.
The following are examples of the most common ways to simplify CSS Property code:
Article Description: Web front-end Performance optimization summary.
For front-end development engineers, the importance of front-end performance optimization is self-evident, the most well-known is the YSlow 23 optimization rules, in my
Css
In a blog to see a article on the CSS, I think it is very useful, roughly translated, the translation and the original text, if there is not the correct translation or similar problems have other better solutions, please do not hesitate to
Let the div+css div be centered while the text inside is not centered:
做一个测试 中国
In fact, here's one of the most critical points in: Countainer class properties: Margin:auto; This value!
When the test was made, the
is also very
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