Create a Css3 contact form

In this Code, Francis show us how to create a contact form using Css3 to change the style of the html elements

The markup




<form class="css3Form">
<h1>Contact me</h1>
<ul>
<li><input type="text" value="Your Name"/></li>
<li><input type="text" value="Email Address"/></li>
<li><textarea rows="5"> Comments </textarea></li>
</ul>
<input type="button" class="button" value="Send" />
</form>


The CSS



.css3Form ul li
{
margin:10px 0;
box-shadow: 1px 1px 0 0 #949494;
-moz-box-shadow: 1px 1px 0 0 #949494;
-webkit-box-shadow: 1px 1px 0 0 #949494;
border-radius: 18px 18px;
-moz-border-radius: 18px 18px;
-webkit-border-radius: 18px 18px;

float:left;
clear:both
}
.css3Form input, .css3Form textarea
{
margin:0;
width:300px;
padding: 8px 10px;
font-size:16px;
color:#b3b3b3;
border:solid 1px #585858;
text-shadow: 1px 1px 0 #4b4b4b;

border-radius: 18px 18px;
-moz-border-radius: 18px 18px;
-webkit-border-radius: 18px 18px;

box-shadow: inset 1px 1px 3px 0 #000;
-moz-box-shadow: inset 1px 1px 3px 0 #000;
-webkit-box-shadow: inset 1px 1px 3px 0 #000;

background:-moz-linear-gradient(0% 100% 90deg,#7e7e7e, #5e5e5e);
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#5e5e5e), to(#7e7e7e));

}
.css3Form .button
{
width:150px;
border:solid 1px #bababa;
color:#363636;
font-weight:bold;
font-size:18px;
border-bottom-color:#363636;
background:-moz-linear-gradient(0% 100% 90deg,#5f5f5f, #9e9e9e);
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#9e9e9e), to(#5f5f5f));

box-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;

text-shadow: 1px 1px 0 #9d9d9d;
}
Author: N/A - Source

Sponsored Links:



Comments

Leave a comment
[Optional]
(Will not be shown on the site)
[Optional]
[Optional]

Recent Comments

ai course in bhilai said:

Terrific post thoroughly enjoyed reading the blog and more over found to be the tremendous one. In fact, educating the participants ...

Data Analytics Course said:

I like to see websites that include the price of free shipping from the excellent helpful resource. I really enjoyed reading ...

Business Analytics Course said:

I think this is an informative and very useful and knowledgeable article. therefore, I would like to thank you for your effort ...

webtrainings said:

Nice Blog

Niyaz Khan said:

FITA provides the best Hadoop Training in Chennai, Hadoop Training in Bangalore and Big Data Online Course. The trainers ...

Cognex Technology said:

Thanks For Sharing The Information The Information Shared Is Very Valuable Please Keep Updating Us by cognex <a href="https://www.cognextech.com/aws-training-and-certification-course-3">AWS ...

Data Science Certification said:

This article is good enough for someone to understand this amazing thing, and I'm sure everyone will appreciate these cool ...

Data Science Courses said:

Very interesting blog. A lot of the blogs I see these days don't provide anything that interests me, but I'm really interested ...

shiny said:

Thanks for the informative and helpful post, obviously in your blog everything is good. https://www.traininginannanagar.org/angular-js-training-in-annanagar-chennai https://www.traininginannanagar.org/full-stack-training-in-annanagar-chennai https://www.traininginannanagar.org/php-and-mysql-training-in-annanagar-chennai https://www.traininginannanagar.org/photoshop-training-in-annanagar-chennai ...

JENI said:

This is the exact information I am been searching for, Thanks for sharing the required infos with the clear update and required ...

SyntaxHighlighter.config.stripBrs=true;