CSS Tutorial
						Menu
		
			
						CSS Advanced
						Menu
		
			
						CSS Responsive
						Menu
		
			
						CSS Grid
						Menu
		
			
						CSS Attribute Selectors
The appearance of an HTML form can be greatly improved by using CSS:
HTML
				
					Using CSS to style an HTML Form
  
			
		CSS
				
					input[type=text], select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
input[type=submit] {
  width: 100%;
  background-color: #03989E;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
input[type=submit]:hover {
  background-color: #03989E;
}
div {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
} 
				
			
		Output
