Browsers are getting more and more, which means that the more difficult it is to do the Web front-end development. Now the core of the browser is the same, for the compatibility of CSS will also have a certain difference! Used to talk about using
1. Use link tag
2. Use the STYLE element
3. Use @import instruction
4, using the Style property inline style (inline style)
It's a red word.
In practice, inline styles using the style attribute are deprecated, and XHTML1.1 has set its standard
In HTML, if you don't specify a certain width, the block-level element itself is stretched vertically. Imagine an unordered list. The list expands itself to accommodate all of its manifest elements. If the user adds a font size to their browser, the
The white-hot rivalry between browsers means that more and more people are now starting to use devices that support the latest and most advanced Web standards for the Internet, in a more interactive way. This means that we are finally able to use
Background picture background images has many properties to manipulate.
Fortunately, you can use background to handle all of the following:
The following attributes are merged:
You can set a background picture for most HTML elements, not
The main role of C s in this chapter
This chapter is about text-related CSS directives. Usually a Web site is the most content is text, through these text-related CSS directives, you can make your Web page content beautifully formatted. This
css| menu Many of the application's main menus have this effect, usually dark, once the mouse moved to the menu, immediately brighter; the mouse is not on the menu is flat, once the mouse moved to the menu, the menu bar immediately into
Description
Let's first see what the problem is.
result diagram:
Maybe you don't think it's weird, we'll see a.style what it is,The above is a part, not all cut out, because it is too long, mainly to say, in a.style this object did not
The absolute positioning element is not rendered in the normal content stream, so margin:auto can make the content pass through top:0; left:0; bottom:0;right:0 the vertical center within the set boundary.
Centering mode:
First, inside the container
I. Understanding CSS colors (CSS color)
Here is to introduce the page settings color contains what, page color specification.1. Common color places include: Font color, hyperlink color, page background color, border color2, color specification and
CSS3 Animation
There are three properties for animating in the CSS3 property: transform,transition,animation; We have finished studying together Transform and Transition, let's have some basic animation effect on the elements, I think it's enough
For developers, float floats need to be used frequently, basically without it, but often endure the pain it brings to you, perhaps you think it is a little knowledge, but you really can control it? CSS float float is what we say tagged objects float
Often see such a sharp angle, previously did not understand, thought are made out of pictures, and then surprised to find that many of them are made with CSS, both beautiful and save resources, really the both worlds!
So, how do you do this with
All background properties cannot be inherited.
1. Background-color
All elements can have a background color set.
The default value for Background-color is transparent; that is, if an element does not specify a background color, the background is
The difference between max-device-width and max-width in a responsive Layout,
I have studied the CSS of multi-screen adaptation and responsive layout.First Writing Method
1 @media screen and (max-device-width: 320px) { 2 3 } 4 5 @media screen and
New Css3 attributes: calc () and css3 attributes calc
I. Preface
Calc () Looks like a function in javascript, but in fact it is used in Css and can be used to calculate the length (width or height ), it can automatically adjust the value based on
CSS reset and cssresetPrevious
Most of the time, as the front end, we need to add a copy before writing the CSS style.reset.css. CSS reset is not only used to clear the default style, but also a global style definition. If the CSS reset is not
Let's talk about some interesting CSS questions (13)-cleverly create a gradient animation of the background color !, Css gradient
Start this series and talk about some interestingCSSQuestions and question types are not empty. What to think of is not
Stardom CSS3 tour-CSS basic style-CSS background, stardom css3 tour-css
CSS background
1. Background
CSS allows the application of solid colors as the background, and allows the use of background images to create quite complex effects
(1) set the
JQuery's hover method works with css's hover selector to highlight selected elements. jqueryhoverProblem description:
Today, I met the following requirement to help my sister develop a webpage:
Do not move the mouse to the table. The transparency of
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.