<div class="wrapper">
    <div class="tag" contenteditable="true">Oversize</div>
    <div class="tag" contenteditable="true">中性</div>
  <div class="tag" contenteditable="true">拼接</div>
  <div class="tag" contenteditable="true">街头</div>
  <div class="tag" contenteditable="true">国潮</div>
  <div class="tag" contenteditable="true">Personality trend 2020 new</div>
  <div class="tag" contenteditable="true">运动</div>
  <div class="tag" contenteditable="true">机能</div>
  <div class="tag" contenteditable="true">涂鸦</div>
  <div class="tag" contenteditable="true">印花</div>
</div>
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  min-height: 100vh;
  font-family: 'Open sans', sans-serif;
}
body {
  background: linear-gradient(50deg, #f3c680, hsla(179,54%,76%,1));
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3vh;
}

.wrapper {
  position: relative;
  min-width: 24vw;
  background: white;
  border-radius: 15px;
  padding: 3vh;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  min-height: 50vh;
  margin: 1vh;
}

.control {
  margin: 2vh;
}

.tag {
  display: inline-block;
  justify-content: center;
  align-items: center;
  background: #755ac3;
  padding: 0.5rem 1rem;
  color: #fff;
  text-align: center;
  background: linear-gradient(#67ae55, #578843);
  background-color: #69a74e;
  box-shadow: inset 0 1px 1px #a4e388;
  border: 1px solid;
  border-color: #3b6e22 #3b6e22 #2c5115;
  border-radius: 10rem;
  cursor: pointer;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
  margin: 1vh;
  min-width: 100px;
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.