<img id="logo" src="https://cdn.freecodecamp.org/platform/universal/fcc_primary.svg">
I have been working on the Responsive Web Design course from freeCodeCamp.
I seem to always have to look up the img tag.
The attributes of the img element are as follows:
src
alt
This example does not have the alt attribute.
Below is the css to manipulate the size of the image.
body {: #f5f6f7;
background: #1b1b32;
color-family: Helvetica;
font: 0;
margin
}
header {: 100%;
width: 50px;
height-color: #1b1b32;
background: flex;
display
}
#logo {
: max(100px, 18vw);
width-color: #0a0a23;
background-ratio: 35 / 4;
aspect: 0.4rem;
padding}