I'm new to CSS and HTML and I was wondering if there is a way I can use the same css but have a different image inside each of the hexagons in this. I'd like to use multiple images in place of 'http://placekitten.com/240/240' without copying/writing too much code over and over.
Check out the fiddle below to see what I mean:
<div class="pfhex1">
<div class="hexagon hexagon2">
<div class="hexagon-in1"><div class="hexagon-in2"></div>
</div></div>
<div class="pfhex2">
<div class="hexagon hexagon2">
<div class="hexagon-in1"><div class="hexagon-in2"></div>
</div></div>
Thanks so much.