Why is font style bold not working all of a sudden?

<p class="temp-test">This is a test</p>

.temp-test {
    font-style:bold;
}

Why is the bold style not working? The italic style is working, but the bold one isn't. Why? And yes, i know i can use the font-weight and it will work, but why isn't the font style working for the bold value all of a sudden? I feel like i used it many times before just in the last few days on the same page i am working now, and it worked, but now all of a sudden it isn't working. Why?

1 answer

  • answered 2020-06-02 10:33 D. Pardal

    Maybe you meant to use font-weight instead:

    .temp-test {
        font-weight: bold;
    }
    

    font-style is only used for italic/oblique.