fix resolution
This commit is contained in:
parent
b8b1f2b8f4
commit
b844fcaaad
|
@ -1,8 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
|
||||
<html lang="ja">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="viewport" content="width=1024">
|
||||
<title>Responsive Background Image with Vertical Text</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -43,7 +45,7 @@
|
|||
z-index: 1; /* Ensure text appears above the image */
|
||||
transform: rotateX(-2180deg) rotateY(-26deg); /* Apply perspective transformation to text only */
|
||||
transform-origin: center center; /* Set transformation origin */
|
||||
letter-spacing: -0.23em;
|
||||
|
||||
}
|
||||
.perspective-box-roman {
|
||||
font-size: 150%; /* Adjust font size for Roman vertical text */
|
||||
|
@ -105,8 +107,6 @@
|
|||
<div class="perspective-box-roman">human nature</div>
|
||||
</div>
|
||||
</div>
|
||||
<br></br>
|
||||
<div class="vertical-text">食べる</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue