Custom CSS help with rationalizing

Hello everyone,

I have this CSS in my custom file.

Can anyone show me a better way of writing it?

CSS:
td.fb_el_tbl_inspections_95_repeat___ta_0_0,td.fb_el_tbl_inspections_95_repeat___ta_2_0{width: 0px !important}
td.fb_el_tbl_inspections_95_repeat___ta_3_0 {width: 80px !important}
td.fb_el_tbl_inspections_95_repeat___ta_1_0 {width: 50px !important}

td.fb_el_tbl_inspections_95_repeat___td_0_0,td.fb_el_tbl_inspections_95_repeat___td_2_0{width: 0px !important}
td.fb_el_tbl_inspections_95_repeat___td_3_0 {width: 80px !important}
td.fb_el_tbl_inspections_95_repeat___td_1_0 {width: 50px !important}

td.fb_el_tbl_inspections_95_repeat___tp_0_0,td.fb_el_tbl_inspections_95_repeat___tp_2_0{width: 0px !important}
td.fb_el_tbl_inspections_95_repeat___tp_3_0 {width: 80px !important}
td.fb_el_tbl_inspections_95_repeat___tp_1_0 {width: 50px !important}

td.fb_el_tbl_inspections_95_repeat___bt_0_0,td.fb_el_tbl_inspections_95_repeat___bt_2_0{width: 0px !important}
td.fb_el_tbl_inspections_95_repeat___bt_3_0 {width: 80px !important}
td.fb_el_tbl_inspections_95_repeat___bt_1_0 {width: 50px !important}
 
Of course, you could make it just three lines by putting all selectors with identical properties and values into a single line. More can't be said without seeing the entire table.
But if the quoted code works and is better readable for you, then why not leave it as is.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top