Use CSS to draw diagonal line across of square

Loading

Reading Time: < 1 minute Create two divs and convert them into flexboxes. 2. Add .left-diag:after pseudo element to draw a black dialog line that draws from bottom left to upper right. Sass style is shown below: 3. Add .right-diag:after pseudo element to draw a black dialog line that draws from bottom right to upper left. Sass style is shown … Read more