zoukankan      html  css  js  c++  java
  • overflow-wrap

    1. html

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="Overflowing_content.css">
    <title>Title</title>
    </head>
    <body>


    <p>They say the fishing is excellent at
    Lake <em class="normal">Chargoggagoggmanchauggagoggchaubunagungamaugg</em>,
    though I've never been there myself. (<code>normal</code>)</p>

    <p>They say the fishing is excellent at
    Lake <em class="ow-break-word">Chargoggagoggmanchauggagoggchaubunagungamaugg</em>,
    though I've never been there myself. (<code>overflow-wrap: break-word</code>)</p>

    <p>They say the fishing is excellent at
    Lake <em class="word-break">Chargoggagoggmanchauggagoggchaubunagungamaugg</em>,
    though I've never been there myself. (<code>word-break</code>)</p>



    </body>
    </html>

    2. css

    p {
    13em;
    margin: 2px;
    background: gold;
    }

    .ow-break-word {
    overflow-wrap: break-word;
    }

    .word-break {
    word-break: break-all;
    }


  • 相关阅读:
    *Path Sum II
    *Path Sum
    Same Tree
    Symmetric Tree
    hprof网络连接
    gc
    java thread park
    sudo !!
    ecb gud
    jpda
  • 原文地址:https://www.cnblogs.com/pascal1000/p/12965214.html
Copyright © 2011-2022 走看看