Currently, I am in the process of learning HTML and CSS and have a question regarding writing rules for multiple IDs. Is it possible to write rules that apply to several IDs in order to achieve my desired outcome?
<!-- language: lang-css-->
#menu-item-207 .menu-image-title {
color: black !important;
}
#menu-item-207 .menu-image-title:hover {
color: #0095d1 !important;
}
#menu-item-206 .menu-image-title {
color: black !important;
}
#menu-item-206 .menu-image-title:hover {
color: #0095d1 !important;
}
#menu-item-205 .menu-image-title {
color: black !important;
}
#menu-item-205 .menu-image-title:hover {
color: #0095d1 !important;
}
#menu-item-204 .menu-image-title {
color: black !important;
}
#menu-item-204 .menu-image-title:hover {
color: #0095d1 !important;
}
#menu-item-203 .menu-image-title {
color: black !important;
}
#menu-item-203 .menu-image-title:hover {
color: #0095d1 !important;
}
#menu-item-202 .menu-image-title {
color: black !important;
}
#menu-item-202 .menu-image-title:hover {
color: #0095d1 !important;
}
#menu-item-201 .menu-image-title {
color: black !important;
}
#menu-item-201 .menu-image-title:hover {
color: #0095d1 !important;
}
#menu-item-200 .menu-image-title {
color: black !important;
Is there a way to adapt this code to achieve what I need? Any help would be greatly appreciated!