A lot of friends when using Dreamweaver8 will encounter the situation: to the current edited document linked to the CSS file, and the page element to apply the definition of CSS style, but in the DW8 can not see any effect. The following figure.
As a front-end Web developer for CSS properties of familiarity is not to be avoided, but also a lot of the necessary, the following article to organize as a developer you must know 9 CSS properties, very practical so there is demand you can refer to
Sichuan Yaan Lushan occurred in the 7-magnitude earthquake, many of the home page has become a gray mourning. The following author has sorted out several CSS code to make the Web page gray
Method 1: Support IE
Some friends when using Css+div to do a station, often encounter such a problem, a frame in different browsers will be distorted or position disorder, this how to do? In fact, the method is very simple, with the following code can be resolved:
The first method margin method, the original code as shown in the figure.
#nei的margin的左右上下的边距. Get the center effect.
The second method. Pisition method, the location of the center is computed by absolute positioning, the code is as
1.--column article list content interval color definition--
Method One (Yahoo provides): if is the default, that is, do not need to change the function of the label getarticlelist parameters, you can use CSS to define (in the background style to
The behavior--expression in CSS
Recently, the behavior of CSS is more interested in, although it is not in line with the standard and only IE can be recognized, but he did give the function of CSS expanded a lot. Here are some words and examples
the distance before the paragraph is empty two words, do not use the space again. You should use the first line indent text-indent. Length Unit em. The font size relative to the text within the current object. Our first line was indented 2em. 2EM is
Together to understand how percentage percent values are used in CSS
The percent value is the basis for designing various element sizes and page layouts in CSS, and here we take you through the use of percentage percent values in CSS, including the
I. Background
1, background color with Background-color attribute, for example: body{background-color:red}
2, use the image to do the background with background-image properties, such as BODY{BACKGROUND-IMAGE:UL1 (23.jpg)
3, the background is
in the previous article on how to use the document structure and CSS selector for elements to apply a variety of rich styles, today to have a good chat about CSS cascade and inheritance, first talk about concepts.
Inheritance: The mechanism by
We all know that the full name of CSS is called "Cascading style sheets", but it is estimated that many people do not know the meaning of the word "cascade". In fact, "cascade" refers to the overlay of the style, when an element is applied to a
This article introduces a collection of CSS knowledge points
createtime--2016 September 29 09:43:10Author:marydon1. Background color linear gradient
Background-color:linear-gradient (100deg, #FFF, #111); */* from black to white gradient deg for
This article to share a piece of CSS3 code to achieve mouse floating magnification picture effect, code without JS and jquery code, very good, with reference value, interested friends refer to the next bar
No need for JS and jquery code to achieve
percent Value of 1.margin the percentage of ordinary elements Maigin is calculated relative to the width of the container element (width).
Here we set a container with a width height of 800 * 600, respectively, outside the picture. Set img{margin:
Every time I see CSS3 animation heart itch want to try, remember one months ago saw the white tree brother of a blog, suddenly enlightened, so he offered the demo tried a bit, feel great! An animated frame design for the demo.
Oneself also want
This article mainly introduces the CSS in the fixed width of the p to achieve vertical centering of the example, that is, in the p internal element relative to the vertical center of the method, the need for friends can refer to the next
Demand
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