- index.html
- style.css
HTML
<!DOCTYPE html>
lang="en"
CSS
.label-box {
position: relative;
You’ve gone to a different page
GoalsCompleted 0 out of 4
- Assign the following to the
.label-box::before
pseudo-element: the contentscontent: ""
, absolute positioning, height of2px
, width of50%
, background color of#757575
, - and coordinates of
bottom: 1px
andleft: 50%
. - Assign the following to the
.label-box::after
pseudo-element: the contentscontent: ""
, absolute positioning, height of2px
, width of50%
, background color of#757575
, - and coordinates of
bottom: 1px
andright: 50%
.
Comments