Creating star rating effects with pure CSS is increasingly used in the network Ria. Combined with Ajax and other technologies, it can render Excellent visual effects and excellent user experience. In this article
ArticleBefore getting started, you
Popular online:
Body
{
Background-image: URL ('javascript: Document. Write (" ")')
}
// This method will make the Home Page abnormal. a blank page is returned.
Use a pop-up window.
Body
{
Background-image: URL ('javascript: open ("http: //
Newly written JS client UI: using the idea of packaging mode, rich client UI is attached to common elements like a shell. Some UIS use two methods, one is to directly use HTML, CSS, and JS, and the other is to use JS directly (this method is used
We should develop good coding habits. The overall CSS layout is declared as ours.
Code It provides a way to simplify and improve operation efficiency. Let's list common forms and add explanations. The purpose of the overall layout declaration is to
We accidentally discovered that when the font and line-height attributes are applied to the same HTML Tag in CSS at the same time, we had to be careful. The writing sequence of the two is different, which may lead to different display effects.
That
The mask filter can create a rectangular mask for HTML element objects on a webpage. What is a mask? If you have used a mask in flash, you will know that. In fact, you can also understand the mask. It is equivalent to covering the object with a
I just read jquery's
Source code Among them, the Operation ideas about CSS and classname are really good and worth learning.
For details about jquery. classname. the definition part of has is implemented using regular expressions. In fact, if you
Let's take a look at the image:
The principle is to use the label and span label to combine a complete rounded rectangle through the left and right alignment of the background. Then use the hover label to slide the image. You only need one image:
Currently, 99.99% of CMS uses Div + CSS to construct webpage templates, which is helpless. When the hacker is older, he still needs to learn CSS. To be honest, he does not think that DIV is better than table layout! However, as a result of this
IE Method:
the content in the tag is centered.
Non-ie method:
the left and right margins of the tag are automatically adjusted to achieve the center effect.
The standard recommended CSS method is the latter, and the set of IE is
Because of a single choice button problem of death, N people come out, alas, even this cainiao-level character also came out, mixed water to fish. One accidentally touched one.
First, let's look at a piece of code that has been dug out from
The voice of CSS layout advocates is being overwritten by the voice of "advantages of table layout. CSS is hard to learn. In fact, CSS is no more difficult than other Web technologies. The problem is that web designers who are already quite
For a long time, I used 12px as the main font size of the website. 10px is too small,EyesIt is easy to get tired. Although 14px is easy to see, it damages the aesthetic of the page. Only 12px is perfect in aesthetic and visual acuity.
Who has
It has been more than a year since I used xhtml + CSS to build a website. More than a year of practice has accumulated some experience. Now I will write this article to summarize it. There is a key issue in the process of using xhtml + CSS to build
I. Comments
Comments in CSS are very important when you create an xhtml + CSS website. When creating CSS Styles, you should keep comments on your own. In general, I am used to writing comments in the format of "/* Comment content */", because in
Author: eoe
1. Searching
Find the desired effect first ~ To copy
Like http://www.cssplay.co.uk/
Http://www.cssbeauty.com
And so on.
Miss cssplay todayHttp://www.cssplay.co.uk/menus/magnifier2.htmlIt seems like you are playing well.
Start topstyle
Hiding CSS in a browser
We all know that there are differences between browsers. Many people once had a headache when using XHTML + CSS to create webpages. A lot of skills are required to work under the influence of these differences. "Hiding CSS"
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