Okay kids, you probably aren't reading this because you are busy running around playing hockey or studying chess moves or climbing trees or building an intergalactic transporter but this little box has the potential to make your parents' lives a lot easier. Why? Because you'll drink it in huge gulps and they will love the fact that you are drinking something that is both cool and not full of carbonated sugar water. There's no milk in it and no soy either. And no nuts if you are allergic to that, just natural carbs, strong fibers and other cool stuff. Now your parents can leave the "juice" boxes where they belong - on the supermarket shelves with all the other sugar waters of the carbonated and non-carbonated variety
/* Mark the container as a query container */
.image-container {
container-type: inline-size;
}
/* When the container’s width is at least 500px, apply a max-width style to the image */
@container (min-width: 500px) {
.image-container img {
max-width: 80%;
height: auto;
}
}