1, whether to be intercepted, this in the Web. XML Configuration servlet interception is "/", if it isA. Using the spring MVC static resource file /image/ " mapping=" /image/** /> " /css/ " Mapping= " /css/** " /> /js/ " Mapping=" /js/**
Today, when it comes to encapsulating a library , I find that I want to get the CSS property of the node, if we don't write the style of the line, but write it through link, we want to pass the. Style. property in JavaScript , which is not available.
[Retina] The 1 px border on the mobile phone, and the value of the chain
1 pixel border, 2 "Placeholder" on the screen at 2x, 3 "Placeholder" on the screen at 3x, but the designer needs 1 "Placeholder"
1. content h1: after, 2. content h2: after {3
Front-end page framework construction based on mvc structure and mvc front-end framework construction
After one year of front-end development, I would like to share with you a little bit of development experience I 've learned from my practice.
CSS-review Tour (1) and css-review tour
CSS Overview
CSS refers to the stacked style sheet (CAscadingSTyleSHeets)
Style DefinitionHow to displayHTML Element
Styles are usually stored inStyle SheetMedium
Add the style to HTML 4.0Solve the
Here are the pseudo classes (before and after) and beforeafter1. before and after pseudo classes
Before insert a style before
Result demo
Insert style after
The result is
Ii. root pseudo classSets the underlying style, which can be used
Research on CSS currentColor
I just wrote a CSS variable trial. We learned that native CSS can be used to define variables and simplify the organization and maintenance of CSS writing and code optimization, however, the terrible compatibility
Analysis on the principle of CSS triangle drawing
When learning Bootstrap today, we can see the following triangle source code of the button:
.caret { display: inline-block; width: 0; height: 0; margin-left: 2px; vertical-align: middle;
Warning before page refreshing or closing, page refreshing and closing warning
Sometimes, to prevent users from accidentally refreshing or closing the page, the edited content is not saved. To give users more choices, you can add the following
Understanding about http status code 204 and status 204
HTTP status codes include 1xx (temporary response), 2xx (successful), 3xx (redirected), 4xx (request error), and 5xx (server error) five categories. Each category also corresponds to some
Matching between the rendering node and the selector chain when the CSS rule tree and the html dom tree synthesize the rendering tree
When the CSS rule tree in the browser kernel (typographical engine) and the html dom tree are merged into the
Css3 photo wall and css3 photo
A picture is scattered and scattered together. When the mouse is suspended, the image is rotated and scaled up. The effect is as follows (all images are from the network). The css3 attributes used mainly include:
CSS study Note 2
When we browse the website, we will click some links. These links have different effects before and after the point. These effects are implemented using the pseudo element selector.
Pseudo element selector:
Some selectors are
Onkeyup, onkeydown and onkeypress, onkeyuponkeypressOnkeyup, onkeydown, and onkeypress
The following code:
When you press enter, the focus is moved from the text box to the button. If you change it to "onkeypress", the focus will not be transferred
A pure css3 animation loading navigation, css3 animation loading navigation
I have previously introduced several navigation menus for you. Today I will introduce you to an animation loading navigation implemented by pure css3. When this navigation
Xml basics 02Next, let's take the last xml note 01 and record how to create xml in DOM. Because I didn't write a blog specifically, I recorded the notes using the annotation method in the program. It is inevitable that the format is incorrect, if
After the HTML page is loaded, adjust the height of the (textarea) element according to the content.
If my HTML contains a textarea element, I want to adjust its height based on the content after it is loaded. How can this problem be solved?
1.
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