I am a total beginner in css, and I came across the following code which I don't understand.
.single-product h2 {
font-size: 18px;
line-height: 25px;
margin-bottom: 10px;
margin-top: 15px;
}
.single-product h2 a {
color: #222;
}
.single-product p {
color: #1abc9c;
font-weight: 700;
}
What is the difference between, say h2.single-product {}, compared to the above code?