Tip: You can modify some of the code before running
css Menu--pull-down menu My home page My home My home My log My log My favorites Community circle My Community Circle &L T;br/> My home My log My albums My SMS
In the CSS,expression can customize the properties, use this property, you can easily control the display of page elements, the following example is to let the link and the normal text display, and when clicked does not trigger the href attribute
Tip: You can modify some of the code before running
demo_1,demo_2 no content only demo_1 content 12 demo_1,demo_2 are written 12& Lt;/div>12
Tip: You can modify some of the code before running
The effect is as follows
Thus wrote up, of course, still write for a long time, can not help but spit out the layout of what seems to be white learning.
Use Flex at the beginning, because the picture needs to be horizontally vertically centered,
When we often define the css height, we often set it to a maximum height.Max-heightSo it makes the page beautiful. We will talk about it later.Min-heightMinimum height. Let's take a look.SyntaxMax-heightAttribute sets the maximum height of an
In the CSS List Getting Started Tutorial, list refers to the control of labels such as li in css, and the surface list also has four attributes. In fact, we only talk about four commonly used labels, they are: list-style, list-style-image,
DefinitionSpace between word-spacing words and words.Inheritance: YesNote: negative values are not allowed.JavaScript syntaxThe CSS attribute of can also dynamically change a JavaScript.Script syntax: object. style. wordSpacing = "10px"P{
CSS MarginCSS Margin defines elements around the space. See the following example. This is a paragraph with no specified margins This is a paragraph with specified margins This is a paragraph with no specified margins Let's try again. This is a
CSS of outlineThe outline is a line. Pay attention to the surrounding factors and make the content "stand out" outside China ".Elements surrounding the outline of the CSS attribute set of the outline. You can specify the style, color, and width
9,CSS Class and ID selectorThe difference between id and class indicates that the same ID of a page can only be used once, but the class can be used without restriction.Similarly, you can use a selector behind the html selector to specify special
The difference between css padding and margin. Let's take a look at an image and then analyze the difference between padding and margin based on the image.As shown in the preceding figure, there are two boxes A and B. padding and B represent margin.
CSS encoding is essential for color control. Not many of them are involved. But this is the basic knowledge. New friends need to know something, and the veterans can ignore it.Theoretically, the number of colors that CSS can process is about 16,777,2
CSSer must master the simplest hack skills about IE6, IE7, and FF.You can also refer to the following articleFF browser . Test {Height: 20px;Background-color: orange;} Internet Explorer 7 * + Html. test {/* IE7 */Height: 20px;Background-color: blue;}
CSS expressions are also called CSS expressions. They are a powerful method for dynamically setting CSS attributes, but they are also risky.For more information about CSS expressions, see the following two articles:How to use expression in CSS? CSS
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