Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input[type="text"] {
- border: 1px solid black;
- border-radius: 5px;
- }
- input[type="text"] {
- border: 1px solid #cccccc; //цвет рамки
- border-radius: 3px; //закругление углов (общее)
- -webkit-border-radius: 3px; //закругление углов (Google Chrome)
- -moz-border-radius: 3px; //закругление углов (FireFox)
- -khtml-border-radius: 3px; //закругление углов (Safari)
- background: #ffffff !important; // желательно прописывать, так как в Chrome при сохранных данных оно может быть желтым
- outline: none; // удаляет обводку в браузерах хром(желтая) и сафари(синяя)
- height: 24px; // высота на свое усмотрение
- width: 120px; // ширина на свое усмотрение
- color: #cccccc; //цвет шрифта в обычном состоянии
- font-size: 11px; // Размер шрифта
- font-family: Tahoma; // Стиль шрифта
- }
- input[type="text"]:focus {
- color: #000000;
- border: 1px solid #000000
- }
- input[type="text"]
- input
- .edit {
- border:1px solid #9E9E9E;
- color: #000000;
- padding: 3px;
- margin-top: 2px;
- margin-bottom: 2px;
- font-size: 11px;
- font-family: Verdana;
- background: #FFF;
- }
- .bk {
- background:#fff url(images/shadow.png) repeat-x;
- }
- <input class="edit bk" type="text" name="ololo">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement