css横向代码实现

    .tag-content{

           

            display flex

            flex-wrap nowrap

            overflow auto

            .tag-item{

                

                flex-shrink:0;

                height 20px

                padding 8px 16px

                font-size 14px

                background:rgba(48,114,246,0.15);

                border-radius:4px;

                margin-right 12px

                color:rgba(48,114,246,1);

            }

        }

 

                

                    江苏·南京

                

                 

                    江苏·南京

                

                

                    江苏·南京

                

                

                    江苏·南京

                

                

                    江苏·南京

                

                

                    江苏·南京

                

                

                    江苏·南京

                

            

你可能感兴趣的:(css)