The use of transparent and opaque styles has long been popular in the course of project development. By now we are very familiar with the effect, transparency effect is not only on the picture, there are all kinds of places are used to, with CSS can
Today, we are going to learn how to use simple CSS to create different types of planar graphics. Use the code rectangle. Rectangle {width:250px; height:150px; Background-color: #6DC75F;} triangles. triangleup {border-left:75px solid transparent;
1.
In our daily web development, the background property is used to define the background of the various display properties, in the actual application of the CSS process, usually use the background of the comprehensive properties of a one-time, such as
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, found an interesting non-standard
In CSS, we are common to the selector class, then for class usage and specification, we will make a summary:
About the 1.CSS Id and class selector
ID and Class Selector
If you want to set CSS styles in HTML elements, you need to set the "id" and
This article mainly for the introduction of let p overlap and in order to overlap the need for CSS to achieve, that is, CSS absolute positioning to implement, the need for friends can refer to the next to let p overlap and in order to overlap the
The Display property specifies the type of box that the element should generate.
This property is used to define the type of display box generated by the element when the layout is established. For document types such as HTML, it can be dangerous to
Before, the text on the page is relatively single, in addition to setting the size, color, thickness, there is no outstanding effects, of course, excellent text layout can make the page comfortable and warm, but when we need to make the page amazing,
According to conventional understanding, the effect of image processing should be the designer's tools, and even these things should be given to Photoshop and other design software to complete. However, with the development of CSS technology and the
To introduce the float float property of CSS, you must first look at the standard document flow
Standard document Flow:
In the absence of CSS intervention, block-level elements of a single row, you can set the width of the height, the elements
text-align: center">text-align: center">
about using CSS to achieve vertical horizontal centering of text and pictures
Have always believed that good memory is inferior to bad writing, recently encountered a lot of vertical centering, tidy up for
Hyperlink font color settings are set by CSS, a link color settings commonly used in the following two kinds, 1, hyperlink A's initial state color, 2, hyperlink font mouse over color, there are two kinds of diseases are not used: 3, hyperlink font
Instance settings elements the orientation of the elastic box elements is in the opposite order: p{display:flex;flex-direction:row-reverse;} The number in the effect Preview browser support table indicates the version number of the first browser
Div+css "This term is actually an inaccurate name in the first to make notes to correct a mistake, that is," p+css "is actually an inaccurate term, is the Chinese people to the layout of the standard page of the method, is not enough to understand
Difference between margin and padding in CSS, cssmarginpadding
In CSS, margin refers to the distance between its border and the border of another container, that is, the distance outside the container. In CSS, padding refers to the distance between
Parameter value changes and extraction when the less function is called in nesting mode.
Import base. less in a. lessA. less code
. Animate-ripple-ink {. animation (ripple. 5 s linear; {100% {opacity: 0;. transform (scale (2.5 ));}});}
Code in
IE678 solves the problem of pseudo-class last-child incompatibility, ie678last-child
For the following content, see segmentfault
To solve the compatibility problem of ie678, it is generally better to use less of the unique attributes of css 3 and
Css + div horizontal center, css div Center
Implement horizontal center of div content
Implementation Scheme 1: margin: 0 auto;
div{ height:100px; width:100px; background:red; margin:0 auto; }
div horizontal center
Js gets the parameter name and parameter value in the url. js gets the url parameterIt is rare to use js to obtain the parameter name and parameter value in the url, but I need to do so today. Next I will introduce the specific instance method.
When
H5 getting started, h5 getting started[Differences between block-level labels and row-level labels] 1. block-level labels: the default width is 100% (exclusive one line). Automatic line feed (NO content on the right side). You can use css to set the
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