Skip to content

Commit

Permalink
moved css styling to a separate class for transform translateZ
Browse files Browse the repository at this point in the history
  • Loading branch information
makersmecca committed Nov 7, 2024
1 parent b3885ed commit f223f21
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/App.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
body {
background-color: #fff4ea;
color: #c96868;
will-change: background-color;
}

.main-content {
transform: translateZ(0);
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-ms-transform: translateZ(0);
-o-transform: translateZ(0);
will-change: background-color;
}

0 comments on commit f223f21

Please sign in to comment.