Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>ggggg</title>
- <style>
- * {
- box-sizing: border-box;
- }
- body {
- font-family: Arial;
- padding: 10px;
- background: #404040;
- }
- /* Header/Blog Title */
- .header {
- min-width: 200px;
- padding: 30px;
- width: 100%;
- text-align: center;
- background: white;
- }
- .header h1 {
- font-size: 50px;
- }
- /* Style the top navigation bar */
- .topnav {
- background-color: #0000ff;
- }
- /* Style the topnav links */
- .topnav a,.topnav .dropdown {
- float: left;
- display: block;
- color: #f2f2f2;
- text-align: center;
- padding: 15px 16px;
- text-decoration: none;
- }
- /* Change color on hover */
- .topnav a:hover {
- background-color: #ddd;
- color: black;
- }
- /* Create two unequal columns that floats next to each other */
- /* Left column */
- .leftcolumn {
- float: left;
- width: 75%;
- }
- /* Right column */
- .rightcolumn {
- float: left;
- width: 25%;
- background-color: #f1f1f1;
- padding-left: 20px;
- }
- /* Fake image */
- .fakeimg {
- background-color: #aaa;
- width: 100%;
- padding: 20px;
- }
- /* Add a card effect for articles */
- .card {
- background-color: white;
- padding: 20px;
- margin-top: 20px;
- }
- /* Clear floats after the columns */
- .row:after {
- content: "";
- display: table;
- clear: both;
- }
- /* Footer */
- .footer {
- padding: 20px;
- text-align: center;
- background: #ddd;
- margin-top: 20px;
- }
- img{
- height:100%;
- width:100%;
- }
- /* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
- @media screen and (max-width: 800px) {
- .leftcolumn, .rightcolumn {
- width: 100%;
- padding: 0;
- }
- }
- /* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
- @media screen and (max-width: 400px) {
- .topnav a, .topnav .dropdown{
- float: none;
- width: 100%;
- }
- }
- #example1 {
- background: right bottom no-repeat, url(paper.gif) left top repeat;
- padding: 15px;
- }
- .dropbtn {
- background-color: #04AA6D;
- color: white;
- padding: 16px;
- font-size: 16px;
- border: none;
- }
- .dropdown {
- position: relative;
- display: inline-block;
- }
- .dropdown-content {
- display: none;
- position: absolute;
- background-color: #f1f1f1;
- min-width: 160px;
- box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
- z-index: 1;
- }
- .dropdown-content a {
- color: black;
- padding: 12px 16px;
- text-decoration: none;
- display: block;
- }
- .dropdown-content a:hover {background-color: #ddd;}
- .dropdown:hover .dropdown-content {display: block;}
- .dropdown:hover .dropbtn {background-color: #3e8e41;}
- </style>
- </head>
- <body>
- <div class="header">
- <img src="logo_small.png" width="500" height="119" alt="logo"/>
- </div>
- <div class="topnav">
- <a href="#">HOME</a>
- <a href="#">INFORMAZIONI</a>
- <div class="dropdown">
- <button class="dropbtn">PS4</button>
- <div class="dropdown-content">
- <a href="#">Giochi</a>
- <a href="#">Console</a>
- </div>
- </div>
- <div class="dropdown">
- <button class="dropbtn">PS5</button>
- <div class="dropdown-content">
- <a href="#">Giochi</a>
- <a href="#">Console</a>
- </div>
- </div>
- <div class="dropdown">
- <button class="dropbtn">XBOX</button>
- <div class="dropdown-content">
- <a href="#">Giochi</a>
- <a href="#">Console</a>
- </div>
- </div>
- <div class="dropdown">
- <button class="dropbtn">XBOX</button>
- <div class="dropdown-content">
- <a href="#">Giochi</a>
- <a href="#">Console</a>
- </div>
- </div>
- <a href="#" style="float:right">SINGIN</a>
- <a href="#" style="float:right">LOGIN</a>
- </div>
- <div class="row">
- <div class="leftcolumn">
- <div class="card">
- <h1>Console NextGeneration</h1>
- <h5>Ordina subito la tua nuova PlayStation 5</h5>
- <img src="https://www.cyberludus.com/content/uploads/2020/09/playstation-5-showcase-presentazione-ps5.jpg" width="460" height="280" alt="ps5" border="2" vspace="3" hspace="3">
- <img src="https://www.cyberludus.com/content/uploads/2020/09/playstation-5-showcase-presentazione-ps5.jpg" width="460" height="280" alt="ps5" border="2" vspace="3" hspace="3">
- <div class="img" style="height:50px;">
- <p>...................</p>
- </div>
- </div>
- <div class="card">
- <h2>Console</h2>
- <h5></h5>
- <div class="fakeimg" style="height:200px;">console</div>
- <p>Some text..</p>
- <p>......</p>
- </div>
- </div>
- <div class="rightcolumn">
- <div class="card">
- <h2>About us</h2>
- <div class="fakeimg" style="height:100px;">foto social</div>
- <p>.........</p>
- </div>
- <div class="card">
- <h3>Popular game</h3>
- <div class="fakeimg"><p>image</p></div>
- <div class="fakeimg"><p>Image</p></div>
- <div class="fakeimg"><p>Image</p></div>
- </div>
- </div>
- </div>
- <div class="footer">
- <h2>Footer</h2>
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment