CSS style summary

Time:2021-1-10

Keep records updated~

  1. CSS text border style

CSS style summary

-WebKit text fill color: # FFF; // internal color of text
 -WebKit text stroke color: # ff3e16; // text border color
 -WebKit text stroke width: 1px; // text border width
  1. CSS block level element adaptive text width
 width: fit-content;
 width: -webkit-fit-content;
 width: -moz-fit-content;

3. CSS hide scroll bar

.modal-teacher-dialog::-webkit-scrollbar{
    display: none;
}
::-webkit-scrollbar{  
    width: 0;  
    height: 0;
}