text-decoration width code example Example: how to change the underline thickness in css text-decoration-thickness: 3px; text-decoration-thickness: 5%;