JSFiddle - React, Tailwind, and code Playground
by Skorz1
HTML
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1251">
<meta name="viewport" content="width=device-width, inital-scale=1.0">
<link rel="stylesheet" type="text/css" href="{% static 'mainApp/css/style.css' %}">
<title>ResumeWebSite</title>
</head>
<body>
<div class="wrapper">
<div class="container">
<header class="header">
<div>
<img class="header__image" src="../../static/mainApp/images/cyber.gif">
</div>
<div class="header__points points">
<div class="point__cyber _active"></div>
<div class="point__japan"></div>
<div class="point__classik"></div>
</div>
<div class="header__menu menu">
<div class="menu__icon">
<div class="menu__bar1"></div>
<div class="menu__bar2"></div>
<div class="menu__bar3"></div>
</div>
<div class="menu__body">
<ul class="menu__list">
<li class="menu__link"><a href="#">Home</a></li>
<li class="menu__link"><a href="#">About Me</a></li>
<li class="menu__link"><a href="#">Blog</a></li>
<li class="menu__link"><a href="#">Contact</a></li>
</ul>
</div>
</div>
</header>
<main class="page">
<div class="page__columns">
<div class="page__column">
<h2>Who am I</h2>
<div class="page__line"></div>
</div>
<div class="page__column">
<h2>Hello friend</h2>
<div...
CSS
@import url("https://fonts.googleapis.com/css2?family=Lobster&family=Press+Start+2P&display=swap");
* {
padding: 0;
margin: 0;
border: 0;
}
*, *:before, *after {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
:focus, :active {
outline: none;
}
a:focus, a:active {
outline: none;
}
nav, footer, header, aside {
display: block;
}
html, body {
height: 100%;
width: 100%;
font-size: 100%;
line-height: 1;
font-size: 14px;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
}
input, button, textarea {
font-family: inherit;
}
input::-ms-clear {
display: none;
}
button {
cursor: pointer;
}
button::-moz-focus-inner {
padding: 0;
border: 0;
}
a, a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
ul, li {
list-style: none;
}
img {
vertical-align: top;
}
h1, h2, h3, h4, h5, h6 {
font-size: inherit;
font-weight: 400;
}
html {
overflow: auto;
display: block;
position: relative;
}
body {
background-color: #1c1c1c;
font-family: 'Press Start 2P', cursive;
}
.container {
width: 890px;
margin: 0 auto;
padding: 0 20px;
}
.header__image {
padding: 50px 0 0 0;
margin: 0 auto;
max-width: 100%;
display: block;
}
.header__points {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.points {
width: 80px;
height: 25px;
margin: 16px auto;
}
.points div {
display: inline-block;
margin: 3px 0 0 8px;
width: 20px;
height: 20px;
background-color: white;
border-radius: 50%;
}
.points div:hover {
cursor: pointer;
}
.point__cyber._active {
background-color: blueviolet;
}
.point__japan._active {
background-color: #ff9c00;
}
.point__classik._active {
background-color: #e5e5e5;
}
.header__menu {
display: block;
width: 100%;
background-color: #313a5c;
height: 86px;
position: -webkit-sticky;
position: sticky;
top: 0;
left: 0;
z-index: 10;
}
.menu__body {
width: 100%;
...