1 a: Link{
2 color:red;
3}
4 a: visited{
5 Color:orange;
6}
7 a: hover{
8 Color:green;
9}
Ten a: active{
One color:black;
}
: Link says the user has not clicked on the link's style. It means "link" in English.
: Visited says that the user has
: The not pseudo class selector can filter elements that do not conform to an expression
Example
Table Tbody Tr:not (: first-child): Not (: Last-child) TD
{
text-align:right;
}
The above code can select the Tbody part of the table table
First, jquery set CSS style
Test jquery Dynamic Acquisition padding-left
1, using the CSS () method to return the style attributes of the element
$ ("div"). CSS ("Padding-left");
2, with CSS () to set the style
$ ("div"). CSS ("Color",
Less is a dynamic cascading style sheet language designed by Alexis Sellier, influenced by sass, and also affects the new syntax of sass: Scss. Less is open source and the first version is written in Ruby, but in subsequent releases Ruby is
1. Force text line display:
White-space:nowrap;
Multiline text last ellipsis:
Display:-webkit-box; -webkit-line-clamp:2; Overflow:hidden; -webkit-box-orient:vertical; Text-overflow:ellipsis;
2. Set overflow text to appear as an ellipsis tag:
The role of Less
CSS cascading style sheet, which is a markup language, not a programming language; All precompiled CSS languages (Less/sass ... is an object-oriented idea that has been given CSS
Compilation of Less
Less is
This article gives you the content is about the bootstrap dynamic modal frame and static modal frame code implementation, there is a certain reference value, the need for friends can refer to, I hope you have some help.
To use the bootstrap
Most sites are made up of multiple pages, and rarely consist of a single page. So many pages need to be related to paging functionality. This article will introduce you to the CSS paging settings and CSS page code to implement the implementation of
This article brings you the content is about how to use CSS and D3 to achieve the effect of cycloid swing animation, there is a certain reference value, the need for a friend can refer to, I hope you have some help.
Effect Preview
Code
This article to share the content is about how CSS to realize the size of the elements of the vertical horizontal Center (code), there is a certain reference value, the need for friends can refer to, I hope to help you.
Idea: Sub-element absolute
This article brings you the content is about how to use CSS and D3 to achieve the text of the heart-shaped animation effect (with code), there is a certain reference value, the need for a friend can refer to, I hope you have some help.
Effect
This article brings you the content is about how to use pure CSS to achieve a non-dom elements of the animation effect, there is a certain reference value, the need for friends can refer to, I hope to help you.
Effect Preview
Code
This article brings to you the content is about the CSS link (link) and list (list) code analysis, there is a certain reference value, the need for friends can refer to, I hope to help you.
a:link{ Color:cornflowerblue; Text-decoration:none;
This article gives you the content is about the CSS box model of the two models of a simple introduction, there is a certain reference value, the need for a friend can refer to, I hope you have some help.
Basic concepts
Box model has two
This article introduces you to the content of the CSS in the Display:flex attribute to achieve vertical center of the code, there is a certain reference value, the need for a friend can refer to, I hope you have some help.
Before this element is
When we use the mouse to swipe through the web, will always be a sudden change of the image to attract attention, which greatly improve the user experience, resulting in higher efficiency. Then this article is mainly introduced with CSS how to
In the process of website construction, CSS is an important property to control the style of Web pages. Then this article will give you a summary of the CSS class selector and CSS priority high and low ranking of the relevant knowledge.
First of
This article mainly describes how to use CSS to achieve the image amplification function, that is, the use of the mouse to slide over the picture so that its hanging large, moving back to normal size, the overall cool special effects can attract
This article introduces to you about how to solve the mobile fixed element does not display the problem, there is a certain reference value, the need for friends can refer to, I hope to help you.
A few weeks to the company app made a HTML5 nested
This article introduces to you about the introduction of CSS in the three ways of simple introduction, there is a certain reference value, the need for friends can refer to, I hope to help you.
There are three ways to introduce CSS: internal style
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