Css absolute positioning allows you to precisely locate the independent location of elements on the page without considering the positioning settings of other elements on the page. Relative positioning refers to the location of the element you are
1. Do not use a small image for background tile. This is why many people do not need 1px. Images with a width of 1 px and a height of 200 PX are tiled out, which requires 200*40,000 = times to occupy resources.
2. No border. The recommended method
Positioning (left and top)
Css positioning attribute will be the key for the net worms to open the door to happiness:
H4 {position: absolute; left: 100px; top: 43px}
This CSS rule allows the browser to precisely set the starting position of to 10
CSS syntax
CSS Rules consist of two main parts: Selector and one or more declarations.
selector {declaration1; declaration2; ... declarationN }
A selector is usually an HTML element that you need to change the style.
Each declaration consists of an
Derived Selector
You can define a style based on the context of the element in its position to make the tag more concise.
In CSS1, the selectors that apply rules are called contextual selectors because they depend on context relationships to apply
Zhou Wei recommends a movie to everyone: the Pacific Rim http://947kan.com/movie/kehuan/45659/
It tells the story of defending the home from the constant transmission of the space and time cracks on the bottom of the Pacific Ocean. From the story,
Minimit Anima is an animation that implements CSS3 Transforms and Transitions.JQueryPlug-ins. Hardware-based AccelerationCSS3The animation runs faster and has an API similar to jQuery animation. The jquery. transform. js plug-in allows you to zoom,
Ikut yelmaz, a senior art director in Istanbul, Turkey, shares a beautiful modern UI toolkit that you can download for free. Therefore, you can use this excellent material to design visual interaction and attractive user interfaces. This UI kit
Address: http://www.goodfav.com/creative-404-error-page-8842.html
Nothing is more annoying than an error page. Whether you accidentally make a wrong URL (Global Resource Locator) or click an incomplete link, the information "the page cannot be
In simple terms, the icon font is displayed as the font of the icon and has the characteristics of vector graphics. When using icons on different devices, you do not need to load image files of different sizes, reduces the number of HTTP requests
Preface
My memory is not good, so I will spend a lot of time studying the same things.
I have been studying CSS for a while, but I find out the fact that the more I learn, the less I understand, and the humble human being!
I think back to the times
Understanding css is the most basic thing. Today, I accidentally used position and found that it is normal in ie8 and browsers. In ie7 and ie6, the relative element is completely blocked by the relative element. It is regarded as a z-index problem,
1. The BUG that li has 3 pixels at the bottom of IE
Solution: Add float: left; to 2. IE6's odd-high BUG.
Solution: Change the externally positioned div width to an even number. The same is true for height.3. IE6 text overflow BUG
There are several
From the winter vacation to the present, the Code is not written too much, but there is no small number of webpages. It mainly takes a lot of effort. Now I will summarize some of the recently used things and I can write them down now, they are
In normal projects, some front-end designs are occasionally involved, but after all, they are not professional, so they always want to learn systematically. I have recently resigned and want to learn about css3.
Today, we will summarize some recent
Jquery css div pop-up level-2 menu code. This is a level-2 menu instance Code implemented by jquery + css. You only need to download a jquery. js file, you can easily use this beautiful jquery second-level menu code.
Jquery css tutorial div pop-up
During development, we often encounter the need to dynamically modify the CSS style effect of an element, or dynamically change the style name of its div, next, I will introduce the implementation methods of js and jquery.
The js operation is simple.
This tool is a combination of popular auxiliary tools on the Internet, such as JavaScript obfuscation, compression, formatting, CSS compression, and CSS formatting. In order to make it easy to use, comics separates all functions and can be used
Salvattore isJQueryMasonry replacement, useCSSDriver configuration. Salvattore organizes yourHTMLElement. Each project in the container is placed in a column one by one. You only need to add a data-columns attribute.
In your CSS file, you can set
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