Skip to content

Commit de6d3b9

Browse files
authored
Update index.html q
1 parent a97d069 commit de6d3b9

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

pages/css/index.html

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,18 @@ <h2>box-shadow</h2>
222222
/* from https://www.entheosweb.com/tutorials/css/multiple_shadows.asp */
223223
</script>
224224

225-
<hr />
226-
<hr />
227-
<hr />
225+
<h2>clamp</h2>
226+
227+
<script type="editor" data-lang="css"></script>
228+
229+
// https://youtu.be/rIOIeoX6QNw
230+
231+
h1 {
232+
font-size: clamp(50px, 8vw, 100px);
233+
text-align: center;
234+
}
235+
236+
</script>
228237
<h2>view() function rotate scroll</h2>
229238

230239
<style replace="#replace_virus_rotate_target">

0 commit comments

Comments
 (0)