How to create stylish table with CSS :nth-child() Selector with easy-way?
create table with CSS :nth-child() Selector <html> <head> <style> .container{ margin:auto; width:80%; } .main-row{ width:20%; float:left; background-color:#0AA52D; text-align:center; padding:10px 0px; color:white; } .col-2{ width:20%; float:left; text-align:center; padding:10px 0px; border-bottom:1px solid #f1f1f1; } .row{ width:100%;