JavaScript, Package library--cssChange the method in the package library to the prototype Add method4 Additional methodsThe Tian_jia_class () method adds a class attribute to the obtained element, and the parameter is the Class property value, which
1. Black and white images
This code will make your color photos appear black and white, isn't it cool?
img.desaturate {Filter:grayscale (100%);-webkit-filter:grayscale (100%);-moz-filter:grayscale (100%);-ms-filter:grayscale
IFrame applications are common and typically require two types of requirements:
1, get the IFRAME effect, is to bring a scroll bar, you can save a lot of layout.
2, to embed a page, to implement the framework link.
If the IFRAME is not easy to use,
Front-end development of the small partners, we met again. As you know, in the world of CSS2, transitions are often very thin, either from one color to another, or from opacity to transparency, in a way that changes from one state to another. This
Style Rule Selector
Author: loncer More Learning resources at: wwww.loncer.cn
HTML Selectoris the HTML tag as selector, so that all the HTML tags in the Web page of the CSS application will be displayed according to the defined
Shape is the most basic object of VML and can be used to draw all the graphics you want. In VML, the coordinates used are not the coordinates of the document, it has its own coordinate system, so that the dynamic change its coordinates, you can
Many beginners to make Web pages of friends, may encounter a common problem, is to add margin:0 Auto in CSS, but no effect, can not center the issue, margin:0 auto; The meaning is: the upper and lower boundary is 0, the left and right according to
for those who have just touched the CSS layout, it is often confusing how to use tables (table). I have seen in many places that people use the "avoid table layout" as a "no table label at all." It is important to note that tables are usable and
Today in the standard and other blog (http://www.aa25.cn) See "Pure CSS Code Implementation page"
The article
123
[Ctrl + A full selection Note: If you need to introduce external JS need to refresh to execute]
Perhaps a lot of
If we set Li to Position:relative; set span to Position:absolute, then we will find that regardless of whether the z-index value of span is set higher, it will always be below the back parent.
Some time ago remember who in the group put forward a
The float (float) concept may be the most confusing concept in CSS. Float is often misunderstood, and is criticized for readability, usability issues caused by full-floating context elements. However, the root cause of these problems is not the
Boundary overlay is a fairly simple concept. However, when you lay out a Web page in practice, it creates a lot of confusion. Simply put, when two vertical boundaries meet, they form a boundary. The height of this boundary is equal to the larger of
Css selector and css3 Selector
Css selector is commonly used. I hope it will be helpful to you.
1,*: General Selector
1 * {2 margin: 0;3 padding: 0; 4 }
Select all elements on the page, which is usually used to clear the default style of
Custom background image and QQ space custom background image
When we change the background image of a blog, we can only use the image url that is already on the internet because we cannot use the URL of the local image on our computer, it is
Conversion between px and em, pxem Conversion
Many Web Designers set the font size in the general selector when writing css, which is generally 12px in Chinese. However, ie cannot adjust the font size that uses px as the unit. In fact, using em as a
Conditional annotations (Reprinted from the network) and IE annotations in ieIE condition annotation is a non-standard logical statement provided by Microsoft since IE5. It allows you to flexibly import different html elements to browsers of
Use css border and cssborder
The upper and lower sides of the border display a smooth diagonal line at the junction. Using this feature, you can get a small triangle and a trapezoid by setting different width or color of the upper and lower sides
This is an article about css hack. The css hack mentioned in this article is aimed at the HACK of the attributes in the class and id, and the ordering is required. Today I want to talk about CSS HACK for class and id. The
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