Skip to main content

How to use smooth box shadow in webpage

How to use smooth box shadow in webpage

Webkit and Mozilla:
-webkit-box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.15);
-moz-box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.15);
box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.15);

Standard CSS:
<style>
.bg {
    padding:20px;
    background:#EEE;
}
.box {
    background: #fff;
    width: 400px;
    height: 100px;
    box-shadow: 0px 2px 3px rgba(0,0,0,.13) ,
   1px 2px 2px rgba(0,0,0,.1) ,
   -1px -2px 2px rgba(0,0,0,.05) ;
   margin:auto;
}
</style>
<div class="bg">
    <div class="box">
    </div>
</div>

Comments

Popular posts from this blog

How to create a calculator using HTML, CSS & JavaScript

Create a Calculator Using HTML ,CSS & JavaScript Download HTML file Source : <!doctype html> <html> <head> <meta charset="utf-8"> <title>Dynamic Calculator</title> <style> body { background:#ecf0f1; font-family:arial; } #calBody { padding:10px; background:#3498db; width:300px; height:310px; margin:auto; top:0px; right:0px; left:0px; bottom:0px; position:absolute; -webkit-box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.15); -moz-box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.15); box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.15); } #calBody h1 { color:#ecf0f1; font-weight:normal; text-align:center; } #calBody input, #answer { padding:10px; width:270px; border:none; margin:auto; display:block; margin-bottom:10px; font-size:24px; color:#34495e; background:#ecf0f1; } #buttons { width:230px; margin:auto; ...

Data units and bits and bytes

Data units and bits and bytes A bit is smallest unit in data, 1 bit = one binary digit 0 or 1 For Processing or virtual 1 bit = One binary digit (0 or 1) 1 nibble = 4 bit 1 byte = 8 bit 1024  bytes = 1 KB (Kilobyte) 1024 KB = 1 MB (Megabyte) 1024 MB = 1 GB (Gigabyte) 1024 GB = 1 TB (Terabyte) 1024 TB = 1 PB (Petabyte) 1024 PB = 1 EB (Exabyte) 1024 EB = 1 ZB (Zettabyte) 1024 ZB = 1 YB (Yottabyte) 1024 YB = 1 BB (Brontobyte) 1024 BB = 1 GB (Geopbyte) For Storage 1 bit = One binary digit (0 or 1) 1 nibble = 4 bit 1 byte = 8 bit 1000 bytes = 1 KB (Kilobyte) 1000 KB = 1 MB (Megabyte) 1000 MB = 1 GB (Gigabyte) ...

Protection office document by password and encryption

Protect Microsoft Word, Excel, PowerPoint And Access About : This features will protect your document protect to unknown persons you can use this features in Word, Excel, Powerpoint, and Access also. You can protect your file in 2 ways  1. Password Protect 2. Encryption Protect Steps Create your Document in word or Workbook in excel or Presentation in Powerpoint Press CTRL + S or go to file menu and click to save or save as button then choose where you want to save the file and before the click save button click TOOLS >> General Option >> Type your password Password to open and Password to modify after set password, this will verify you verify also Now your document now secure by two passwords. Encryption Protect in your document File menu and click  >>  info >>  and then   Protect document option and choose to encrypt with password >> set ...