This article is mainly for everyone to explain the CSS commonly used to manipulate the image of the relevant information, the need for friends can refer to the next
body{ background-color: #0078b3;}. image{ border:1px solid darkgray; Width:
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
This article mainly introduces the CSS to solve the floating, clear floating several methods: 1, set the parent element height, 2, overflow;3, add child element (block level), and set its clear property value of both to solve (partition method,
solve the problem without regard to compatibility, the topic of unrestrained, think of what to say, if there is a problem you feel the unusual CSSProperty
, hurry up and cram it.
2, similar to the following figure, only use a label, you can have
Brief tutorials
This is a pure CSS3 arrow button style based on the bootstrap. This button creates an arrow button pointing to the left or right by modifying the button style of the native bootstrap.
Installation
You can install the bootstrap
How do I set the horizontal center?
Inline and block-level elements in two different situations
1. Inline elements (piece text)
div.textcenter{ text-align:center; } hello joe!
2. Block-level elements
The horizontal center of block-level
First, Border shadow
Standard syntax:
Box-shadow:h-offset v-offset blur spread color [inset], ...
[Offset to right is positive, negative on top left]
A, if there are multiple shadows, separated by commas, and then stacked down, first written on the
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
1. The standard flow is the way the default layout of the browser is, that is, from the top down to the left-to-right default schedule layout.
2. Layout method
2.1 The nature of floating: Solve the problem of formatting the picture with the text
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
Properties of the border
1.border-width: Percent not supported, support keyword, thin (1px), medium (default, 3PX, default is 3px because Border-style is only valid if border is 3px and above
Fruit), thick (5px)
2.border-style: There are different
[Guide] Selector grouping You can group selectors so that the grouped selectors can share the same declaration. Separate the selectors that need to be grouped with commas. In the following example, we group all the header elements. All the caption
CSS's margin boundary superposition problem and solution (conversion), cssmargin
Introduction to border superposition
Border superposition is a simple concept. However, it may cause a lot of confusion when layout webpages in practice. Simply put,
CSS3 transition browser compatibility, css3transition
1. Compatibility
According to canius (http://caniuse.com/#search=transition), transition compatibility is shown in:
1 2 3 4 21 22 23 24 25 26 move the cursor over the blue div
Download file IE compatibility processing, download compatibility
Shows the download compatibility based on CANIUSE (http://caniuse.com/#search=download:
As shown in, ie does not support this function.1. Test code:
1 2 3 4 5 download file
CSS3 Study Notes and css3 notes
Lesson 1:Background-attachment: fixed background image not scrollingBackground-image: url (""); repeat allowed by defaultBackground-repeat: no-repeat-x repeat-yBackground-position: right; // = right and
CSS floating, css clear floating
1. The standard stream is the default layout of the browser, that is, the default shift layout from top down to left to right.
2. Layout
2.1 floating nature: solves the problem of image and text format side by side.
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