carlwoodwiss / prj-rev-bwfs-dasmoto

0 stars 0 forks source link

ID are more specific then element selectors #2

Open zannain opened 6 years ago

zannain commented 6 years ago

When writing CSS its considered a good practice to avoid element selectors. Here an h2 tag is selected via an id selector. Since the h2 in this case is the unique element, I would recommend giving it an id of its own. This makes the CSS more readable and generally and potentially avoids future conflicts. If later an h2 element was added to any child of #paint this would cause issues.