Not too good at summing up a very early things, suddenly feel all recorded, small demo is relatively simple, welcome to discuss correct.
Before the UI design draft selection box do not want the default style, the default style is too heart plug,
1, install the plug-in
NPM i style-loader css-loader--save-devnpm i postcss-loader--save-devnpm i autoprefixer--save-devnpm install Postcss-im Port--save-dev
Style-loader plugin: Add CSS to dom via inject tag
Autoprefixer adding prefixes
Horizontally centering an element in CSS is very simple: if it is an inline element, apply text-align:center to its parent element, and if it is a block-level element, apply margin:auto to it itself. However, if you want to center an element
The Background property can set the background style of an element, assuming that the element has a specific width and height value.
Let's start with a simple background setting:
#show-box { width:800px; height:500px;
Here is a brief introduction to the CSS in a more important!important attribute, from the author's practice summed up the following two points:
1. It is used to solve the situation that IE has deviation from some CSS specifications.
For example, in
This article to you to share a simple code to implement the CSS preload animation effect, very good, with reference value, need to refer to a friend
< ;p class= "Circle1" >
The first thing to know is that P is a block-level element that has a single line in the page, arranged from top to bottom, which is the legendary stream.
As can be seen, even if the width of the P1 is very small, the page can tolerate P1 and p2,p2
1. Only underlined text boxes:
2, the Software serial number type input box:
-----
3, the Software serial number type input box (full version):
-----
4, the input frame background transparent:
5, the mouse across the input box, the input box
One, the Web page production Technique example solves: uses the CSS to control the picture adaptive size
Picture Auto-fit size is a very common function, in the production time in order to prevent the picture to open the container and the size of
Zoom this property is IE proprietary properties, in addition to set or retrieve the object's scale, it also can trigger IE haslayout properties, clear floating, clear margin overlap and other functions. However, it is important to note that Firefox
A beautiful navigation, can give the site a finishing touch role. Navigation in the guidance of users to search for content, but also to change the mood of users to browse the site, browse the site is like a trip, the creative navigation bar for
. example. pp{ Color:orange;}. example.pp2 { color:green;}
As in the above two definitions one is the middle there are spaces, one is the middle no space.
The first class to write to this effect: Text pp this class is effective .... The second
Webpack CommonsChunkPlugin extracts public code,
1. Project Structure
2. Some code
Module. js
console.log('module.js');
Index. js in the index folder
Require ('../module. js'); console. log ('homepage-index file ');
Index. js in the login
Simulate clock rotation and clock Rotation
exercise / div>
The above is implemented using a simple css3 animation. If you are interested, you can improve it.
Vue -- html conversion PDF (least compatible with ie10) and vueie10
HTML to PDF:
1. Underlying page implementation-Vue: the lowest compatibility with ie10
2. Implementation ideas:
1> Use html2canvas. js to convert a webpage to an image
2> Use jsPdf.
WordPress publishes multiple novels-WNovel topic and builds a novel site in ten minutes! It has been updated to version 1.2, wordpresswnovelThis article is part of the WNovel topic operation manual series, which consists of the following eight parts:
CSS3 selector browser compatibility summary IE8, css3ie8
1. css Selector
Which selectors are available for css (including css1, css2, and css3?
Http://www.w3school.com.cn/cssref/css_selectors.asp
2. CSS3 Selector
Because CSS1 and CSS2
HTML switch page IE version, switch page ie
All except IE can be recognized all IE identifiable only IE6 can recognize versions earlier than IE6 and IE6 are recognizable IE6 and IE6 and later versions can be recognized only IE7 is
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