@MaksTinyWorkshopSubmitted over 1 year ago
Hi community. This is my very first code published on the net. I tried to keep it simple. I am delighted to be able to improve myself through this community
Hi community. This is my very first code published on the net. I tried to keep it simple. I am delighted to be able to improve myself through this community
Great job on your solution!
One suggestion for you. Instead of setting the font properties on all of these elements:
a,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
font-family: 'Outfit', sans-serif;
font-size: 15px;
text-align: center;
line-height: 1.4em;
letter-spacing: .02em;
}
You can set them on a parent element such as body and all of the other elements will inherit that styling:
body {
font-family: 'Outfit', sans-serif;
font-size: 15px;
text-align: center;
line-height: 1.4em;
letter-spacing: .02em;
}
This would also work for any other parent element such as <card> or <main> where all nested elements will inherit those properties as well.