When making a Web page form, if an option is required, an asterisk is usually added to the option, such as WordPress's comment form:
Name *
Then add a little CSS style to the asterisk:
. Form-group span.required {Color: #999;font-size:150%;}CSS
For a long time did not study CSS, all day with a variety of frameworks do not need to write their own, and recently to do a photo album page, encountered the first problem is how to arrange.
Give the design draft first and then say how the style is
Map code for all provinces in China written in pure css Xinjiang Tibet Qinghai Gansu Inner Mongolia Heilongjiang Jilin Liaoning Shandong Hebei Shanxi Beijing Tianjin Shaanxi Ningxia Henan Jiangsu
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,
Should CSS styles and JavaScript scripts be placed in external files?Or put them in the page itself?How to deal with these problems is a reflection on some performance rules.In practical applications, using external files can increase the page speed,
6.1 Getting Started with CSS6.1.1 What is CSS?CSS (Cascading Style Sheet) is a standard method for formatting web pages. It extends the HTML function so that web designers can set the webpage format more effectively.6.1.2 unit of CSS attributes6.1.2.
Transparency often produces good web page visual effects. First, we provide CSS transparent code compatible with mainstream browsers: The code is as follows:Copy code . Transparent_class {Filter: alpha (opacity = 50 );-Moz-opacity:
Private Properties of IE: The code is as follows:Copy code Scrollbar-arrow-color: color;/* color of the triangle arrow */Scrollbar-face-color: color;/* color of the three-dimensional scroll bar (including the background color of the arrow
To solve the offset problem, use two attributes: padding-top and maring-top.Padding-top is used to solve the offset between the anchor area and the top.Margin-top is used to solve the unnecessary offset generated by setting padding-top between the
The at (@) rule injects all CSS rules into a compression capsule and applies them to specified items. Oh.ImportImport at rules will be swallowed into another style sheet. For example, if you want to add another style sheet to an existing one, you
The overflow, overflow-x, and overflow-y attributes can be used to manage content that exceeds the container size. For example, indicates that no horizontal scroll bar is displayed on the page.But when used! DOCTYPE declares that when the standard
Web developers can identify divs and other format page elements by creating CSS classes and id names. For developers, when naming and redefining CSS selectors for XHTML tags (tags), they must ensure that they exactly match the predefined tags, but
The code is as follows:Copy code Top Right Banner Style# Topright {Position: absolute;Right: 0;Top: 0;Display: block;Height: 125px;Width: 125px;Background: url(TRbanner.gif) no-repeat;Text-indent:-999em;Text-decoration: none ;}Top Left Banner
Tip: you can modify some code before running Nice javascript css tab menu effect与之间-->与之间-->Tab [1]Tab [2]Tab [3]Tab [4]1. After completing the preceding steps, a basic CHM file has been created. You can complete some functional settings before
Tip: you can modify some code before running Pure css + div classic navigation menu codeHomeSingle LevelDropdownDroplineFlyoutSupportContact Tip: you can modify some code before running
Tip: you can modify some code before running Javascript + css tab switch menu effectJavascript + css tab switch menu effectBack to topProduct DescriptionSpecification parametersPackaging InformationWarranty terms Warranty terms
A new feature of flashMX2004 is to load external CSS files and apply them to flash text. Now there is a new class (Class? Because the new ActionScript2 is a class-based scripting language): TextField. styleSheet class is the several methods of this
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