Created
January 24, 2021 17:11
-
-
Save Alkimisti/6ba55031950a32e2a658c2afe9a20751 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" | |
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>translate</title> | |
<style> | |
html, body { | |
background: #333; | |
height: 100%; | |
overflow: hidden; | |
text-align: center; | |
} | |
#teksti1 { | |
width: 300px; | |
height: 76px; | |
background-color: lightyellow; | |
padding: 8px; | |
border: 4px solid #888888; | |
transform: translate(350px, 150px) rotate(20deg); | |
} | |
#teksti2 { | |
width: 300px; | |
height: 76px; | |
background-color: lightpink; | |
padding: 8px; | |
border: 4px solid #888888; | |
transform: translate(50px, 50px) rotate(-30deg); | |
} | |
</style> | |
</head> | |
<body> | |
<div id="teksti1"> | |
Lorem ipsum dolor sit amet consectetur adipisicing elit. Accusantium necessitatibus corporis a quam | |
odit ea velit omnis modi culpa exercitationem? | |
</div> | |
<div id="teksti2"> | |
Lorem ipsum dolor sit amet consectetur adipisicing elit. Accusantium necessitatibus corporis a quam | |
odit ea velit omnis modi culpa exercitationem? | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment