relative
This commit is contained in:
parent
45a4164d9f
commit
8427682b37
@ -45,25 +45,26 @@ body{
|
||||
}
|
||||
#rechnung1, #rechnung2 {
|
||||
width: 20%;
|
||||
margin: 0 100px;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
font-size: 1.5em;
|
||||
z-index: 10;
|
||||
position: fixed;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
#rechnung1{
|
||||
background-color: rgb(0, 225, 255);
|
||||
border-radius: 15px;
|
||||
outline: 8px solid black;
|
||||
left: 15%;
|
||||
margin-left: auto;
|
||||
margin-right: 100px;
|
||||
}
|
||||
|
||||
#rechnung2{
|
||||
background-color: red;
|
||||
border-radius: 15px;
|
||||
outline: 8px solid black;
|
||||
right: 15%;
|
||||
margin-left: 100px;
|
||||
margin-right: auto;
|
||||
}
|
||||
#rechnung1 img, #rechnung2 img {
|
||||
position: absolute;
|
||||
|
Loading…
Reference in New Issue
Block a user