Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .count::after{
- content: "2";
- display: inline-block;
- background: #FF0000;
- border-radius: 20%;
- padding: 0 0.5em;
- transform: scale(0.7);
- color: #FFF;
- float: right;
- position: absolute;
- top: 5px;
- right: 1.5em;
- }
- .count::after:empty{
- display: none;
- padding: 0
- }
- @media max-width: 990px{
- ...
- .count::after{
- position: relative;
- top: -90%;
- right: 0;
- }
- }
Add Comment
Please, Sign In to add comment