Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*斜线样式*/
- .bias.active{
- position:relative;
- text-align: center;
- }
- .bias.active::after{
- position: absolute;
- top: 50%;
- left: 0;
- right: 0;
- z-index: -1;
- margin: auto;
- content: '';
- width: 4.25rem;
- height: 1px;
- background: #333;
- transform: rotate(-45deg);
- }
- .bias.active .txt{
- background:#ebebed;
- }<!-- content to be placed inside <body>…</body> -->
Add Comment
Please, Sign In to add comment