This article mainly introduces the solution of the level (Z-index) problem caused by margin negative value, the friend who need can refer to the following code:
Copy Code
The code is as follows:
Scripting House
Under IE6 and IE7, the inner
This article mainly introduces the CSS to solve the display:inline-block, the resulting gap (gap) method, has a certain reference value, it is necessary to understand.
Today in doing H5 horizontal sliding cards used to display:inline-block, but
To reconstruct or develop a webpage on a mobile device, the first thing to figure out is the viewport on the mobile device, only to understand the concept of viewport and to figure out the use of META tags related to viewport, To better enable our
font-weight: normal; font-weight: normal; The difference between serif and Sans-serif fonts
On the computer screen, Sans-serif fonts are considered easier to read than serif fonts
CSS Font
In CSS, there are two types of font family names:
Universal
When a style sheet is read, the browser formats the HTML document according to it.
margin: 20px 0px; padding: 5px 5px 5px 10px; margin: 20px 0px; padding: 5px 5px 5px 10px; How to insert a style sheet
There are three ways to insert a style
ID and Class Selector
If you want to set CSS styles in HTML elements, you need to set the "id" and "class" selectors in the element.
ID Selector
The ID selector can specify a specific style for an HTML element that is labeled with a specific ID.
The
This article mainly introduces the CSS style inheritance and cascading related materials, the need for friends can refer to the following
One: Basic Selector
Tag selection: Select from the tag name on the page to apply the style directly to the
This article mainly introduces the use of CSS3 pseudo-elements to achieve a gradual glow of the box border of the relevant data, the text gives a detailed sample code for everyone to reference the study, for everyone has a certain reference learning
CSS has a lot of features, here, small series to share the CSS in the eight tips.
1. Compatible with all browsers display translucent effect method
.transparent { Filter:progid:DXImageTransform.Microsoft.Alpha ( OPACITY=50); -moz-opacity:0.5;
Suddenly there is a need to do a ring of audio playback progress bar (effect), oneself pondering tried for half a day, also did not realize. Finally Niang a bit, just know CSS also has a clip attribute, perfect to achieve the requirements. Share it,
Z-index
The Z-index property in our commonly used CSS is to set the stacking order of the nodes, which is a common understanding of the Z-index properties. At the same time, we always blur the concept of stacking order, which can lead to problems
Wrote so long CSS, but most of the front-end er are not in accordance with good CSS writing code to write CSS, this will affect the code reading experience, here summarizes a CSS writing specification, CSS Writing order for everyone to
The concept of pseudo-class and pseudo-elements in CSS is easy to confuse
Let's talk about the difference between pseudo-class and pseudo-elements today.
Defined
First look at the definition of pseudo-class and pseudo-elementsThat's how they
This article mainly describes the use of HTML5 and CSS3 form verification features, the need for friends can refer to the following
Client-side validation is one of the most common features of web client programs, and we used a variety of JS
Htnl and htnl naming rules
Html naming rules
I. Notes:
1. All are in lower case;
2. Try to use English;
3. Do not add hyphens or underscores;
4. Try not to be abbreviated, except words that can be understood without looking at them.
Main master.css
Basic knowledge, knowledge
Position attribute: Specifies the positioning type of the element. That is, the elements are displayed anywhere on the page.
①Absolute: Absolute positioning; separated from the layout of the Document Stream, the remaining
Blog system based on express + mongodb + pug-pug, mongodbpug
I wanted to build a blog myself a long time ago. I started to use hexo + github, but it was always troublesome to change my computer. Later, I used WordPress, but I always felt that I had
Scalable page layout
In the previous article, "css implements two columns of layout, one column of fixed width and one column of width adaptive method", mainly about implementing a column of fixed width, adaptive methods for one column width.
Below
CSS pre-compiler: Sass (Getting Started), faster front-end development, and csssass
Sass extends CSS3 and adds features such as rules, variables, ing, selector, and inheritance. Sass generates well-formatted CSS code, which is easy to organize and
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