一、css实现等腰三角形

  1. <style>
  2. div {
  3. border-top: 50px solid yellow;
  4. border-bottom: 50px solid transparent;
  5. border-left: 50px solid transparent;
  6. border-right: 50px solid transparent;
  7. }
  8. </style>
  9. <div></div>