That's why when I configure Dispatchservlet in Web. XML, js,css and even gif don't display properly.Let's take a look at our configured Web. xml123dispatcherServlet4class>org.springframework.web.servlet.dispatcherservletclass>56contextConfigLocation7
The form of 2D transformations in CSS is this:
Selector {transform: conversion function (parameter, parameter);}
Where transform ( is transform not transfrom) defines the element 2D or 3D conversion;
There are five main categories of functions for
Common property and attribute values for box models
/* Basic Properties */padding:padding-left/right/top/bottomborder:border-left/right/top/bottom Border-radiusmargin: margin-left/right/top/bottom/* positioning */position //Put an
Common wording:
The following summarizes the classification of common responsive layouts:
@media screen and (max-width:320px) { #talkFooter. editarea{...}} @media screen and (min-width:321px) and (max-width:375px) { #talkFooter.
1. Add a tag to the page (HTML) (back to top hyperlink)
Top
2, add CSS style (can be written in the page, can also be written in a separate CSS style table)
. cd-top { display:inline-block; height:40px; width:40px; position:fixed; bottom:40px;
This article mainly introduces the CSS Box-shadow to achieve curved edge shadow and the edge of the shadow, small series feel very good, and now share to everyone, but also for everyone to do a reference. Let's take a look at it with a little
This article mainly introduces the CSS3 calc () to do the response pattern Layout implementation method, the need for friends can refer to the following
Rem method
Calc () Literally we can interpret him as a function. In fact, Calc is the
First, let's do some understanding of the salutation in the elastic box.
, the elastic box is divided into two axes, one is the spindle, one is the cross axis, the spindle direction can be changed (left and right), the direction of the spindle
Not very beautiful, but want to put this part of the JS code up, I turn to play.
. Box { width:240px; border:1px solid #000; margin:100px Auto; padding:20px; }
. con { width:100%; height:200px; Background-
Background color, in addition to solid color, you can use a variety of color combinations to become the gradient background color, make the page rich.
The gradient background is divided into two types:
1, linear gradient;
2, annular
Single Row layout
Center horizontally
parent element Text-align:center; child element: Inline-block;
Advantages: good compatibility;
Insufficient: You need to set both child and parent elements Horizontal Center 1
CSS More and more widely used, cascading style sheets have many advantages that the table layout does not have, first from the layout or page design and the information appearing in the page is strictly separated, so that the design of the page can
Setting a background image for a picture is a very practical example. This sentence may feel a little fun. We set up a background image for a picture that introduces a page with an IMG tag.
The functionality of CSS is very powerful, for the
Provide some learning suggestions and routes for those who want to learn the web Front-end.
First, in today's front-end market, if you are too worried about finding a job and learning it, you will not be able to find it. There is a very simple truth.
Summary of mobile Web Usage of unit rem, webrem
I have recently written a lot of h5 pages and web project development projects, but for the Adaptive Layout settings, there has been no unified standard in the team, and it is likely that there are no
CSS secrets (1) coding techniques-DRY and cssdry
1. DRY -- (Don't repeat yourself) It is one of the greatest elements of code maintenance to be edited to minimize changes.
2. instance:
1 .content button{ 2 padding: 6px 16px; 3
detailed description of tags and detailed description of meta tags
I. label definition and usage
elements provideMetadata(Meta-information), located inBetween the header and , Does not contain any content. the tag attribute defines the
CSS automatically adapts to the screen resolution width, and css screen resolution widthAutomatic Adaptation of CSS based on screen resolution width
The first method is to select CSS for js.
The second method is CSS 3.
Allow Automatic Webpage Width
Css3 selector weight (Part 1), css3 Selector
In fact, the notes I have written in these blog posts are the notes I wrote when I learned a long time ago, but I didn't have the habit of writing a blog before, so I wrote them all when I needed them
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