Search
 
SCRIPT & CODE EXAMPLE
 

CSS

form css design

<style type="text/css">
.form-style-6{
	font: 95% Arial, Helvetica, sans-serif;
	max-width: 400px;
	margin: 10px auto;
	padding: 16px;
	background: #F7F7F7;
}
.form-style-6 h1{
	background: #43D1AF;
	padding: 20px 0;
	font-size: 140%;
	font-weight: 300;
	text-align: center;
	color: #fff;
	margin: -16px -16px 16px -16px;
}
.form-style-6 input[type="text"],
.form-style-6 input[type="date"],
.form-style-6 input[type="datetime"],
.form-style-6 input[type="email"],
.form-style-6 input[type="number"],
.form-style-6 input[type="search"],
.form-style-6 input[type="time"],
.form-style-6 input[type="url"],
.form-style-6 textarea,
.form-style-6 select 
{
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
	outline: none;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
	background: #fff;
	margin-bottom: 4%;
	border: 1px solid #ccc;
	padding: 3%;
	color: #555;
	font: 95% Arial, Helvetica, sans-serif;
}
.form-style-6 input[type="text"]:focus,
.form-style-6 input[type="date"]:focus,
.form-style-6 input[type="datetime"]:focus,
.form-style-6 input[type="email"]:focus,
.form-style-6 input[type="number"]:focus,
.form-style-6 input[type="search"]:focus,
.form-style-6 input[type="time"]:focus,
.form-style-6 input[type="url"]:focus,
.form-style-6 textarea:focus,
.form-style-6 select:focus
{
	box-shadow: 0 0 5px #43D1AF;
	padding: 3%;
	border: 1px solid #43D1AF;
}

.form-style-6 input[type="submit"],
.form-style-6 input[type="button"]{
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
	padding: 3%;
	background: #43D1AF;
	border-bottom: 2px solid #30C29E;
	border-top-style: none;
	border-right-style: none;
	border-left-style: none;	
	color: #fff;
}
.form-style-6 input[type="submit"]:hover,
.form-style-6 input[type="button"]:hover{
	background: #2EBC99;
}
</style>
Comment

PREVIOUS NEXT
Code Example
Css :: tel css 
Css :: letter spacing text 
Css :: affect top div opacity without affecting childrne 
Css :: take out side bar in css 
Css :: css mask cut diagonal 
Css :: css animation sin 
Css :: css multiple classes same rule 
Css :: como hacer que me queden los nombres dentro de un formulario css 
Css :: css resize tabe cell 
Css :: how to allign li in row 
Css :: can a div change an item in another div css 
Css :: offsetx and offsety in css 
Css :: https request 
Css :: calling synchronous methods on native modules is not supported in chrome 
Css :: Text Shadow Hover Effect 
Css :: enable xdebug ddev 
Css :: css input field focus border 
Css :: display flex 
Css :: Latest compiled and minified CSS 
Css :: have button beside form input 
Css :: media query css file 
Css :: canva 
Css :: Set cellpadding and cellspacing in CSS? 
Css :: add tailwind to next 
Css :: how to apply a transition to a child element when hovering over parent element 
Css :: css calc margin-top based on height? 
Css :: freecodecamp hide content using css 
Css :: div css 
Css :: set default rem css 
Css :: what is focus state in css 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =