• css画十字架和靶心图标


     

    .bottom {

          position: absolute;

          top: 230px;

          /* left: 10px; */

        }

        .bottom button {

          width: 30px;

          height: 30px;

          cursor: pointer;

          border: none;

          background: transparent;

          /* color: #333;

          box-shadow: 0px 1px 10px 2px rgb(10 10 10 / 50%);

          padding-left: 10px;

          border-radius: 50%;

          font-size: 30px;*/

        }

    .cross  {

          width: 30px;

          height: 30px;

          position: relative;

        }

        .cross::before, .cross::after {

          content: ""; /* 伪元素,用来绘制十字架的两条线 */

          position: absolute; /* 绝对定位 */

          width: 26px;

          height: 4px;

          background-color: #333; /* 设置为黑色 */

          left: 0;

          top: 16px;

        }

        .cross::before {

          transform: rotate(90deg); /* 将第一条线旋转45度 */

        }

        .cross::after {

          transform: rotate(-180deg); /* 将第二条线旋转-45度 */

        }

        .round4,.round5{

          border-radius: 50%;

          background-color: #333;

          position: absolute;

          z-index: 1;

        }

        .round4{

          width: 20px;

          height: 20px;

          top: 8px;

          left: 3px;

        }

        .round5{

          width: 8px;

          height: 8px;

          border: 4px solid #fff;

          margin: 2px 0 0 2px;

          z-index: 1;

        }

     

       

     

     

  • 相关阅读:
    ClickHouse常用函数速查大全
    Manage SQL Auditing from the Command Line
    【Linux入门】— 腾讯云服务器的搭建
    第三次作业
    如何翻译英文音频?看完你就学会了
    Java ObjectOutputStream类简介说明
    云服务器安装docker环境
    idea如何修改配置的Tomcat版本
    2022-11-01语音之家&火山音频的分享
    SpringBoot基本的配置
  • 原文地址:https://blog.csdn.net/qq_42080594/article/details/133750542