CSS and JS with parameters (such as. css?v= and. js?v=)
Copy code code as follows:
There are two possible uses of parameters,
The first, the script does not exist, but the server side dynamically generated, so with a version number, to show
Webstorm with less, but to compile the words need NODEJS environment. First go to Node's home page to download the corresponding version of Nodejs and then install, download address: http://nodejs.org/After installation, open a command prompt (win+r)
Compared to the XPath selector, it's easier to feel a CSS selector, which is basically the same as writing. CSS, which is different from XPath when getting content.
Here's how to extract data from an article with a CSS selectorThe extracted data
Django Add js,css, pictures and other external files method
by White Shinhuata (http://blog.csdn.net/whiterbear) reprint should indicate the source, thank you.
When using Django to build a Web site, you often need to use some external files, such
CSS file named Global.css, generally this CSS file is used to install the entire station main framework CSS style code and initialization of CSS style.
The initialization CSS code is usually placed as follows:
Body, DIV, UL, ol, DL, DT, DD, Li,
The button's look also optimizes and optimizes the drop to make it more beautiful. button style (BTN) button style (btn1_mouseout) button style (Btn1_mouseover) button style (btn2) button Style (btn3_mouseout) button style (Btn3_mouseover)
Body{color: #666666; font:12px Arial, "Song Body";} /* This defines the size, font, and color of the font that is common to the entire page; */A:link,a:visited{color: #666666; text-decoration:none;} /* Defines the styles of all links (i.e. a tags)
The scroll bar style mainly involves the following CSS properties:
Overflow property: Retrieves or sets how content is displayed when the object's content exceeds its specified height and width
Overflow:auto; The content is automatically added to
Scrollbar-face-color: #FFFFFF; ' The color of the bulge section of the scroll bar
Scrollbar-highlight-color: #FFFFFF; ' The color of the blank part of the scroll bar
Scrollbar-shadow-color: #FFFFFF; ' Color of the solid scrollbar shadow
Scrollbar-
In IE, only the class for which the DIV is specified is float:left with the float property
In the FF, the first specified div follows the translation, so you can add
. clear{Clear:both;}
CSS in height:19px!important; height:21px; In IE is not
rem vs em
As the relative length unit of two, are based on a multiple relationship length, but the reference is not the same, here the case analysis of the difference between the two:1,em reference Multiples object is its own font size, font-size,
Static
The default value, the element appears in the normal stream. Default value, so there's nothing to say.relative
Let the element move relative to its starting point by setting the horizontal distance (left/right) or the vertical distance
The method of DIV+CSS two-column adaptive height-htmer
Content 1
Contents 1 Right content 2 Right content 3
Description: In fact, to solve the div+css about two columns height adaptive method is to pay attention to two points: first, the
The -9999 PX Image replacement technology has been popular for the best part of a decade. To replace a text element and an image, you can use the following code:
this Text is replaced
The background of the element is displayed and its text is
1. There is a code like this:
your will guide you to pay PO, follow the instructions of Alipay to complete the payment operation. So in a block-level element, to achieve the center of the IMG, we can not directly to the absolute positioning to
1. Change the page all
2. Eliminate links on the page dashed box3. Using CSS custom attribute expression to bulk define table row interval background4. Control the alignment of the tableDefine a pseudo-class in CSS:.
This article to share is about CSS How to customize the scroll bar (code), the content is very good, the need for friends can refer to, hope can help everyone.
Html↓
Css↓
. test { display:inline-block; margin:60px 40%; width:280px;
This article to share is about how to use CSS and JS Mobile to judge the status of the phone screen, the content is very good, the need for friends can refer to, hope can help everyone.
To disable the user auto-scaling feature:
There are two ways
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