Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap" rel="stylesheet">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <style>
- body {
- position: absolute;
- width: 100%;
- }
- .links {
- font-size:170%;
- letter-spacing: 0px;
- font-weight:bold;
- color: #7ABBE6;
- font-family: 'Fredoka One', cursive;
- text-decoration:none;
- }
- .flip-card {
- margin:auto;
- background-color: transparent;
- width: 300px;
- height: 300px;
- perspective: 1000px;
- }
- .flip-card-inner {
- position: relative;
- width: 100%;
- height: 100%;
- text-align: center;
- transition: transform 0.6s;
- transform-style: preserve-3d;
- box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
- border: 3px double #7ABBE6;
- }
- .flip-card:hover .flip-card-inner {
- transform: rotateY(180deg);
- }
- .flip-card-front, .flip-card-back {
- position: absolute;
- width: 100%;
- height: 100%;
- -webkit-backface-visibility: hidden;
- backface-visibility: hidden;
- border-radius:0px;
- }
- .flip-card-front {
- background-color: #bbb;
- color: black;
- }
- .flip-card-back {
- background-color: #000;
- color: white;
- transform: rotateY(180deg);
- }
- </style>
- </head>
- <body>
- <div class="flip-card">
- <div class="flip-card-inner">
- <div class="flip-card-front">
- <img src="INSERT IMAGE LINK HERE" alt="Avatar" style="width:100%;height:100%;"></div>
- <div class="flip-card-back">
- <div class="links"> <br></br>
- <a href="#home">home</a></div>
- <div class="links"> <a href="#i">about me</a></div>
- <div class="links"> <a href="#ii">rules</a></div>
- <div class="links">
- <a href="#iii">interests</a></div>
- </div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment