CSS3 allows us to jump out of the 2d space to achieve the animation effect of 3-dimensional space, here is an auto-flip of the 3d dice animation effect of the production process.The first step, the layout of the HTML first, for the 3D effect, layout has a certain pattern, the code is as follows:Define a div called outer in the body, which is the outermost div to provide a 3D scene that can be thought of as a display platform for 3D graphics, only to define such a div, to be able to display 3D gr
CSS3 allows us to jump out of the 2d space to achieve the animation effect of 3-dimensional space, here is an auto-flip of the 3d dice animation effect of the production process.The first step, the layout of the HTML first, for the 3D effect, layout has a certain pattern, the code is as follows:Define a div called outer in the body, which is the outermost div to provide a 3D scene that can be thought of as a display platform for 3D graphics, only to define such a div, to be able to display 3D gr
Original: http://www.cnblogs.com/jscode/archive/2012/10/19/2730905.htmlToday in Css-tricks saw an article, that article let me can not help but the heart of a shock, powerful CSS Ah, incredibly able to draw so many basic graphics. The graph includes basic rectangles, circles, ellipses, triangles, and polygons, as well as a slightly more complex love, diamonds, and yin-yang gossip. Of course there are some need to use the CSS3 properties, so when you open this article, I hope you use Firefox or C
-input-placeholderMozilla Firefox 4-18 using Pseudo-class:-moz-placeholderMozilla Firefox 19+ using pseudo-elements::-moz-placeholderIE10 using Pseudo-class:-ms-input-placeholderPlaceholder text is not supported for CSS selectors in the IE9 and OPERA12 versions. It is important to note that pseudo-elements play an elemental role in the shadow Dom.CSS SelectorBecause each browser has a different CSS selector
-position do not need to distinguish between the browser kernel, But Transform-origin with the other CSS3 properties, we need to add the appropriate prefix to the different browse kernels, and the following are the syntax rules for the various browser kernels:Mozilla Kernel browser: firefox3.5+-moz-transform-origin:x y; WebKit Kernel Browser: Safari and chrome-webkit-transform-origin:x y; Opera-o-transform-origin:x y; Ie9-ms-transform-origin:x y; Stan
(right top,#fff 10%,#07bbee 20%,#10a6ce 75%,#000); background: -moz-radial-gradient(right top,#fff 10%,#07bbee 20%,#10a6ce 75%,#000); background: -ms-radial-gradient(right top,#fff 10%,#07bbee 20%,#10a6ce 75%,#000); border:2px solid #555; box-shadow:-5px 10px 15px rgba(0,0,0,0.45); }
Let's see how it works:
Surprised shenmgui, It's so ugly. Don't worry. Let it live slowly:
/* Face */. doraemon. face {position: relative;/* allows all face eleme
;}
Conversely, if these two conditions are not supported at the same time, then the browser will not call this part of the style.
Note: multiple and side connectors do not need to use parentheses:
@supports (Display:table-cell) and (Display:list-item) and (display:run-in) {/// * style */}
or logical declaration--or (or)
@supports In addition to the "not" and "and" logical declarations, you can also use the "or" logical declaration. It is primarily used to determine whether a browser s
This article mainly introduces the notes of CSS3 practice-gradient design (2. For more information, see
CSS gradient design of Gecko engine basic syntax of linear gradient
-moz-linear-gradient([
|| ,]?
,
[,
]*)
Parameter description:
: Defines the starting point of the gradient. The values include numeric values, percentages, and keywords. The left, center, and right keywords define the x axis
parallelogram. When I try to get rid of the position:absolute, I find that the pseudo-class element is only half the left and is located on the top right of the star-six element.This is why .A: I'm mistaken. : After really is in the back. The next step is to locate the top:30px; left:-50px; Move the original triangle to the position seen by the green triangle, when they form a hexagonal shape. Other: Content: "", this must have. If not is normal, online to see an article wrote "Content:normal
A total of 20 compiled graphics, more practical, but also to familiarize yourself with CSS code. Integration, there are mistakes welcome to point out.1. Square#square {width: 100px;height: 100px;background: red;}2. Rectangle#rectangle {width: 200px;height: 100px;background: red;}3. Upper Left Triangle#triangle-topleft {width: 0;height: 0;border-top: 100px solid red; border-right: 100px solid transparent;}4. Upper Right Triangle#triangle-topright {width: 0;height: 0;border-top: 100px solid red; b
One of the cool features of CSS3 is that it allows us to create a variety of rules and irregular shapes, which can reduce the use of images. Complex graphics that were previously only made in image-editing software such as Photoshop are now ready for use with CSS3. By using the new CSS properties, like transform and Border-radius, we can create very beautiful and complex graphic effects.CircularCircle Set the width and height equal when setting the CSS, then set the Border-radius property to hal
Article Introduction: purely using CSS to define the written graphics.
Collected and collated a total of 20 graphics, more practical, but also to familiarize yourself with CSS code. Integrated a bit, there are errors welcome to point out.1. Square#square {width:100px; height:100px; background:red;}
2. Rectangular
#rectangle {width:200px; height:100px; background:red;}
3. Upper Left Triangle
#triangle-topleft {width:0; height:0; border-top:100px solid red; border-right:10
to correct the latter.This property is useful for fonts that have different x-height. Even if you are careful about using the small font, Font-size-adjust can provide a solution when the problem arises.ExampleIf for some reason the Verdana is not installed on the user's computer, Arial will be corrected to have the same aspect ratio as the Verdana (0.58).
12345
p {font-family:verdana, Arial, sans-serif;font-size:12px;font-size-adjust:0.58;}
browser support : Geck
Win8 loading animation implemented by pure css3, and css3win8 Loading
Today, we will share with you a win8 loading animation implemented by pure css3. In this example, the animation effect is completely implemented by css3. Let's take a look:
Download Online Preview source code
Implementation code.
Html code:
Css3 code:
body{ margin: 0; padding: 0; background-color: #90da15;}.wrapp{ position: absolute; top: 50%; left: 50%; width: 600px; height: 300px; margin: -150p
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.