What is a web-responsive website? The responsive site is the Web browsing CSS based on the screen width, automatically adjust the page p display and layout, to adapt to different size screen optimization browsing experience. First look at a
We all know that link and @import can introduce CSS style sheets, so what's the difference between the two? Let's talk about their respective links, then tell them the difference.
Link link in the way:
@import Import Method:
Priority:
CSS page layout is the most basic skill of web front-end development, this article will introduce some common layout methods, including box layout, column layout, flex layout and so on. In this article, you can see some methods for horizontal
This article mainly introduces the font smoothing and anti-aliasing rendering in CSS3, which has a certain reference value, the small partners of interest can refer to it.
While watching the official Drupal theme, I found an interesting
Remember before sharing a CSS3 picture suspended large effects, the effect is very good. Today we are going to share a similar CSS mouse slide over the magnification of the outstanding effect, but before that is the picture, this time is a color
Position has the following properties: Static, Inherit, fixed, absolute, relative
The first three good understanding good differentiate:
Static: Is the default state, there is no positioning, the element appears in the normal stream (ignoring top,
Custom
The underlying text shadow effect, but applying the Text-shadow attribute can give a lot of fancy results. Note: ie9-does not support this property.
Syntax
Text-shadow:h-shadow V-shadow Blur Color;h-shadow: Required. The position of the
This paper mainly introduces the difference and use of PX em rem in CSS. Has a good reference value. Let's take a look at the little series.
Recently, when learning fonts with font size settings, font-size units can be px or em or REM, so what is
Another example:
These small pictures are the entire image after the segmentation of the various parts, the various parts placed on a picture, rather than separately stored as a separate picture, the purpose we all know, is to reduce the number of
1. Precedence of CSS Styles
There are many ways to use CSS styles in HTML
External reference method
CSS style statements that control HTML directly from the tag
You can directly write CSS to control the tags you want to control.
Priority
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
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,/*
A workaround for a blank bug on the right side of the CSS background when a small window appears (compatible with each browser)
Workaround:
Add the following two lines of code inside the CSS to make it your own judgment:
Width:expression
CSS is one of the most useful ways to separate the expression of code from the actual content, and it is also a way to optimize the search engine, usually a set of CSS style standards are created in the site design, which are stored in a separate
What is CSS Hack?
Different browsers have different parsing results for CSS, which will result in different page effects for the same CSS output, which requires CSS hack to solve the browser-local compatibility problem. The process of writing
Now in the design of websites and apps
increasing emphasis on user experience, and good mobility can make your application more interactive, attracting more users. I usually add some to the website
Simple and consistentAnd the technology I use
Floating
1. What is floating
Floating occurs when the attributes of an element are float not none .
float
. float { float:left; width:100px; height:100px; Background-color: #ddd;}
2. Impact of floats
Floating causes the element to flow away
From the perspective of project requirements, use the pure CSS solution to solve vertical center and css Solution
CSS is the scissors for HTML elements. It greatly enriches the modification of web pages. Among the many common CSS style requirements,
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