Hechas las bases del CSS

This commit is contained in:
2021-04-27 20:37:23 -03:00
parent 975f7ee1c3
commit 61d871e99e
2 changed files with 38 additions and 5 deletions

View File

@@ -0,0 +1,32 @@
.form {
display: grid;
grid-template-columns: 200px 200px 200px;
grid-template-rows: repeat(200px 4 0px);
width: 400px;
height: auto;
margin: auto;
}
.name {
grid-column: 1/3;
background-color: #0e93ff99;
border: 1px solid #0e93ff;
height: 30px;
}
.email {
grid-column: 1/3;
background-color: #fffb0e99;
border: 1px solid #c7c400;
height: 30px;
}
.message {
grid-column: 1/3;
background-color: #ff0e0e99;
border: 1px solid #ff0e0e;
}
.submit {
grid-column: 1/3;
}