JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Document</title>
</head>
<body>
<header>
<div class="wrapper">
<div class="content">
<div class="logo">LOGO</div>
<div class="nav">
<a href="">TEXT</a>
<a href="">TEXT</a>
<a href="">GGGG</a>
</div>
</div>
</div>
</header>
</body>
</html>
CSS
body {
background-color:silver;
}
.wrapper {
margin: 0 auto;
width: 1500px;
}
.content {
width: 100%;
position: fixed;
left: 50%;
transform: translateX(-50%);
display: flex;
justify-content: space-between;
}