📜  css chevron arrow - 任何代码示例

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

代码示例1
:before{
    position: relative;
    /* top: 3pt; Uncomment this to lower the icons as requested in comments*/
    content: "";
    display: inline-block;
    /* By using an em scale, the arrows will size with the font */
    width: 0.4em;
    height: 0.4em;
    border-right: 0.2em solid black;
    border-top: 0.2em solid black;
    transform: rotate(45deg);
    margin-right: 0.5em;
    }