Add classes to lines with some css