0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p><b>Loading…</b>Everything will be ready in few seconds</p>
1
<p><b>Loading…</b>Everything will be ready in few seconds</p>
2
<ul><li>Theory</li>
2
<ul><li>Theory</li>
3
<li>Theory</li>
3
<li>Theory</li>
4
<li>Comments</li>
4
<li>Comments</li>
5
</ul><h2>Rotating the text in the background</h2>
5
</ul><h2>Rotating the text in the background</h2>
6
<p>Here’s another interesting effect that is created by transforming a rotation.</p>
6
<p>Here’s another interesting effect that is created by transforming a rotation.</p>
7
<p>This time we will rotate the “background” text and also slightly skew the block with the heading using the skew function. And in order to make sure that just the block is skewed and not the text inside it, we should skew the text in the opposite direction by the same angle.</p>
7
<p>This time we will rotate the “background” text and also slightly skew the block with the heading using the skew function. And in order to make sure that just the block is skewed and not the text inside it, we should skew the text in the opposite direction by the same angle.</p>
8
<h2>Comments</h2>
8
<h2>Comments</h2>
9
<ul><li>index.html</li>
9
<ul><li>index.html</li>
10
<li>style.css</li>
10
<li>style.css</li>
11
</ul><p>HTML</p>
11
</ul><p>HTML</p>
12
<p><!DOCTYPE html> <html lang="en"> <head> <title>Rotating the text in the background</title> <meta charset="utf-8"> <link rel="stylesheet" href="style.css"> </head> <body> <div class="content"> <article> <h1><span>CSS3 rules!</span></h1> <p>border-radius border-image break-after break-before break-inside columns transition transition-delay transition-duration transition-timing-function transition-property backface-visibility perspective perspective-origin transform transform-origin transform-style background-clip background-origin background-size box-shadow box-decoration-break opacity @keframes animation animation-delay animation-direction animation-duration</p> </article> </div> </body> </html></p>
12
<p><!DOCTYPE html> <html lang="en"> <head> <title>Rotating the text in the background</title> <meta charset="utf-8"> <link rel="stylesheet" href="style.css"> </head> <body> <div class="content"> <article> <h1><span>CSS3 rules!</span></h1> <p>border-radius border-image break-after break-before break-inside columns transition transition-delay transition-duration transition-timing-function transition-property backface-visibility perspective perspective-origin transform transform-origin transform-style background-clip background-origin background-size box-shadow box-decoration-break opacity @keframes animation animation-delay animation-direction animation-duration</p> </article> </div> </body> </html></p>
13
<p>CSS</p>
13
<p>CSS</p>
14
<p>body { height: 100%; margin: 0; padding: 0; background-color: #2ecc40; color: #ffffff; font-family: "Arial Narrow", "Arial", sans-serif; } .content { height: 100%; overflow: hidden; } article { position: relative; } article h1 { position: relative; z-index: 1; width: 200px; margin: 100px auto; padding: 30px; font-size: 30px; text-align: center; background-color: black; } h1 span { display: inline-block; } article p { position: absolute; top: -200px; left: -150px; width: 150%; font-size: 50px; opacity: 0.15; }</p>
14
<p>body { height: 100%; margin: 0; padding: 0; background-color: #2ecc40; color: #ffffff; font-family: "Arial Narrow", "Arial", sans-serif; } .content { height: 100%; overflow: hidden; } article { position: relative; } article h1 { position: relative; z-index: 1; width: 200px; margin: 100px auto; padding: 30px; font-size: 30px; text-align: center; background-color: black; } h1 span { display: inline-block; } article p { position: absolute; top: -200px; left: -150px; width: 150%; font-size: 50px; opacity: 0.15; }</p>
15
<p>Thanks! We’ll fix everything at once!</p>
15
<p>Thanks! We’ll fix everything at once!</p>
16
<p>The code has changed, click “Refresh” or turn autorun on.</p>
16
<p>The code has changed, click “Refresh” or turn autorun on.</p>
17
<p>You’ve gone to a different page</p>
17
<p>You’ve gone to a different page</p>
18
<p>Click inside the mini-browser to shift the focus onto this window.</p>
18
<p>Click inside the mini-browser to shift the focus onto this window.</p>
19
<p>100%</p>
19
<p>100%</p>
20
<ol><li>Assign a skew of 15° to the right to the h1 header.</li>
20
<ol><li>Assign a skew of 15° to the right to the h1 header.</li>
21
<li>Also assign a left skew of 15° to the span inside the heading.</li>
21
<li>Also assign a left skew of 15° to the span inside the heading.</li>
22
<li>Rotate p inside article 15° counterclockwise.</li>
22
<li>Rotate p inside article 15° counterclockwise.</li>
23
</ol>
23
</ol>