How to use before and after pseufo class code example Example: css before is not working .chart ul:after{ content: ""; border:1px solid #f30; }