I learned how to use the &
symbol to import two fonts in my HTML (family=Outfit:[email protected]&family=Young+Serif)
. I also learned that the `` approach is faster and more efficient, while using @import
in CSS introduces delays and additional requests.
@import url('https://fonts.googleapis.com/css2?family=Outfit:[email protected]&family=Young+Serif&display=swap')
; in the CSS file.- Adding
to the
tag."