JSFiddle - React, Tailwind, and code Playground
by jscastro76
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LinkedIn Year Wrapper</title>
<style>
body, html {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #000;
color: #fff;
height: 100%;
overflow: hidden;
}
#input-section {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
background: url('https://www.transparenttextures.com/patterns/dark-matter.png'), linear-gradient(to right, #006BA6, #004E8A);
background-size: cover;
background-blend-mode: overlay;
}
#input-section h1 {
font-size: 28px;
font-weight: bold;
margin-bottom: 20px;
}
.input-row {
margin: 10px 0;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.input-row label {
margin-bottom: 5px;
font-size: 16px;
font-weight: bold;
}
.input-row input {
padding: 10px;
font-size: 18px;
border: none;
border-radius: 5px;
width: 250px;
}
#start-btn {
margin-top: 20px;
padding: 12px 24px;
font-size: 18px;
background: #1db954;
color: #fff;
border: none;
border-radius: 25px;
cursor: pointer;
}
#wrapper-container {
display: none;
position: relative;
width: 100vw;
height: 100vh;
overflow: hidden;
background: linear-gradient(to right, #006BA6, #004E8A);
background-image: url('https://www.transparenttextures.com/patterns/dark-matter.png');
background-size: cover;
background-blend-mode: overlay;
}
.wrapper-slide {
position: absolute;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
animation: fade 1s;
background: linear-gradient(to right, #006BA6, #004E8A);
border-radius: 20px;
padding: 20px;
...