Make a CSS for this. It should have a scrollable main, with sections in a flex, and the…
- User
Make a CSS for this. It should have a scrollable main, with sections in a flex, and the header in a flex also. But the two footers must be different. Now have transparency, semi-rounded corners, and Roboto in 400, 700 imported using @import. You can have a backdrop-filter to blur the image behind
- Assistant
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
body { font-family: 'Roboto', sans-serif; margin: 0; padding: 0; }
header { display: flex; justify-content: space-between; align-items: center; padding: 10px; background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px); color: white; }
header img { width: 100px; }
main { display: flex; flex-direction: column; background-color: rgba(0, 0, 0, 0.3); backdrop-filter: blur(5px); padding: 20px; border-radius: 10px; margin: 20px; overflow-y: scroll; max-height: calc(100vh - 180px); }
section { display: flex; flex-direction: column; margin-bottom: 20px; }
h1 { font-weight: 700; }
.horizontal { display: flex; align-items: center; }
.horizontal img { margin-right: 10px; }
footer { display: flex; justify-content: center; align-items: center; padding: 10px; background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px); color: white; }
.main { border-top-left-radius: 10px; border-top-right-radius: 10px; }