The code is as follows:
I'm on top I'm down there
Effect:
Set the margin-top for H3 to try:
The code is as follows:
h3{Clear:both;border:1px #66CC00 Solid;margin-top:30px;}
Look at the effect:
No change, clear area at work, change:
A CSS control background image tile, in order to achieve the effect of the area border Shadow, although the use of the picture, but the value of this code regardless of the area you need to shadow is how large, it can automatically adapt, because
When clicked, the link will appear dotted, even if it is released, it still exists, sometimes it is not beautiful. Since it's not good-looking, don't want it. How to get rid of it?
Method One
IE can use its proprietary HTML properties: Hidefoucs,
With the growth of smartphones, mobile web sites can also do more personalized, recently in the revision of their own mobile website
This one, encountered a website picture size problem, mobile phone screen is relatively small, how to upload the
CSS Wave filter may be a lot of friends do not like to use, its practical good, can have a lot of singular effects. The CSS Wave filter adds the wave style to the object in a vertical direction, making the object look like a wave in the year. Syntax
From the THINKCSS framework of the CSS transparent code, testing the current mainstream of Firefox, IE8, opera and chrome support is good, this code is through IE filters, WebKit and other attributes, a good solution to the transparency of the
JavaScript and CSS properties of the control network is very common, so the use of JS to manipulate CSS properties is a certain regularity.
1, for no underlined CSS properties are generally directly using style. Property name.
such as:
CSS Interlace color usage is very high, today took the time to write this short tutorial, teach CSS not comfortable beginners two ways to achieve the color of the different colors of the CSS function. You know, interlaced color of the object is
First, use the Style property: Add the Style property directly to the individual component labels. &NBSP For example: Advantages of this usage It is a smart application style in each label, but the disadvantage is that there is no "uniformity"
This seems to be an unnecessary function, but for people who have always liked individuality, this is a useful attempt, like a challenge, to collect innovation. Text selection on the Web page, usually the blue background, which appears to be
If you are a webmaster, you must want to enhance their website portability, and code simple, clean, now all the sites, 80% are using DIV+CSS to frame.
Perhaps everyone will write, or use CSS, but many times we may not consider, resulting in code
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
For Div
1. (ie browser) white-space:normal; Word-break:break-all, where the former is to follow the standard.The code is as follows:
#wrap {white-space:normal; width:200px;}
Or
The code is as follows:
#wrap {word-break:break-all;width:200px}
April Fool's Day is coming, if you want to have a geek joke with friends or colleagues who want to surf the internet, try these CSS. Disclaimer: All the consequences of the spoof, please the person responsible for the hoax. This site does not assume
such as a container (Body,div,span) set a background. The height-to-width value of this background cannot be modified until css2.1.
So the actual result is only repeated display, so there are repeat,repeat-x,repeat-y,no-repeat these properties. is
How to make a Web site to create a navigation blue effect is the first overall layout statement. The wildcard "*" means that, without special declaration, the margins and padding for all elements are zero.
We set the UL unordered list nav
A. Background-position:left top;
The upper-left corner of the background picture is aligned with the upper-left corner of the container (container), and the excess is hidden. Equal to the background-position:0,0, also equal to the
The overflow attribute of CSS has four values: visible (Default), hidden, scroll, and auto. Similarly there are two overflow sisters attributes Overflow-y and overflow-x, which are rarely used. Let's take a look at each of these values and discuss
The following techniques are believed to be more practical, so that a line of text always appear at the bottom of a Div, do front-end development, certainly what the situation will be encountered, although this is not commonly used, but also will be
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
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