diff --git a/static/mylomen.html b/static/mylomen.html index 1ad223a..a0f6285 100644 --- a/static/mylomen.html +++ b/static/mylomen.html @@ -98,6 +98,36 @@ .myheader-item { margin: 1rem 2rem; } + + .cha { + width: 20px; + height: 20px; + margin: auto; + position: relative; + left: calc(50% - 2.5rem); + } + + .cha::before, + .cha::after { + content: ""; + position: absolute; + /*方便进行定位*/ + height: 20px; + width: 1.5px; + top: 2px; + right: 9px; + /*设置top和right使图像在20*20框中居中*/ + background: #10100f; + } + + .cha::before { + transform: rotate(45deg); + /*进行旋转*/ + } + + .cha::after { + transform: rotate(-45deg); + } @@ -108,6 +138,9 @@