mirror of
https://github.com/IgnatZakalinsky/home-works.git
synced 2026-01-26 20:42:05 +00:00
add hw3
This commit is contained in:
61
src/s2-homeworks/hw03/Greeting.module.css
Normal file
61
src/s2-homeworks/hw03/Greeting.module.css
Normal file
@@ -0,0 +1,61 @@
|
||||
.greetingForm {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.error {
|
||||
position: absolute;
|
||||
color: red;
|
||||
margin-left: 10px;
|
||||
margin-top: -14px;
|
||||
}
|
||||
|
||||
.input {
|
||||
margin: 10px;
|
||||
|
||||
background: #003300;
|
||||
color: #99ff99;
|
||||
}
|
||||
|
||||
.input:focus {
|
||||
outline: none;
|
||||
border: #99ff99 solid 2px;
|
||||
}
|
||||
|
||||
.errorInput {
|
||||
margin: 10px;
|
||||
|
||||
background: #003300;
|
||||
color: #99ff99;
|
||||
|
||||
border: 2px solid red;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.button {
|
||||
margin: 10px;
|
||||
width: 60px;
|
||||
|
||||
background: #003300;
|
||||
color: #99ff99;
|
||||
outline: none;
|
||||
}
|
||||
.button:focus {
|
||||
outline: #99ff99 solid 1px;
|
||||
}
|
||||
|
||||
.button:active {
|
||||
background: #99ff99;
|
||||
}
|
||||
|
||||
.button:disabled {
|
||||
color: #005500;
|
||||
}
|
||||
|
||||
.count {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.greeting {
|
||||
margin-left: 10px;
|
||||
}
|
||||
Reference in New Issue
Block a user