Original article: http://blog.csdn.net/huang_xw/article/details/7300201
Experiment 4
first block area
second block area
third block area
fourth block area
The effect is
Add JS access control. Details Code As follows, JavaScript is used to modify the display attribute in CSS. The following code only demonstrates some simple principles. You can modify them based on your own needs. new document tab1
Every time CSS is written, it will pause, and how to write the sequence under the Organization, without careful analysis. After a long time, it will form the default habit, purely for the convenience of searching and rewriting, this is probably the
CSS can be defined in four ways:1. class. The name is preceded by a vertex. Note that the class is actually a property. If there is no other content before the vertex, it is global by default. If yes, it is specific to that object.2. ID, before the
1. Simplified CSS font definition rulesThe general writing method is as follows:
Font-weight: bold;Font-style: italic;Font-varient: Small-caps;Font-size: 1em;Line-Height: 1.5em;Font-family: verdana, sans-serif
In fact, you can write it in a more
Original article: http://blog.csdn.net/huang_xw/article/details/7300201
Experiment 1 first block area second block area third block area fourth block area
The effect is as follows:
View demo
Step 1. Create HTML
demo A New Age has begun... the Undead armies of the Lich King have been vanquished, and the campaign in northrend has come to an end.
Step 2. Create CSS
#
A good plug-in found on the internet is zoomy.Is a very easy-to-implement jquery plug-in, which can implement the image amplification function. In addition to thumbnails, you also need an image of the original size. The focus part here uses the css3
Introduction
Like HTML, CSS is also a markup language with simple code. It is interpreted and executed through a browser. It is a style table language used to define the layout for HTML documents.Purpose:
HTML is used for structured content; CSS is
:
HTML code:
company sales statistics table 2004 ~ 2007 /* Title */ /* line title */ 2004 2005 2006 2007 Hard Disk) /* column title */ mainboard) memory (memory disk) case) power)
On the Concept of Div + CSS another blog has been written a lot: http://blog.csdn.net/cjl5678/article/details/7606229
Next, I knocked on a small demo to enhance my understanding of Div + CSS and understand the usage skills in this area. The instance
Northeast China
North China
Southwest China
Northwest China
East China
South China
Central China
Dalian
Changchun
Shenyang
Harbin
Baicheng
Beijing
Tianjin
Shijiazhuang
Tangshan
Note: The original article was published during the Wenchuan earthquake in Sichuan. It was changed to the Yushu earthquake during the time synchronization.
2008-05-19 13:41:24Tags: website CSS web development earthquake black and white [{
Function
Create the struct of index page via csshere is the picture:
Here is the code:
Welcome"Never increase, beyond what is necessary, the number of entities required to explain anything." William of Ockham (1285-1349)Free Web Building TutorialsAt W3School.
I. Internal inline styles
inline CSS style
Inline CSS style: directly write the style in a tag (as the style attribute) stylesheets: the tool of the web design gods
Ii. Internal embedded Style
embedded CSS styles
Embedded CSS style: defines
I made a website a few days ago, and the front-end style was quite new. So I have to find several examples to do it. This is a blog homepage. Today I am practicing CSS + Div.
:
CSS + HTML source code
exercise CSS personal homepage
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