Skip to content

Commit

Permalink
Quick fix background-clip
Browse files Browse the repository at this point in the history
  • Loading branch information
jpvalery committed Apr 6, 2019
1 parent 0fd743e commit ef32421
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Home/HomeBodyTop.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ const Wrapper = styled.section`
const Body = styled.div`
margin: 0;
padding: 0;
background-clip: text; -webkit-background-clip: text;
background-size: cover;
background-image:url("sunset-bg.jpg");
background-clip: text;
h1 {
@media screen and (min-width: ${props => props.theme.responsive.medium}) {
font-size: 4rem;
Expand All @@ -27,7 +28,7 @@ const Body = styled.div`
h1,
h2,
h3 {
color: transparent;
color: transparent !important;
font-weight: 600;
line-height: 1.25;
text-transform: capitalize;
Expand Down

0 comments on commit ef32421

Please sign in to comment.