Skip to content

Commit 4e35bbd

Browse files
committed
fixing background text clip issue for mobiles
1 parent 9202ebd commit 4e35bbd

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ <h1 class="grad-text">Paul Thorel</h1>
9090
<li>Php</li>
9191
<li>Symfony</li>
9292
<li>Node.js</li>
93-
<li>MySql</li>
94-
<li>Devkitpro</li>
93+
<li>MySQL</li>
94+
<li>C</li>
9595
<li>Wordpress</li>
9696
</ul>
9797
<p class="desc">

styles.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,10 @@ body {
246246
font-weight: 800;
247247
margin-top: -.8rem;
248248
letter-spacing: .5px;
249-
background-image: unset !important;
250-
background: linear-gradient(var(--gradient-3)) text !important;
249+
background: linear-gradient(var(--gradient-3));
251250
background-clip: text !important;
252-
251+
-webkit-background-clip: text !important;
252+
color: transparent;
253253
}
254254

255255
.hero h1{
@@ -269,6 +269,8 @@ body {
269269
.grad-text,.grad-text-2,.grad-text-3,.grad-text-4{
270270
color: transparent !important;
271271
background-clip: text !important;
272+
-webkit-background-clip: text !important;
273+
272274
}
273275

274276
.grad-text{

0 commit comments

Comments
 (0)