two panels, pic on the left
This commit is contained in:
parent
432d7357cb
commit
01ca8821d4
3 changed files with 47 additions and 6 deletions
|
|
@ -1,8 +1,44 @@
|
|||
:root{
|
||||
--main-color: green;
|
||||
:root {
|
||||
--main-color: green;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
background-color: var(--main-color);
|
||||
}
|
||||
background-color: var(--main-color);
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.full-screen-container {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.left-panel {
|
||||
width: 33%;
|
||||
height: 100vh;
|
||||
background-color: var(--main-color);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.left-panel-pic {
|
||||
margin: 0;
|
||||
object-fit: cover;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.right-panel {
|
||||
width: 67%;
|
||||
background-color: antiquewhite;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
left: 33%;
|
||||
top: 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue