kyle-hampton / fantasy-esports

1 stars 2 forks source link

an example of using a div instead of an img tag. Basically, we just #17

Closed jflo closed 7 years ago

jflo commented 7 years ago

add a style for a div with a particular id (in this case "banner"), and then we set the size of the div to be the same as the image, and then we set the background of that div to the image.