Skip to content

Commit

Permalink
Remove experiments with ::before and ::after
Browse files Browse the repository at this point in the history
I was trying to see how far I could get with avoiding wrapping elements 
to achieve sections as full-width bands. There are some exciting CSS 
things being discussed:

* A [::wrapper pseudo 
element](w3c/csswg-drafts#588) seems stalled 
because it could cause some tricky situations in the DOM, but
* A [::contents pseudo 
element](w3c/csswg-drafts#2406) is still under 
consideration and has some steam.
  • Loading branch information
mjumbewu committed Sep 30, 2020
1 parent 8171586 commit 096efc4
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions _sass/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,6 @@ body {
header, section {
margin: 0 auto;
max-width: 60rem;

&::before {
width: 10px;
height: 100px;
background-color: green;
content: ' ';
}

&::after {
width: 10px;
height: 100px;
background-color: green;
content: ' ';
}
}

.conference-home header {
Expand Down

0 comments on commit 096efc4

Please sign in to comment.