These 'bite-sized' tutorials are really helpful digesting (see what I did there) this content... Thanks for all your hard work as it is truly appreciated. Salut!
@futurefullstack
Ай бұрын
Glad you like them!
@enricojakobsoriano
Ай бұрын
Thanks for the video. Why did the icon render so large? How would you resize it so it’s smaller?
@futurefullstack
Ай бұрын
Resizing the SVG is handled in CSS, which is covered in the CSS playlist. The size the icon renders is determined by the viewBox attribute that defines the coordinate system for the SVG content. In this case, viewBox="0 0 512 512" specifies that the content inside the SVG should be scaled to fit within a 512x512 coordinate space. This is a bit advanced - all you need to know is we will resize it with CSS, which we do later, we don't typically modify the viewBox attribute😀
Пікірлер: 5