You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
667 B
CSS
47 lines
667 B
CSS
body{
|
|
margin: 0;
|
|
padding: 24px;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
h1,h3{
|
|
margin: 0;
|
|
}
|
|
|
|
.allfood{
|
|
display: flex;
|
|
justify-content:center;
|
|
flex-direction: row;
|
|
column-gap:8px;
|
|
margin-top: 6ch;
|
|
|
|
}
|
|
|
|
.allowed{
|
|
flex-basis: 50vw;
|
|
border: 1px solid palegreen;
|
|
border-radius: 8px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.forbidden{
|
|
flex-basis: 50vw;
|
|
border: 1px solid palevioletred;
|
|
border-radius: 8px;
|
|
padding: 8px;
|
|
}
|
|
img{
|
|
display:none;
|
|
border-radius: 8px;
|
|
}
|
|
li{
|
|
position: relative;
|
|
|
|
}
|
|
li:hover img{
|
|
display:block;
|
|
position: absolute;
|
|
left: 70%;
|
|
width: 100px;
|
|
object-fit: contain;
|
|
} |