...
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @Author: Kane
|
||||
* @Date: 2022-11-12 23:32:20
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2022-11-13 00:30:43
|
||||
* @LastEditTime: 2022-11-14 07:42:30
|
||||
* @FilePath: \car_dealer\css\app.css
|
||||
* @Description:
|
||||
*
|
||||
@@ -35,7 +35,8 @@ body {
|
||||
padding: 15px;
|
||||
display: grid;
|
||||
grid-template-columns: 4rem auto;
|
||||
grid-template-rows: repeat(3, 1.5rem);
|
||||
/* grid-template-rows: repeat(3, 1.5rem); */
|
||||
grid-auto-rows: 1.5rem;
|
||||
grid-gap: 0.5rem;
|
||||
}
|
||||
|
||||
@@ -46,14 +47,15 @@ body {
|
||||
.grid-left {
|
||||
display: inline-block;
|
||||
grid-column: 1/2;
|
||||
place-self: end;
|
||||
/* place-self: end; */
|
||||
text-align: right;
|
||||
place-items: right center;
|
||||
}
|
||||
|
||||
.grid-right {
|
||||
display: inline-block;
|
||||
grid-column: 2/3;
|
||||
place-self: start;
|
||||
place-items: left center;
|
||||
}
|
||||
|
||||
.grid-firstname {
|
||||
@@ -67,3 +69,11 @@ body {
|
||||
.grid-sex {
|
||||
grid-row: 3/4;
|
||||
}
|
||||
|
||||
/* .grid-left p {
|
||||
text-align: right;
|
||||
} */
|
||||
|
||||
.grid-right div {
|
||||
text-align: center;
|
||||
}
|
||||
|
Reference in New Issue
Block a user