First of all, the transition attribute IE9 is not supported, starting with IE10 supportThe example is when the mouse moves over the DIV, it rotates 180 degrees.Points:
Make round boxes with rounded corners, border-radius set to 50%;
with Box-shadow to make the fill filled with the effect, Box-shadow has 6 parame
Let's take a look at Box-shadow's parameter description:
To achieve different angles of projection, four parameters are required. The core principle is to increase the blur distance, reducing the size of the shadow
Top projection
Width:100px;height:100px;background: #f1f1f1; margin:20px; Box-shadow: #000 0-5px 5px-5p
When you use box-shadow to implement the shadow effect, have you noticed that in some cases, the shadow is not transparent? veryhuo.com
Copy to ClipboardReference: [www.bkjia.com]
Www.bkjia.com
Shadow Effect
Solution: The color in box
The Box-shadow property adds one or more shadows to the box. This CSS3 property is commonly used, such as box shadows, button states, and so on, but do you know and remember the function and usage of each parameter?ShowSource: Http://codepen.io/yisi/pen/sDBwCSyntax: Http://www.w3cplus.com/content/css3-
1. GrammarH-shadow V-shadow Blur spread color inset;1 2 3 4 5 8 9 Blue is the element box, the red is the shadow, you can see that Box-shadow just the original elements of the clone, plus other decorations, create a
Recommend a file to solve the CSS3 Border-radius and Box-shadow (two often used)
1.border-radius border Fillet Static page often requires a background is rounded corner, this time to use the following code, can be very good to solve the problem of low version incompatibility
(File IE-CSS3.HTC is placed under the root directory)
2.box-
Want to make a display only three sides of the shadow effect, on-line search did not solve the fundamental problem, and finally in the CSS3 demo inside find a method http://www.css88.com/tool/css3Preview/Box-Shadow.htmlI paste the code:box-shadow:2px 2px 5px #333333, -2px 2px 5px #333333;It's so simple ~There are no shadows on the top, and shadows on the other th
Copy codeThe Code is as follows:
$ (Function (){
$ ("# Open"). click (function (){
OpenDialog (a1); // call it. Simply write the div id.
});
});
Var openDialog = function (o ){
Var dialog = new zzlDialog (o );
Dialog. open ();
}
Var zzlDialog = function (o ){
This. init = function (){
/* Initialize the dialog box */
Var XBox = '\
Shadow pop-up box \
';
$ (Docume
According to Canisue (http://caniuse.com/#search =box-shadow), Box-shadow compatibility is as shown:
Test code:
IE8 Browser Effect:
Border-radius in IE8 browser compatibility scenario:
IE8 Browser Effect:
Pie can handle some of the properties of CSS3, such as:
In the provision of user-modified data/password and other functions, often want to give users such experience, do not jump, do not frame the case to complete the operation of these functions.This can be achieved by an effect that shadows the entire current page under the same page and makes the elements in the original page unusable, while allowing a specific modification box to be used to float above the shadowAs an example of the following effect:Th
A prompt is displayed when the Register text box is empty. You can clear all the content in the text box with one click.
The Charging System of the second IDC has been restructured. Of course, the effect must be repeated once. As shown in the blank text box, review the first IDC, the silly If statements compromise you
Enter the setting and clearing of "prompt text" in the text box, and empty the text box.
In the input text box in html, there is a text prompt in the beginning. When you click it, the text disappears. How can I set it?
Use the onfocus event to check the current value. If it is the default value, leave the valu
Make the shadow of this box, the light from the left 45 degrees angle incidence:
Using the previous projective theorem to determine the angle and position of the projection with the auxiliary line:
The completion of the location of the determination, in fact, I now want to determine the relationship between the light distribution of an object, usually directly with the help of 3D software, in the 3D softw
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.