the instruction is to create a new rule to target both the cap and sleeve classes and set display to `inline-block .
so in both classes cap and sleeve I set the display to inline-block .
.cap {
display: inline-block;
width: 60px;
height: 25px;
}
.sleeve {
display: inline-block;
width: 110px;
height: 25px;
background-color: rgba(255, 255, 255, 0.5);
}
I get the
Sorry, your code does not pass. You’re getting there.
But obviously I am not.
Checked in: CSS Layout - inline-block Display Inline-Block Working with CSS
Selector {
display: inline-block;
}
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.