This article is mainly for everyone CSS basic style table detailed introduction, with a certain reference value, interested in small partners can refer to
A.css Table properties can help us to greatly improve the appearance of the table
B. Table
Recently, when learning fonts with font size settings, font-size units can be px or em or REM, so what is the difference between these units, how to use it?
PX is the basic sampling unit of a pixel image, relative to the screen resolution of the
The contents of this chapter:
Knowledge Point One:
Box models: The box model consists of four components with content (element contents), padding (padding), Border (border), boundary (margin), and these four sections contain top/right/bottom/ Left
Ways to import external CSS style sheets
Import an external CSS style sheet using the link tag
Import (import) an external style sheet in a style sheet@import url("/crazy-html5/06css/css/demo01.css");
Using an internal style sheet
An
CSS (cascading Style Sheet)
Cascading in cascading style sheets means that styles are passed from one level in the document structure to another, and that the browser determines which source's style attributes are applied to a tag in many
The box type affects rendering and layout, and there are two basic box types: block-level (block-level) and inline-level (inline-level). In fact there are other types of boxes (such as table, List-item, etc.), but will eventually be treated as block-
This is a circular button made using the CSS3. The effect looks very simple, in fact, the production is very simple, mainly the use of radial gradient, as well as the @font-face to achieve the icon effect, of course, it also leaves no other
Today found in Dreamweaver can format CSS code, so that the code will not be so messy, should be in the site revision, found that the original CSS code case is inconsistent, formatting and indentation is inconsistent. It's much easier to format with
First, describe the difference between ID and class:
1, ID is a label, used to distinguish between different structure and content; ID is to find the structure/content, and then define the style; class is a style that can be set on any structure
This article is mainly for everyone to explain the CSS style to the global definition of the content of the relevant information, the need for friends can refer to the next
/** clear inner margin **/body, H1, H2, H3, H4, H5, H6, HR, P, blockquote,/*
CSS Control div fixed at bottom of browser
Note: This feature is only used for pages with a small page height.
The code is as follows:
bottom
Find a better one on the Internet:
When the browser window is zoomed out infinitely, dragging the scroll
The difference between margin and padding:
When we think of a Web page as a wall, the content of the page can always be summed up by a box,
By taking out a box alone, you will find four parts: margin, border, padding, and content.
is the red line
Practice One:
1, class selector use exercise:
class Selector Use example no class selector effects class selector red effects class selector Blue effects Same category The selector can be used on a different marker
2. Effect:
3.
Overview of how CSS is laid out
The way CSS layouts are divided into parts
How CSS is laid out
Layout inside the box
Layout of text
The layout of the box itself
The layout between the boxes visual formmatting
BFC
This article is mainly for you to introduce the element horizontal vertical center of the CSS3 implementation of the code, with a certain reference value, interested in small partners can refer to
Words don't say much, the code is as follows
Flexbox usually allows us to better manipulate the layout of his child elements, for example:
If the element container does not have enough space, we can set them on the same line without having to calculate the width of each element;
Can quickly
This article is mainly for everyone in detail four kinds of state CSS pseudo-class, with a certain reference value, interested in small partners can refer to
colajia kkkkkkk
Definition and usage
The Left property specifies the right edge of the element. This property defines the offset between the left margin boundary of the anchored element and the left boundary of its containing block.
Note: If the value of the
CSS font properties Define font family, size, bold, style, and warp for text
Second, the attribute
font-family Set Font family
Font-size Setting the font size
Font-style Setting font style
Font-variant display text in a small uppercase font or
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.