<!doctype html> <html lang="it"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous"> <title>Profilo di ...</title> <style> #mainbody{ width: 50%; margin: 0 auto; height: 100vh; border: 1px solid black; background: hsla(205, 46%, 30%, 1); background: linear-gradient(90deg, hsla(205, 46%, 30%, 1) 0%, hsla(260, 29%, 36%, 1) 100%); background: -moz-linear-gradient(90deg, hsla(205, 46%, 30%, 1) 0%, hsla(260, 29%, 36%, 1) 100%); background: -webkit-linear-gradient(90deg, hsla(205, 46%, 30%, 1) 0%, hsla(260, 29%, 36%, 1) 100%); filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#295270", endColorstr="#524175", GradientType=1 ); } #biografia{ padding: 20px 35px; } * { box-sizing: border-box; } body{ color: white; } #img-border{ border: 5px solid grey; } .img-fluid{ width: 260px; height: 260px; } .card { background: inherit!important; } @media (max-width: 768px) { #mainbody{ width: auto; height: 100%; } .spacename{ margin-top: 10px; } } @media (max-width: 1624px) { .img-fluid{ height: inherit; } } .lastimagecomments { /* classe utilizzata per ridimensionare le immagini relative agli ultimi commenti scritti */ height: 150px!important; width: 100px!important; } .table td,.table th { border-top: none!important; } .pfont{ font-size: 15px; color: white; } .commentsmedia{ font-size: 12px; } </style> </head> <body> <div class="my-3" id="mainbody"> <div class="container"> <div class="row no-gutters mt-4"> <div class="col-lg-4 text-center my-auto"> <img id="img-border" src="https://avatarfiles.alphacoders.com/162/162492.png" class="img-fluid" alt=""> </div> <div class="col-lg-8"> <h3 class="text-center spacename">NOME PROFILO</h3> <br> <p id="biografia">Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet dolorum unde ea laborum eum iure beatae totam assumenda, quisquam architecto nemo, quod blanditiis asperiores magnam commodi exercitationem excepturi dolorem a!</p> </div> </div> <!-- FINE ROW --> <div class="row no-gutters mt-3"> <div class="col-lg-8 px-3"> <div class="card-header"> <h3 class="text-center">FILM PREFERITI</h3> </div> <div class="card mb-3"> </div> <div class="card-header"> <h3 class="text-center">DA GUARDARE</h3> </div> <div class="card mb-3"> </div> </div> <div class="col-lg-4"> <div class="card text-center"> <div class="container"> <h3>ULTIMI COMMENTI</h3> <table class="table table-hover"> <tr class="row no-gutters"> <th><img src="https://lordchannel.com/wp-content/uploads/2020/04/8WUVHemHFH2ZIP6NWkwlHWsyrEL.jpg" class="img-fluid lastimagecomments" alt=""></a></th> <td class="mt-2"><p class="pfont">BLOODSHOT</p> <p class="text-muted commentsmedia">Ciao sono un commento...</p> </td> </tr> </table> </div> </div> </div> </div> </div> </div> <!-- Optional JavaScript --> <!-- jQuery first, then Popper.js, then Bootstrap JS --> <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script> </body> </html>