As part of a school project, I am required to utilize the position fixed property to correctly position the cookie statement at the bottom right of the screen. However, when I attempt to move the element, it does not seem to display properly.
.cookie {
position: fixed;
top: 0%;
bottom: 0%;
left: 0%;
right: 0%;
width: 100px;
height: 50px;
opacity: 50%;
float: right;
background-color: #FA0;
}
.cookie-text {
color: #FFF;
text-align: center;
}
<section class="cookie">
<p class="cookie-text">Cookie statement </p>
</section>