📜  html代码示例中如何在圆形边框中的单词或句子内

📅  最后修改于: 2022-03-11 14:53:12.186000             🧑  作者: Mango

代码示例1
#rubi::before {
  content: "";
  float: right;
  height: 100%;
  width: 50%;
  shape-outside: polygon(
    2% 0%,
    100% 0%,
    100% 100%,
    2% 100%,
    50% 94%,
    76.6% 82.7%,
    94% 65.6%,
    100% 50%,
    94% 32.6%,
    76.6% 17.3%,
    50% 6%
    );
  shape-margin: 7%;
}