Access properties: Obj.attr or obj[' attr ']Access the Style property via JS:Style can only get inline styles for elements. Therefore, to get the complete style information for an element, you must use the getComputedStyle method of the Window
[note] Today because you see the front-end of the JS page and HTML page, feel the need to familiarize themselves with their basic grammar, so spent a day to review to consolidate a bit (previously studied), including HTML syntax, CSS syntax,
Create two radio buttons, request: The form of "O male o female", the default selection of male. Male FemaleCreate a list box that asks: "1" "2" in the list, 2 by default.12File field filesHide field HiddenPassword box passwordcheck box
1.
implemented by float left and relative width
css three-column layout float left and relative widthblock1block2 block3
2. Absolute positioning, through absolute positioning to make it out of the document flow, can be adapted to define the three
When we write the form, we will find that some browsers have given the form the default style, such as the Chorme Browser, text box and drop-down selection box when loading the focus, there will be a glowing border, and in Firefox and Google Browser,
Previous words
Justification is very common in the production of navigation Nav. This article will detail 3 ways to implement CSS justification
Flex
Flexible box model Flex, as a powerful, resilient layout, can hold most of the layout effects,
Introduction to CSS
1, CSS Overview and role
Css:cascading style Sheets) is a cascading style sheet used to define the display of a Web page. It can solve the duplication of style definition in HTML code, improve the maintainability of later style
This article mainly introduces the CSS3 implementation of any image Lowpoly animation effect instance, which is a combination of CSS3 animation properties of Lowpoly (low-poly style) effect, the main use of CSS3 transform properties of rotate
This article mainly introduces the use of CSS3 pseudo-elements to achieve a gradual glow of the box border of the relevant data, the text gives a detailed sample code for everyone to reference the study, for everyone has a certain reference learning
Mobile Web development has been around for more than a year, during which some confusing things have been encountered. Like what:
We often use in the viewport exactly what meaning, here device-width and we use JS to get to the screen width
This article is mainly for everyone to introduce the flex layout of CSS3 flexible layout, with a certain reference value, interested in small partners can refer to
. Container{align-items:center;justify-content:center;display:flex;background:white
CSS3 before gradient picture can only use background pictureCSS3 gradient syntax allows us to save the overhead of downloading picturesand has a better effect when changing the browser resolution
Color value Rgba
We are familiar with the RGB color
This is a series of additions to the basics of HTML5, and the others are:
First, html5--new structural elements
Ii. html5--figure, time, details, Mark
Third, html5--details ingenious
Iv. changes in existing elements of html5--
Five,
Recently look at some of the characteristics of Css3d, think of experiment to learn, make a small demo and so on. Just practice a bit. Develop a rough selection of Trojan effect,
In fact, it is to find the angle and position, calculate the
When it comes to floating, let's talk about two special phenomena of the margin attribute in CSS.
1, the merger phenomenon of the margin:
If two P is sorted up and down, to the above one P set Margin-bottom, to the following one P set Margin-top,
CSS3 's 3d Start
To play CSS3 3d, you have to understand a few words, that is, perspective ( perspective ), rotation (), rotate and Movement ( translate ). 透视This is a realistic view of the 2D things on the screen, so as to show the effect of 3D.
CSS3 implements Loading animation effects and css3loading Effects
View results:Http://hovertree.com/texiao/css3/43/The Code is as follows:
css3 loading waiting for loading Code-what to ask
Implementation of logo. ico in html webpage, logo. icohtml webpage
League of legends _ Baidu encyclopedia -->
This image is in jpg format and can be designed as an ico online free of charge on the Internet.
Figure 2:
As follows:
CSS positioning and Z-index, CSS Z-index
Position: static Z-index is fixed to 0
Position: valid for absolute/relative/fixed Z-index
On the stacked display, all static positioning elements are regarded as a whole, and all absolute positioning
Responsive Development (1), responsive developmentCauseAs more and more smart mobile devices (tablet devices) join the Internet, the mobile Internet is no longer an independent small network, but an important part of the Internet. The emergence of
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