After the JavaScript code in the front page is written, unlike the C language, which is compiled into machine code, as a scripting language, JavaScript is executed directly from the source file. Usually in order to save space, you can compress the
CSS and JavaScript Tags style property comparison table:box labels and attributes control the text labels and attributes against the style labels and attributes against the color and background labels and attributes against the textual label and
Css id selector and CLASS selectorIn CSS, a selector is a pattern used to select elements that require adding styles.The attribute selector can select an element based on its attributes and attribute values.
Three basic selector types: Tag name
CSS3 animation comprehension and ApplicationTransform: Deformation of elements; Transition: controls the changes (time, etc.) of a certain attribute or multiple attributes of an element, similar to the flash compensation animation. But there are
Use the: hover pseudo class to replace the js hover event, hover
To make a level-2 menu, move the mouse to display the sub-menu, move the mouse out of the sub-menu to hide it, or use the hover event of jquery to hide the sub-menu. For example:
$ ("
CSS selector usage summary, css selector Summary
1. Element Selector
Definition: You can switch a style from one element to another.
Example: If you set an HTML style, the selector is usually an HTML element, such as p, h1, em, a, or even html.
html
In HTML, The ONMOUSEOVER and ONMOUSEOUT methods are used to change the background color or background image,
1. Use onmouseout onmouseover to convert images:
2. onmouseover onmouseout:
Onmouseout = "style. backgroundColor = '# bbb'"
Convert the hexadecimal color in css to the rgb format.
Function fromHex (color) {/* summary: Convert the css attribute value to an image in rgb format # fff-> 0 xfff length to 4. One character occupies one attribute, 0x10 = 16 (4 to the power of 2
Gradient of CSS3 background gradient
CSS3 Gradient is divided into linear-gradient (linear gradient) and radial-Gradient (radial gradient ). Remember that the gradient is not an attribute of CSS3, but an attribute value. Although it is not specified
CSS 3 implements the mouse-over-button special effect and css3 button special effect.
Today, we will bring another special css-implemented mouse-over-button effect to all netizens. At the beginning of the button, the border is a closed button. When
Google recently launched a public beta version of Web Designer, a design tool for HTML5 websites and advertisements created by creative professionals. Currently, Web Designer is applicable to Mac and Windows devices. Figure: Google Web Designer is
DOCTYPE is short for document type. It is used to describe the XHTML or HTML version you use in web design.To create a standard web page, the DOCTYPE Declaration is an essential part. Your logo and CSS will not take effect unless your XHTML
Wordpress, as a mainstream Blog system, is favored by many webmasters. In fact, wordpress is also very beneficial to seo. Today we will talk about fixed link settings and Optimization in wordpress.
Fixed links generally have five forms: default? P =
The user interface is the search plane provided by the network information classification table for the majority of end users. The user interface's friendliness directly affects the mood and retrieval efficiency of the majority of end users.
I don't know if your webmaster has used a Windows 8 operating system server (generally Windows 2003 and Windows 2008 are more common). In last November, I rented a Windows 8 operating system server, I am used to Windows 2003 and Windows 2008
How to be an excellent newbie webmaster, I will start from this issue by selecting cms programs, keyword positioning, article content compilation, intra-site optimization, off-site optimization, profit models and other six aspects to introduce how
Preface: the notification system is an important part of the website information dissemination mechanism. It is sufficient to write a large chapter to describe it. This article only sorts out the design principles and will be updated in the future.
CSS Implementation of word-break forced line feed. They all show the effect of word-break after the gathering in normal, break-all, and keep-all modes, the most common use is break-all, but the normal attribute is used more on foreign websites.
Copy
In web development, it is very important to make css writing standards. Correct and standardized writing of css style sheets can improve the speed of web pages and the compatibility of various browsers, so that developers can better embed programs.
Page domain relationship:
Main Page a.html Domain A: www.taobao.comThe Domain B: www.alimama.com of the page B .html of iframe, assuming address: http://www.alimama.com/ B .html
Effect:
The iframe adaptive size in dimensions.
Problem nature:
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.