+ 3

Anyone tell me how to visualize that div element in html??

24th Jul 2017, 8:05 PM
AKASH JOSHI
AKASH JOSHI - avatar
2 Respostas
+ 7
you can set a width, height and background-color in css and it should show up.
24th Jul 2017, 8:12 PM
The Coding Sloth
The Coding Sloth - avatar
+ 12
It's a block element so imagine a block. It becomes a rectangle whenever width>height or vice versa. Background-color is the color of your block element. Padding is the distance between the edge of the shape and the content within the tag. I hope my answer suffices. I'm not sure if I properly interpreted your question.
24th Jul 2017, 8:31 PM
Koketso Dithipe
Koketso Dithipe - avatar