CSS3 vertical tree chart-Use: before AND: after, css3 tree
For more information, see the video. My own CSS3 practice demo.
[Demo]
[HTML]
[CSS3]
*{Margin: 0;Padding: 0;}. Tree ul {Padding-top: 20px;Position: relative;Webkit-transition: all 0.5 s;-Moz-transition: all 0.5 s;Transition: all. 3 s;}. Tree li {Float: left;
follows:Support CSS3 Browser can be a little bit higher, we may not be so convenient to modify HTML each time, if you want to change an icon, you may need to modify the relevant characters, such as to change I to E and so on. If you use the pseudo-elements of CSS3, it can be a lot easier:Copy CodeThe code is as follows:. icon{Display:inline-block;width:16px;height:16px;/* per digit **/...}. icon:after,.ico
CSS3 transitionWith CSS3, we can add an effect to an element when the element is transformed from one style to another without using Flash animation or JavaScript.Transition properties
Properties
Description
CSS
Transition
Shorthand property, which is used to set four transition properties in one property.
3
Transition-property
Specifies the
The CSS3 property selector mainly includes the following types of properties:
1. E[attr^= "Value"]: The property name is specified, and there is a property value, and the value of the property begins with value;
2. E[attr$= "Value"]: The property name is specified, and there is a property value, and the value of the property is terminated with value;
3. E[attr*= "Value"]: The property name is specified, and there is a property value,
CSS3 Study Notes and css3 notes
Lesson 1:Background-attachment: fixed background image not scrollingBackground-image: url (""); repeat allowed by defaultBackground-repeat: no-repeat-x repeat-yBackground-position: right; // = right and centerBackground-position: 0px 0px more or percent
CSS3 backgroundBackground-size:Background-originBackground-clip
Lesson 2: TextT
CSS3 Selector has brought us a lot of convenience, previously can only use JS or specific elements to increase the specific class implementation effect, the following with the example record/share the role of each CSS3 selector.(1) adjacent element selector x + yCSS -styletype= "Text/css">Div ul + P{background:#F00; }style>label -Div> ul>I am the ULul> P>I'm p.P> ol>I am the OLol> P>I'm p.P>Div>
Everyone knows that browsers now support CSS3 custom fonts (@font-face), including IE6 support, except that their support for font file formats is different. So for the various icons used in the site, we can try to use the font to implement, this article will explain in detail this usageWhy do you want to make the icon font?In many web site projects, we often use a variety of transparent small icons, and then the site to be compatible with each browse
Js + css3 implement dynamic clock ------- Day66, css3 ------- day66
I was annoyed when I migrated my house one day yesterday without installing broadband at the end, but I had a lot of ideas after I packed up my new house, here we will first implement a dynamic clock (it has been uploaded to the resource, and the picture is a bit rough, sweaty ...)
Here we will record the simple and easy-to-implement functi
CSS3 animation callback processing and CSS3 animation callback Processing
Callback processing is often required for js animation, such as triggering an event after an animation is complete, and executing another animation after an animation is complete, but when CSS 3 is used, it cannot capture the motion state for callback processing?
CSS3 animation can also be
First of all, I would like to thank w3cfuns ~
Today, we will bring you a flop effect created by CSS3, that is, move the mouse over the element and you will be able to see the information behind the element. If you want to create a memory-test continuous watching, poker game, or even write some words to your girlfriend, you can try it after using the album created by this instance ~
:
Some new attributes of CSS3
Code example of the horizontal level-2 drop-down menu implemented by CSS3, and css3 drop-down menu
Code example of the horizontal level-2 drop-down menu implemented by CSS3:The horizontal level-2 drop-down menu is very commonly used. For example, the navigation bar of many websites is such a level-2 drop-down menu, which is very useful. This section describes the
Four types of transition animation effects for pure CSS3 ultra-cool page switching, and css3 page SwitchingThis is a pure CSS3 page switch transition animation effect with four very cool effects. The CSS 3 Page Transition animation is made using CSS keyframes. All animation effects and latencies use CSS attributes without any javascript timeout () code.
All the
User Experience of new feature applications in CSS3 and new feature experience in css3I. cursor
The not-allowed cursor is added and access is not allowed.
Hiding the cursor is useful in the touch mode application. css2.1 requires a transparent image, while css3 directly usescursor:noneYou can.
Complete code:
curosr: url(transparent.gif');cursor: none;2. Expand the hot zone
In the case of small button
Common CSS3 attribute sorting and css3 attributesCommonly used CSS3 attributes to organize text beyond partial collapse
white-space:nowarp;overflow:hidden;text-overflow:ellipsisWord-warp
Line feed
Normal default
The break-word content will wrap in the boundary and will only be used for block objects. To use inline objects, you must set height, width, display:
Consider how you can achieve a gradient similar to the following text in your Web page.The traditional implementation is to use a transparent gradient of the picture overlay on the text. The concrete realization Way can refer to http://www.qianduan.net/css-gradient-text-effect.html. The advantage of this way is that the picture can be controlled, so it can achieve a very complex gradient effect, but the disadvantage is that the image gradient must be consistent with the background color, while t
First of all thank W3cfuns Teacher ~Today brings you a CSS3 produced by the flop effect, is the mouse moved to the element, feel can see the information behind the element. If you make a test of memory, poker game God horse, even to the girlfriend to write some words, put in the use of the example produced by the album can be tried, ha ~:Some of the CSS3 new properties used by the instance:A,-webkit-perspec
The shadow has been around since CSS2, but only Safari has a browser to support it, and still is. Shadows can be applied to borders and text in CSS3, just like the shadow effect of a picture.
Generally can be divided into Box-shadow and Textshadow two categories.
CSS3 Box-shadow and Textshadow can be written: box-shadow:apx bpx CPX #xxx;Apx = x Axisbpx = y axisCPX = projection length#XXX = a color as usua
HTML5, CSS3, and related technologies, such as canvas and web sockets, bring a very useful feature that allows our web programs to raise a new level. These new technologies allow us to build diverse forms pages that can run on tablets and mobile devices, using only html,css and JavaScript. HTML5 offers a lot of new features, but if we do not consider the old version of the browser is not very realistic with these new technologies, the old version of t
50 cases of powerful and bright CSS3/JS technology application. CSS3 's here. Although the supported browsers are very limited, many designers are experimenting with its powerful features. This article will let you understand the new technologies and functions of CSS3.
Visual effects and Layout techniques with CSS3
Css3 implements clock effects and css3 implements clocks and clocks.
Use the css3 transform attribute to depict the scale and pointer angle of a clock. The Code is as follows:
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.