Lately I've been playing around with CSS3 and discovered some new CSS tricks. Did you know you can make a round circle with border-radius and create inner shadow effect with box-shadow inset? Check out this beautiful search form demo that I've created with CSS gradient, border-radius, and box-shadow. It displays perfect in CSS3 browsers and degrades gracefully in non-CSS3 browsers.
Round Circle Trick
You can create a round circle by specifying a very large value with the border-radius property. The following example uses 100px border-radius to make a round circle.
.circle {
width: 100px;
height: 100px;
-moz-border-radius: 100px;
-webkit-border-radius: 100px;
}
Inner Shadow Effect
Specifying inset values with the box-shadow property to create a inner shadow effect. As of now, this feature is only supported by Chrome 4+ and Firefox 3.5+.
.inset {
-moz-box-shadow: inset 0 3px 8px rgba(0,0,0,.4);
-webkit-box-shadow: inset 0 3px 8px rgba(0,0,0,.4);
box-shadow: inset 0 3px 8px rgba(0,0,0,.24);
}
Search Form Example
The following search form demo is created with CSS gradient, border-radius, and box-shadow with inset values (view the demo with Chrome 4+ or Firefox 3.5+). It degrades nicely in non-CSS3 browsers. View source code to learn the CSS code. If you are not familiar with CSS3, read my previous article The Basics of CSS3.



Great Post Here,
Please by my services for i am a crispy indian man who sells his body to women to pleasure.
i post crap like this on peoples site to get some seo and design work. what a loser. “Madyam Technologies, India based web company offering affordable web
design services to its clients, serves an eye-catching and crispy layouts. Also offer
flash animation and logo designing and SEO,Shopping Cart Development,ERP,CMS,CRM
Services etc.
”
i like to be crispy too – get a life homo
Great post, can’t wait to try these out!!
Thanks so much. It’s very useful!
Suprab…!!
A nice post shared by you with us. It makes me smile and very useful in future.
Los Angeles Web Design
beautifull, just beautifull. thanks
This is just what I was looking for. thanks
Really nice,I like that round corner look.
Hello,
thanks for the post. you can find more discussion on web techniques on tahSin’s gaRage
even better, add this css:
input[type=text]:focus {
background-color: #ff4;
}
this is not working
that’s a pretty minimal-styled search form!
This is a great tutorial. Thanks for sharing.
This is great!! Thank you, it is just what I was looking for to add to by new blog theme.
super………….. Thank u sir………..
super! thanks
iphone 4 white and iphone 4 black, which one will be more suitable for yourself? Thinking of the black iphone 4 is too ordinary, iphone 4 white will be the one to make you feel different.
As the Apple iphone 4 bumper is taken off the marke, will white iphone 4 available soon?
that’s great…. it’s cool…
That is to be expected in a long-term, high-risk project like ours. So, we turned to the blogging community for help – and got it! We have published our problems, and the community responded with results!cheap ugg boots