Inline-block CSS

Task is to change the display from “block” to “inline block”
This is my css, it says that I haven’t changed my display
div {
height: 50px;
width: 100px;
border: 2px solid black;
border-radius: 5px;
inline-block;

}

where is your display property gone?
I assume you had this:

div {
	height: 50px;
	width: 100px;
	border: 2px solid black;
	border-radius: 5px;
	display: block;
}

your whole display property is gone, now there is only a value (inline-block)

Should be

display: inline-block;

@stetim94 and @jibblyj
Thanks! I’m so silly…

1 Like