Correct CSS for 7?


#1

What did I do wrong? It keep said that I didn't finish it.

  • {
    border: 1px dashed black;
    }

div {
height: 50px;
width: 100px;
border: 2px solid black;
border-radius: 5px;
background-color: #308014;
margin:auto;
}


#2

Here is my code, accepted as correct as I have finished the course:

* {
	border: 1px dashed black;
}

div {
	height: 50px;
	width: 100px;
	border: 2px solid black;
	border-radius: 5px;
	background-color: #308014;
	margin: auto;
}

Unfortunately, I cannot see a difference between my code and yours, so I can't help you much, my only advice is to try and pass using my code. Good Luck!