This cssreset was modified based on EricMeyers, and the initialization style of the corresponding tag was adjusted for html5. This css reset was modified based on Eric Meyers's CSS reset, and the initialization style of corresponding labels was
Css conquer Selectors 1, Css conquer SelectorsSelectors)
--------------- Refer to css learning in MDN.
First, there are many css selectors, but in general there are two types:
Tag selector ~ Single tag
The name of a single tag. You can use this
CSS The syntax formatL A CSS rule with "selector" and "format declaration statement" CompositionL Selector: Just choose HTML tag, in other words, add style to that HTML tagL Format Declaration statement: consists of {}, and is a variety of format
most of the tags in the HTML have some bad style, some of the tags naturally come with, some browser default settings, we are writing Web pages, these default styles will occasionally jump out of the mess, make us very helpless. So when you write
1. What is CSS, refers to the overlay style sheet, control the appearance of the page display.2. Three ways to introduce CSS, external links, internal links, inline, respectively, the syntax is, ,,style= "Property: Value"The 3.css selector, the
This effect needs to be achieved in project developmentTwo more lines, two lines at the end of the ellipsis, and the ellipsis followed by the drop-down morePreviously used is html.fromhtml to deal with the picture and text mixed, just the words
These two functions are used to input relevant data in the pop-up box. It is very useful in ECC.
The former can obtain a batch of input data, while the latter can only obtain one data. In fact, the latter also calls the former in the function.
Paste
// ========================================= Write a separate as class to obtain the verification code ================ ====
Package File{Public class flexcode{Public Function flexcode (){}/*** Obtain the verification code based on the given number
1. CSS simplified font rules
When CSS is used to define the font, you may do the following:The following is a reference clip:Font-size: 1em;Line-Height: 1.5em;Font-weight: bold;Font-style: italic;Font-variant: Small-caps;Font-family: verdana, Serif;
ArticleDirectory
Issues you need to pay attention to during development
Note:The "majority" mentioned below refers to the 50% or more mobile phones in the model we have tested, and the "portion" is 20% to 50%; "minority" is 20% or
1. Obtain the system time:
2. Obtain the IP address used for access:
3. Obtain the system and browser version:
4. Remove ie hybrid Bars:
5. Enter the website and jump out of the advertisement:
6. Random Number:
N is a changeable
1. Simplified CSS font attributes V ~ Xwa & D = 'lwxc In general, CSS is used to set the font attributes as follows: 2j6wh? H? % 1 m {&~ Im Font-weight: bold; 3tbb3l ['l # NQA + J PP Font-style: italic; '+ X '~ Oe7 32 24pql & Font-varient:
Make a webProgramCan modify as few programs as possibleCodeIn this case, it is necessary to easily develop skin and switch skin. No one wants to change the logic code.
The implementation of a qualified skin mechanism should be as follows:
Weight:
1. The value of a tag is 1 point.
2. The value of a class selector is 10 points.
3. The value of an ID selector is 100 points.
4. The value of a built-in style is 1000 points.
The weight problem is that if there are three fonts or
======= Common htmlCode========
------ Alignment of image and text ------
# = Top, middle, and bottom.
------ Alignment/layout of images on the page -------
# = left, right, right. The text is shown below the image. the
High style sheet priorityI. background and prospects
Background-color: # f90;/* Background color. The style sheet has a high priority */Background-image: URL (PATH);/* set the background image */Background-Attachment: fixed;/* The background is
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
CSS font Properties
Please stop attacking this site! Thank you.
ASP Learning Network
The original document should be a CSS manual compiled from Shen Xiaoyu.
CSS font properties font attributes
--------------------------------------Font PropertiesCSS
CSS compatibility with various browsers is already a common issue, and tutorials on the Internet are everywhere. The following content is not too novel. It is a personal summary and I hope it will be helpful for beginners.
I. CSS hack
The following
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.