如何使CSS形button/border?

How to make CSS shaped button/border?

拜托,你能给我一些关于如何制作形状 button/menu 导航的提示吗? 它应该是这样的:

我尝试过一些带边框的东西,但只有当 div 中没有文本时它才有效。

这是我试过的代码:

.border-right {
  font-size: 0px; line-height: 0%; width: 0px;
  width: 0px;
  border-top: 50px solid #93D1C1;
  border-bottom: 50px solid #4F4135;
  border-left: 50px solid #93D1C1;
  border-right: 50px solid #93D1C1;
} 

It looks like this (Codepen)

有什么想法吗?

这是您要找的吗? https://codepen.io/anon/pen/RgNbvV

body {
  background-color: #4F4135;
}
.border-right {
  font-size: 0px; line-height: 0%; width: 0px;
  width: 0px;
  border-top: 50px solid #93D1C1;
  border-bottom: 50px solid #4F4135;
  border-left: 50px solid #93D1C1;
  border-right: 50px solid #93D1C1;
  display: inline-block;
}

.border-wrong {
  width: 100px;
  background-color: #93D1C1;
  display: inline-block;
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 10px;
}
.border-wrong:after {
  position: absolute;
  content: "";
  z-index: -1;
  left: 0;
  right: 0;
  width: 0px;
  background-color: #93D1C1;
  border-top: 25px solid #93D1C1;
  border-bottom: 25px solid #4F4135;
  border-left: 50px solid #93D1C1;
  border-right: 50px solid #93D1C1;
  display: inline-block;
  text-align: center;
}