• 0 

    圆角按钮

    .btn_affirm{
        background-color: #52c802;
        display: inline-block;
        width: 95px;
        height: 30px;
        line-height: 30px;
        border-radius: 5px;
        margin-top: 5px;
        color: white;
        text-align: center;
        float: right;
        margin-right: 5px;
        border: 0px;
    }

        刘通

  • 0 

    word-break:break-all和word-wrap:break-word区别

    1,word-break:break-all 例如div宽200px,它的内容就会到200px自动换行,如果该行末端有个英文单词很长(congratulation等),它会把单词截断,变成该行末端为conra(congratulation的前端部分),下一行为tulation(conguatulation)的后端部分了。
    
    2,word-wrap:break-word 例子与上面一样,但区别就是它会把congratulation整个单词看成一个整体,如果该行末端宽度不够显示整个单词,它会自动把整个单词放到下一行,而不会把单词截断掉的。

        刘通

  • 0 

    页面_把超出长度的字符换成...

    width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display:block;

        刘通

发表新帖

本吧信息

吧主:

小吧主:共 0
吧务:共 0
目录:

企业会员 我要推广更多>>