🐕 ID is higher than Class
作成日: 2021/07/26
0

id has a higher specificity (importance) than a class so if both are applied to the same element and have conflicting styles, the styles of the id will be applied.

Just doing my thing from a cave in Spain