1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- /*
- * Author: simsir-lin
- * Github: https://github.com/simsir-lin
- * Email: 15986907592@163.com
- */
- .multiple-rate .star, .multiple-rate .star-o {
- width: 0;
- height: 0;
- color: red;
- position: relative;
- display: inline-block;
- vertical-align: middle;
- border-left: 12px solid transparent;
- border-right: 12px solid transparent;
- border-bottom: 10px solid rgb(247, 186, 42);
- transform: rotate(180deg);
- margin: 0 5px;
- }
- .multiple-rate .star::after, .multiple-rate .star::before,
- .multiple-rate .star-o::after, .multiple-rate .star-o::before {
- content: '';
- width: 0;
- height: 0;
- color: red;
- position: absolute;
- display: inline-block;
- border-left: 12px solid transparent;
- border-right: 12px solid transparent;
- border-bottom: 10px solid rgb(247, 186, 42);
- top: -0px;
- left: -12px;
- }
- .multiple-rate .star::after, .multiple-rate .star-o::after {
- content: '';
- transform: rotate(-68deg);
- }
- .multiple-rate .star::before, .multiple-rate .star-o::before {
- content: '';
- transform: rotate(68deg);
- }
- .multiple-rate .star-o {
- border-bottom: 10px solid #ccc;
- }
- .multiple-rate .star-o::after, .multiple-rate .star-o::before {
- border-bottom: 10px solid #ccc;
- }
- .heart,.heart-o {
- position: relative;
- display: inline-block;
- vertical-align: middle;
- width: 12px;
- height: 12px;
- background-color: red;
- border-radius: 2px;
- transform: rotate(45deg);
- margin: 0 10px;
- }
- .heart:before,.heart:after,.heart-o:before,.heart-o:after {
- content: '';
- position: absolute;
- display: inline-block;
- vertical-align: middle;
- width: 12px;
- height: 12px;
- background-color: red;
- border-radius: 50%;
- top: 0px;
- left: -6px;
- }
- .heart:after, .heart-o:after {
- left: 0px;
- top: -6px;
- }
- .heart-o {
- background: #ccc;
- }
- .heart-o:before,.heart-o:after {
- background: #ccc;
- }
|