Code solution wanted
-
For my porfolio, I want to create a multiple choice menu on this page: https://www.elpablocs.be/portfolio-test/. The goal is that these 3 boxes are positioned next to each other. However, they are stacked on top of each other…
Second problem: When you hover over these blocks, the font icons color does not change. It should turn into white as wel.
What I’m I doing wrong here? This is my code:
<div class="pf-menu-wrap">
<i class="fa fa-desktop fa-3x" aria-hidden="true"></i><br>
<span class="pf-icon-title">Websites</span>
<i class="fa fa-desktop fa-3x" aria-hidden="true"></i><br>
<span class="pf-icon-title">Webshops</span>
<i class="fa fa-desktop fa-3x" aria-hidden="true"></i><br>
<span class="pf-icon-title">Grafisch Ontwerp</span>
</div>.pf-menu-wrap {
text-align:center;
}
.pf-menu-wrap a {
/*padding:10px;*/
border:1px solid #d65050;
color:#d65050;
text-decoration:none;
display:inline-block;
text-align:center;
width:30%;
margin:5px;
}
.pf-menu-wrap a:hover {
color:#fff;
background-color:#d65050;
}
.pf-icon-title {
font-size:2em;
text-transform:uppercase;
line-height:2em;
}
- The topic ‘Code solution wanted’ is closed to new replies.