figcaption in round container on img

by Ken Watanabe

HTML

<figure class="figurefx pushup">
	<img src="https://www.tomorrowbureau.io/wp-content/uploads/Auto-Remnant-Project_thumb0.jpg" alt="An awesome picture">	
	<figcaption>
    <div class="tag">CINEMA 4D</div><div class="tag">ARNOLD</div>
  </figcaption>
</figure>

CSS

body {
    background-color: black;
}

img {
  max-width: 100%;
  display: block;
}

/*** Default shared CSS ****/
figure {
  width: 300px;
  margin: 30px auto;
	padding: 0;
	display: block;
	position: relative;
	overflow: hidden; /* hide overflowing elements by default */
}

figure figcaption {
	position: absolute;
	display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
	
  margin:10px;
	z-index: 100;
	max-height: 100%;
	overflow: hidden;
	bottom: 0;
	left: 0;
	opacity: 1;
    color:white;
}

figure figcaption .tag{
  -moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
  font-family:sans-serif;
  font-weight:400;
  font-size:.6vw;
  text-align: center;
  border:1px solid white;
  border-radius: 50px;
	background: rgba(255, 255, 255, 0.0);
	padding: 4px 12px;
  display:inline-block;
  margin-right:10px;
}

/*** Push Up effect ****/


figure:hover figcaption .tag {
  background: rgba(255, 255, 255, 1);
  color:black;
}