1 用 css 实现字体的旋转 2 p { 3 width: 60px; 4 height: 60px; 5 line-height: 47px; 6 font-size: 20px; 7 font-weight: bold; 8 transform: rotate(-30deg); 9 border-radius: 50%; 10 padding: 5px; 11 }
实现效果
1 用 css 实现字体的旋转 2 p { 3 width: 60px; 4 height: 60px; 5 line-height: 47px; 6 font-size: 20px; 7 font-weight: bold; 8 transform: rotate(-30deg); 9 border-radius: 50%; 10 padding: 5px; 11 }
实现效果
转载于:https://www.cnblogs.com/Sabo-dudu/p/7542827.html