Skip to content
Permalink
Browse files

Hyphenate and justify on `shape-outside` support

  • Loading branch information
karlstolley committed Nov 13, 2019
1 parent 8b36bb0 commit e3fa2f5f8c30e20689d4649045e5b6c5b9fe4071
Showing with 9 additions and 0 deletions.
  1. +9 −0 assets/css/screen.css
@@ -294,6 +294,12 @@ audio,img,video {
float: right;
shape-outside: polygon(-3px 68px, 30.62% 2.6%, 97.44% 2.02%, 98.9% 55.43%, 80.63% 96.22%, 66.9% 88.67%, 65.23% 80.14%, 13.87% 48.25%, 8.34% 51.18%, 5px 45.47%, 3.52% 40.5%);
}
@supports (shape-outside: polygon(0px 0px, 0% 0%)) {
#about p {
hyphens: auto;
text-align: justify;
}
}
}


@@ -333,6 +339,9 @@ audio,img,video {
padding: 0;
float: none;
}
#about p {
text-align: left;
}
}
@media screen and (min-width: 1510px) {
#about {

0 comments on commit e3fa2f5

Please sign in to comment.
You can’t perform that action at this time.