UpperCode:
CSS writing
1.css writing
CSS writing test
2. Button Writing Method (which can be used for various special effects)
click to submit
Record it here and forget it.
CSS style sheets have been written for a long time, but someCSSStyle attributes still have some problems. For example, write in the pastCSS styleForPositionAttributes are rarely used. It is also relatively unfamiliar. Different browser parsing
Start
Z-Index
Attribute can only work in a given environment.
Z-index attributes
It is certainly more frequent than any other attribute that causes (compatibility) Confusion. Once you really understand
Z-index attributes
, You will find
Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
Doctype HTML public
"
-// W3C // dtd xhtml 1.0 transitional // en
"
"
Info for http://www.ajaxload.info/loadingHttp://www.bigik.cn/blog/article.asp? Id = 182
If you know about the popular Ajax, you must have seen a small animation similar to loading:Below are several websites dedicated to providing this type of GIF
I went there a few days ago.NeteaseParticipate in a social recruitment in Guangzhou. The position isFront-end engineers (restructuring)The interviewer asked me a question about CSS optimization.
First, the interviewer asked me about CSS selector
I couldn't understand it before, but I had to rely on a short period of "abuse experience" to make the desired results. Later I carefully studied Hutia's xscroller and carefully read the document, only then can we know that this position attribute
A list of supported CSS selectors when invoking g (..)
At it's most basic, gimme is a utility for retrieving lots of ElementsQuickly and then acting upon all of them at once. This is done throughA call to the G (...) function.The G (...) function
list1 list2 list3 simple method to omit ultra-long fields using CSS simple method to omit ultra-long fields using CSS simple method to omit ultra-long fields using CSS
I took the time to write this article.ProgramThe function is to perfectly save the entire webpage, including: images, JS scripts, CSS styles, and modify the webpage source code for "localization ". Because I am from Mars, I don't even know that the
Next, modify the navigation page. As follows:
Although the label-based navigation is completed, the square-like navigation does not seem to be able to adapt to the current design trend. In fact, navigation can be defined by CSS colors, you can
In webpage design, JavaScript is often used to change the style of page elements. One way is to change the CSS class of page elements. In traditional JavaScript, we usually process HTML domClassnameJquery provides three methods to implement this
"If you are a CSS expert, you can introduce the CSS sliding door technology in detail ."
CSSSliding Door Technology. I also wanted to be a master. When I answered a question in Baidu's knowledge, I found that there were many CSS sliding door
Of course, as a page layout worker. This is indeed an annoying problem!Then, startCodeRight
Script Language
=
"
Javascript
"
>
If
(Window. Navigator. useragent. indexof (
"
MSIE
"
)
> =
1
)
{ var ie10
The official version of IE8 has a piece of log, but there are few CSS hack for the official version of IE8. In fact, this is fortunate because IE8 has fixed many bugs in IE6 and IE7, closer to W3C standards.
CSS hack for the official IE8 version
It is often used for website creation. It is also important to measure the average usage of a div + CSS architect. Different browsers use CSS hack: Difference between IE6 and FF:Background: orange; * Background: blue; Difference between IE6 and
The clear attribute was used at the beginning, but it was used relative to float. I still don't quite understand it when I watched the video today. I checked the information and found it.
The clear attribute value has four clear: Both | left |
JQuery providescss()Embedded methods to change the element style,css()Methods are diverse in use. Either of them accepts two input parameters: style attributes and style values, separated by commas. For example, to change the link color, we can use
Previously, only for all IE browsers:
To avoid IE8, you must:
Lt is less than used here, that is, versions earlier than IE8 can be identified.
Or:
Lte is less than and equal to, that is, it can be identified by Versions earlier than
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