如何解决容器和图像合并
我需要将图像背景颜色与我创建的与图像背景颜色相同的块合并。他们应该位于网站的中心,并提供一些有关我的一些社交媒体的信息,但是这没有发生。我该怎么办?
<img src="Images/Test.png" Id="Me" width=500px height=250px>
<div id="main" >
<h1>Lucas Cassimiro<br>Sena Colombo</h1>
<!-- ICONS-->
<div class="icons">
<a href="https://github.com/lucascassimirosena">
<img src="Images/github-logo.png" alt="GitHub Icon" width=35px height=35px>
</a>
<a href="https://twitter.com/LucasCassimiroS">
<img src="Images/twitter.png" alt="Twitter Icon" width=35px height=35px>
</a>
<a href="https://www.linkedin.com/in/lucas-cassimiro/">
<img src="Images/linkedin.png" alt="Linkedin Icon" width=35px height=35px>
</a>
<a href="https://www.instagram.com/senawebcreations/">
<img src="Images/instagram.png" alt="Instagram Icon" width=35px height=35px>
</a>
</div>
</div>
<!-- CSS -->
body{
background-color: #4F4F4F;
}
#main{
margin-left:5px;
margin-top: 5px;
display: inline-block;
background-color: #363636;
width: 500px;
height:300px;
border-style: none;
border-radius: 10px;
position: relative;
left: 500px;
top: 80px;
}
#Me{
display: inline-block;
position: relative;
margin-top: 5px;
}
.icons{
margin-left: 15px;
}
谢谢
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。