<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .container-wrap {
            width: 100%;
            height: 50px;
            background-color: rgba(0,0,0,0.8);
            white-space: nowrap;
            overflow: hidden;
            overflow-x: scroll;
            -webkit-backface-visibility: hidden;
            -webkit-perspective: 1000;
            -webkit-overflow-scrolling: touch;
            text-align: justify;


        }


        .container {


        }
        .container > div {
            display: inline-block;
            height: 50px;
            color: #fff;
            text-align: center;
            line-height: 50px;
        }
        .box-1 {
            width: 80%;
        }
        .box-2 {
            width: 20%;
        }
        .box-3 {
            width: 20%;
        }
    </style>
</head>
<body>
<div class="container-wrap">
    <div class="container">
        <div class="box-1">hello</div>
        <div class="box-2">hello2</div>
        <div class="box-3">hello3</div>
    </div>
</div>
</body>
</html>

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-03
  • 2022-01-09
  • 2021-08-07
  • 2021-05-17
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-03-08
  • 2021-11-17
  • 2022-02-28
  • 2021-06-27
相关资源
相似解决方案