<div Id="wrapper"> <section class="p"> <ul id="a"> <li> <img src="boy1.jpg" alt="" width=180px class="pic"> <p class="pa">info</p> </li> </ul> </section> </div>
#a, #g { background-color: #4158D0; background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%); ; } .pic { float: left; } #wrapper { max-width: 1200px; margin: 0 auto; padding: 0 5%; list-style-type: none; text-decoration: none; } ul li:hover{ cursor: default; color: white; }
#a > li:first-child { display: flex; } #a .pa { margin-left: auto; }
margin-right:auto
#a .pa
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)