skip to Main Content

I am trying to change the font weight of a paragraphe in css

.paragraphe{
    font-weight: thin;
    
}

I tried bold, normal, 700, 800, 900, 10 and it’s not changing.

i was trying to change the font weight in css to thin but it’s not working

2

Answers


  1. Try this:

    .paragraphe{
      font-weight: 100;
    }
    

    Make sure your font-family have a thin weight available.

    Login or Signup to reply.
  2. I think the font-weight property in CSS usually accepts numeric values or keywords, i.e.,

    .paragraph {
        font-weight: 100; 
    }
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search