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.
JavaScript is too powerful, though it's a weak language, but not a single bit of java.You can set the random number, to dynamically change the CSS style, each time is a different feeling, this small function is very usefuljavascript modify DOM node
Based on animation.css, animation rotation and special effects
Share an animation rotation effect based on animation.css. This is a cool animation rotation special effect code based on CSS3. As follows:
Download Online Preview source
HTML/CSS selection operator priority
CSS priority
1. By default, the same level style overwrites the former. 2. Style priority type (1)
. Box {background: red! Important ;}
Test: Judge the priority of ABA, # header # div1. box1 div. section p.
Less css3 animations are generous
. Keyframes (@ fx, @ fy, @ tx, @ ty, @ name) {// declare an animation function, you only need to write a function to call @ keyframes @ name {from {transform: translate (@ fx, @ fy); opacity: 0; filter: alpha
Center in CSS: full guidanceHorizontal center: Horizontally1. Line ElementText-align: center;2. single block-level elementYou can set the center of a block-level element. If you have set the width of the block element, set its margin-left and margin-
Form of Bootstrap global CSS style
. Form-control -- assign a separate form control to some global styles, such as the default width: 100%;
. Form-group -- wrap form control to get the best arrangement;
. Form-inline -- set the form to an inline
Initial use of Div + Css and DivCss
Websites using DIV + CSS have the following advantages: 1. Separation of performance and content 2. concise code, improve page browsing speed 3. ease of maintenance and Revision 4. Improve the indexing efficiency
Flash Player mp4 plug-in easily solves video playback problems, and mp4 easily handles
1. Use SWFObject to insert Adobe Flash Media resources with good compatibilityCodeSWFObject is an independent and agile JavaScript module used to easily insert
Div layer covering flash (compatible with browsers), divflash
Today, I tested the interaction between the div layer and flash, and found that the div layer is always covered by the flash layer. I searched Baidu for a while, add to solve the
Practical functions of the tool provided by IE developers
F12 shortcut to call up Developer Tools
I. JS content formatting
1. js scripts with messy content:
2. Select the following two options for the formatting Script: automatic line feed and
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.
Baidu map service-local search, range search, Baidu MapOverview
The map service refers to interfaces that provide data information, such as local search and route planning. Baidu map API provides the following services:
LocalSearch:Local
First project summary, Project Summary
I had a hard time in my previous internships. I felt that I had never done the right thing. I had a big job after my graduation and mainly participated in the development of the product PC. This experience
Web learning HTML
Before introducing HTML, I would like to talk about the Web, the Internet that we often talk about, and the web page is a webpage or a document. Where does this document come from? Then, HTML will be released.
I. Web and HTML
Web
DOM parsing for xml data
Third-party tools required
#import GDataXMLNode.h
// Lazy loading. Initialization is performed during use. // properties are relatively lazy loading. You need to override the getter method-(NSMutableArray *) xmlDOMArray {if (
Summary of the new feature of CSS3 (Transform)Overview: the newly added Transform in CSS3 can change the coordinates of elements in the visible area (this change will not cause document rearrangement, only arrangement), shape, and some 3D
About CSS positionThe CSS learning time is not long, and the position issue remains unclear. Today, I systematically studied and sorted it out as follows: html {font-size: 100%; height: 100% ;}body {font-family: 'lato', Calibri, Arial, sans-serif;
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.