CSS :: Create A Box Shadow In Different Dimensions - Webmasters - Nairaland
Nairaland Forum › Science/Technology › Webmasters › CSS :: Create A Box Shadow In Different Dimensions (857 Views)
| CSS :: Create A Box Shadow In Different Dimensions by Software202(op): 10:34am On Oct 29, 2015 |
Have you been seeing shadow round some boxes like HTML text field or even buttons or divs? OK, don't worry. After this tutorial: You will also become an expert 'HTML Box Shadow Maker!'. *Note: This feature is supported from CSS 3, as it will only work on modern browsers. Are you afraid - Almost all browsers are modern! (lol)A BASIC SHADOW CODE .shadow {Explaination 1. The horizontal offset of the shadow, positive means the shadow will be on the right of the box. - A negative offset will put the shadow on the left of the box. 2. The vertical offset of the shadow: - a positive one means the shadow will be below the box and a negative one means the box-shadow will be above the box. 3. The blur radius (optional), if set to 0 the shadow will be sharp, the higher the number, the more blurred it will be. 4. The spread radius (optional), positive values increase the size of the shadow, negative values decrease the size. Default is 0 (the shadow is same size as blur). 5. Color INNER SHADOW CODE
FOR INTERNET EXPLORER To make this possible in Microsoft Internet Explorer, you have to add some extra elements: HTML for IE
CSS for IE
* For more posts and updates about web development and other programming related projects click on the link in the signature below, more shares and likes if you love it. |
| Re: CSS :: Create A Box Shadow In Different Dimensions by thewebcraft(m): 8:38pm On Oct 29, 2015 |
Nice ![]() |
| Re: CSS :: Create A Box Shadow In Different Dimensions by Software202(op): 8:02am On Nov 30, 2015 |
alright |
| Re: CSS :: Create A Box Shadow In Different Dimensions by Software202(op): 1:46pm On Oct 07, 2016 |
--- |
I Will Solve Your Html, Css, Php, Jquery,wordpress Issues • How To Create A Responsive Login Form Using Html, Css And Bootstrap • I Need An Expert To Teach Me PHP & CSS • 2 • 3 • 4
. • Peeps, Kindly Review This New Site Design And Let Me Know Your Thoughts • Get Your Logos And Graphic Designs For Your Sites Done Today
- Almost all browsers are modern! (lol)