Intoduction :-
Hii Friends...
Have you ever wanted to use your own style in your website ? you create your own stylish div with 3D look. This script will let you do that Easily.This can possible with the help of css . This works flawlessly in Firefox, Safari, Internet Explorer 7, Opera and others.So go ahead, CSS form styling is this easy. Now I am going to put this with Example.
<div class="wrap">
<h1>Dot Net Modules</h1>
<img style="border:solid 3px #7aa5a2;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhriHfw8KtedIOQ1MQwCVDUdBEtTB7K11-LVZaA9IPxJ1op4wjjue14yF5t3M0akFrTrkosTqywM6QDePPjkK06ALp-zfukLsrPKp7Od0Lx4kTyVGhujfPX2lJWbCspz1lkZ2R-FWoZ44Q/s1600-r/dotnetnew.png">
<p>
Welcome On Asp.net modules. This is my blog and I am Sheetal Khandelwal. It's a css Box with a new creative style. Enjoy.. :) :)
</p>
<br />
</div>
<style>
body {
font-size: 12px;
font-family: 'Open Sans', sans-serif;
color: #4A4A4A ;
text-align: center;
}
.wrap {
background: #d6e9c6;
margin: 20px auto;
display: block;
width: 300px;
min-height: 310px;
padding:20px;
}
.wrap img {
width: 100%;
margin-top: 15px;
}
p{
margin-top: 15px;
text-align: justify;
}
h1 {
background: #a8c4c0;
background: -moz-linear-gradient(top, #a8c4c0 0%, #7aa5a2 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a8c4c0), color-stop(100%,#7aa5a2));
background: -webkit-linear-gradient(top, #a8c4c0 0%,#7aa5a2 100%);
background: -o-linear-gradient(top, #a8c4c0 0%,#7aa5a2 100%);
background: -ms-linear-gradient(top, #a8c4c0 0%,#7aa5a2 100%);
background: linear-gradient(top, #a8c4c0 0%,#7aa5a2 100%);
font-size: 20px;
font-weight: bold;
text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
padding: 0 20px;
line-height: 50px;
height: 50px;
margin-top: 5px;
margin-left: -35px;
position: relative;
width: 300px;
box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.3);
-webkit-box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.3);
color: #3b3a3b;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
h1:before {
content: '';
position: absolute;
top: 5px;
height: 39px;
border-top: 1px solid rgba(255,255,255,0.5);
border-bottom: 1px solid rgba(255,255,255,0.5);
width: 100%;
left: 0;
}
</style>
Hii Friends...
Have you ever wanted to use your own style in your website ? you create your own stylish div with 3D look. This script will let you do that Easily.This can possible with the help of css . This works flawlessly in Firefox, Safari, Internet Explorer 7, Opera and others.So go ahead, CSS form styling is this easy. Now I am going to put this with Example.
DEMO:-
Example :-<div class="wrap">
<h1>Dot Net Modules</h1>
<img style="border:solid 3px #7aa5a2;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhriHfw8KtedIOQ1MQwCVDUdBEtTB7K11-LVZaA9IPxJ1op4wjjue14yF5t3M0akFrTrkosTqywM6QDePPjkK06ALp-zfukLsrPKp7Od0Lx4kTyVGhujfPX2lJWbCspz1lkZ2R-FWoZ44Q/s1600-r/dotnetnew.png">
<p>
Welcome On Asp.net modules. This is my blog and I am Sheetal Khandelwal. It's a css Box with a new creative style. Enjoy.. :) :)
</p>
<br />
</div>
<style>
body {
font-size: 12px;
font-family: 'Open Sans', sans-serif;
color: #4A4A4A ;
text-align: center;
}
.wrap {
background: #d6e9c6;
margin: 20px auto;
display: block;
width: 300px;
min-height: 310px;
padding:20px;
}
.wrap img {
width: 100%;
margin-top: 15px;
}
p{
margin-top: 15px;
text-align: justify;
}
h1 {
background: #a8c4c0;
background: -moz-linear-gradient(top, #a8c4c0 0%, #7aa5a2 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a8c4c0), color-stop(100%,#7aa5a2));
background: -webkit-linear-gradient(top, #a8c4c0 0%,#7aa5a2 100%);
background: -o-linear-gradient(top, #a8c4c0 0%,#7aa5a2 100%);
background: -ms-linear-gradient(top, #a8c4c0 0%,#7aa5a2 100%);
background: linear-gradient(top, #a8c4c0 0%,#7aa5a2 100%);
font-size: 20px;
font-weight: bold;
text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
padding: 0 20px;
line-height: 50px;
height: 50px;
margin-top: 5px;
margin-left: -35px;
position: relative;
width: 300px;
box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.3);
-webkit-box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.3);
color: #3b3a3b;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
h1:before {
content: '';
position: absolute;
top: 5px;
height: 39px;
border-top: 1px solid rgba(255,255,255,0.5);
border-bottom: 1px solid rgba(255,255,255,0.5);
width: 100%;
left: 0;
}
</style>
0 comments:
Post a Comment