This article mainly introduces the use of pure CSS to achieve the book 3D page effect of the relevant data, small series feel very good, and now share to everyone, but also for everyone to do a reference. Follow the small series together to see it, hope to help everyone.
Start today ~ Small series will share with you a series of Web front-end effects, like to play cool effect of the small partners quickly
text in an element
Uppercase, lowercase, capitalize, none
/*indent the first line of text*/P{text-indent:3em;}/*Specify a positive left margin for the paragraph that is greater than the negative indent value, resulting in the effect of hanging paragraphs*/P{text-indent:-1.5em;Margin-left:2em;Border:1px solid Red;}/*Set character spacing*/P{letter-spacing:. 2em;}/*Set Word spacing*/P{word-spacing:. 2em;}/*Remove the underline from the text*/a{text-decoration:None;}/*you need to set
Some HTML tags that have semantics
Some HTML tags that have semantics
Do you really need a div tag? Do you really need a class attribute?Since CSS is more and more designers understand, in the page design, always contain too many div tags or class attributes. So, in real life, are these div tags really necessary? Does this class attribute need to be added? When using Div, according to the previous rule, you have to think about whether there are more
The content of this article is pure CSS implementation of 3D code (cube, dynamic stereoscopic picture book, Flat sky), the code is very detailed, the need for friends can look.
First, Cube
I think the cube can be regarded as the basis of 3D image, the first cube is composed of six of the same surface, and then we need to construct in turn. (according to the body structure in the code)
The code is as follow
}The handling of the project needs to be noted that all elements in the Topbar (A and Li here) are display:block and float:left,display:block are useful for setting up padding, and float:left is floating to the left. Then basically all used float:left this thing will appear the parent container can not open the case (height of 0), then use Display:inline-block;This note is purely my brain residual notes, reading difficulties do not understand the normal phenomenon, beginners try not to read, ot
element, or assign haslayout to the child element and add position:relative;
33
Set the text of one of the two floating elements to italic, and the other to the bottom of the italic text element.
IE6
Bug/fixed
Add Overflow:hidden to elements with italic text;
35
3PX interval: The element after the float element, there will be a 3px interval
IE6
Bug/fixed
Because it is the exact 3px, so, with "brute force", such as _margin-left:
0. Reply content: To obtain permission, go to W3C documentation first.
Http://www.w3.org/standards/webdesign/htmlcss
I have not read the first book, but the second one is outdated. After all, the book was published earlier. At that time, the specifications were unknown.
Print and text pen. But the books are not expensive, and I have bought them all. Don't worry about which
pages is:An organization set up to promote the Web HTML 5 standard. In 2004, it was made up of opera, the Mozilla Foundation and Apple's browser makers.Introduction to HTML and related conceptsHTML refers to the descriptive language of the Hypertext Markup Language (Hyper Text Markup Language) www world Wide Web.XHTML refers to extensible Hypertext Markup Language (identity language) (extensible Hypertext Markup Language), which is a markup language that behaves like a Hypertext Tag language (H
0 reply content: Because HTML5 is an HTML superset and CSS3 is a CSS superset, it is only a relatively limited extension, not a completely different development idea, therefore, no matter whether you learn it directly or skip it, it cannot be bypassed. In fact, this issue is not a big problem in itself. It is possible to directly learn HTML5 and CSS3, but it does
I think about html5 learning. The html5 knowledge on the official website of the optical competition is not enough. Participating works require not only html5 but also a combination of various aspects, therefore, the focus of each member of the team should be different. The importance of CSS to software is not describe
Java development has quietly walked into our lives, whether it is mobile phone software, mobile phone Java games or computer software, as long as you use the electronic products will encounter and Java-related things, more enterprises are using the Java language development site, Also heart sounds a lot of like-minded friends began to join the ranks of Java development. Java+ launched a new course on big data to create more advanced Java development technologies for more Java learners.We know th
/center/right bottom/center/topYou can also specify X, y coordinate points, and the first number is the x-axisExample: Transform:rotate (90DEG);Transform-origin:right Bottom;means: Rotate 90 degrees around the lower left corner.7, the use of CSS3 animation1. Declaring a keyframe (animation)@keyframes name{form{}to{}}Stage notation:① can directly use the form-to;② can set the 0%-100% notation, but the beginning and end must be 0% and 100%;2, in the CSS
First, the previousThe development of technology is changing rapidly, maybe go home to catch a few days fish, come out a new thing. At the beginning of the new technology development, you can not foresee its future trend, life is precious, there is no need to spend too much time in-depth study of these new things, but, know, probably, to understand a full picture is very necessary. Although not the creators of the Times, nor lag behind the tide of development of the Times.The development of the
IPad (3rd generation)
IPad 4
All Retina displays for Mac
Google Galaxy Nexus
Google Nexus 4
Google Nexus 10
Samsung Galaxy S III
Samsung Galaxy Note II
Sony Xperia S
HTC One X
-webkit-min-device-pixel-ratio:3.0
HTC Butterfly
Sony Xperia S
HTML5 Responsive Picturecss"image-set" solves the problem of the response of the background image, but what about the IMG element in HTML? As I helpless
interested in the width of the device, which is the width of the browser window.So use it in the desktop environment width and forget device-width it. We are about to see this situation more cumbersome on the mobile side.SummarizeThis article summarizes our search for the behavior of desktop browsers. The second part of the series points these concepts to the mobile side and shows some important differences from the desktop environment.Transferred from: http://blog.jobbole.com/44319/HTML-
In the HTML5 API, each node in the page Dom has an classList object that the programmer can use to add, delete, and modify CSS classes on the node. classList, programmers can also use it to determine whether a node has been given a CSS class.First, Element.classlistclassListThere are a number of useful methods in this object:1 {2 Length: {number},/* # of class o
The querySelector () method and querySelectorAll () method in HTML5 are described in the previous articles. I don't know how you understand them? The querySelector () method returns the first element that matches the passed CSS selector; querySelectorAll () the method returns all elements that match the passed CSS identifier and is a NodeList object. After a brie
Lan 0 Basic Learning Html5-html+css Foundation
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/87/40/wKioL1fZAN3ABGnXAAHQi-M_res626.png-wh_500x0-wm_3 -wmp_4-s_1737966660.png "title=" qq picture 20160914154743.png "alt=" wkiol1fzan3abgnxaahqi-m_res626.png-wh_50 "/>
I. Objectives of the course
1, understand the front-end development positions; 2, Master Common tags and semantics and usage,
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.