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
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
1. CSS reset/Reset
You may need to understand what CSS resets first. Then how to write CSS reset it.
You can copy Eric Meyer reset, YUI reset or other CSS reset, but you should then change your project to your own reset.
Do not use * {margin:0;
The format of the Li code: A). Use CSS to format list characters: ul li{ List-style-type:none } B). If you want to change the list character to an image, then: UL li{ List-style-type:none List-style-image:url (/blog/images/icon.gif); } C). To
Use a label correctly
Hyperlinks are the most HTML tags used in blogs, which link to other articles or site links, and suggest that you add the following attributes when you use a label:
HREF: Set the URL address or anchor point of the link
Have you noticed that you can now write the script using Coffeescript directly on the RUNJS, using less CSS to write the style.
Let's look at a demo code:
Coffeescript:
# Assignment:
Number = 42
opposite = True
# Conditions:
Final Effect Diagram:
Basic principle
First set a background color of the ordinary div box, and then use the Last post to the Triangle icon, the div box set to the relative positioning mode, triangular icon set to absolute positioning,
In HTML, if you don't specify a certain width, the block-level element itself is stretched vertically. Imagine an unordered list. The list expands itself to accommodate all of its manifest elements. If the user adds a font size to their browser, the
One, why I want to test the performance of CSS This is the background: I am a loyal fan of the OOCSS (translator Note: object-oriented CSS). But recently, I have been using Compass,sass (Translator Note: SASS to make CSS functional, there are such
CSS compatibility issues experience Summary, the level is limited, if where wrong, hope correct.
Are written long ago, the level is limited, if where wrong, I hope to correct. the problem with ie: I. Bilateral distance issueThe outer margin of a
0, Introduction
Whenever you have a new project, the first step is to use a reset.css to reset the style. Abuse is not as good as not, directly with a ready-made reset.css will lead to a variety of bizarre late in the occurrence of bugs. So it's
CSS background map positioning, learned this method, can be very effective to improve your Web front-end design level.
The image below is a CSS background image of the website applied to Amazon.com's official website, so let's take a look at its
Css
In the production of Web pages, tables are usually used to organize data in rows and columns. This may be the case in use, and we're going to be listing a lot of data for a long time. At this time, browsing is very inconvenient, look at the back
CSS translation from: A css styled table original: Http://veerle.duoh.com/comments.php?id=315_0_2_0_C copyright to the original author all this translation of the page copyright, authorized blue ideal. Reprint please indicate the source
In the
css| Dynamic | show
With pure CSS to create star rating effect is increasingly used in the network Ria, combined with Ajax technology, can render a very good visual effects and great user experience, before this article began, we can first go to
css| button
Most of the time you can see the buttons in Flash can be animated, and most of the HTML button is a single frame switch. In fact, animation is also feasible.Let's take a look at the following preview picture
Mouse move up, mouse click,
css| Style Sheet | optimization
Recently read a lot of netizens made skin CSS file, found that there are many redundant code. Let me tell you about how to clear these redundant code to make your CSS file more concise.
First, margin, padding
css| Page | style sheet
Need to have the basic knowledge
Before continuing your study, you need to have a basic understanding of the following knowledge:
Html
Xhtml
If you want to first learn these items, please visit the relevant
css| Tips
How do I make CSS code simple and easy to write? This is probably a problem that many developers are concerned about. I think that there's probably no magic to make sure you shrink your stylesheet to a percentage of it, but reasonable CSS
css| Tips | page | style sheet
1. tags in mozilla default is padding value, and in IE only margin have a 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
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