How do I add a read more link at the end of a paragraph?

后端 未结 5 1013
臣服心动
臣服心动 2020-12-09 00:03

I am trying to add a link to read more text at the end of a paragraph. I would like this link to display within the paragraph at the end like so:

5条回答
  •  渐次进展
    2020-12-09 00:08

    I hope the below one will help you.

    http://jsfiddle.net/X5r8r/1156/

    body, input {
        font-family: Calibri, Arial;
        margin: 0px;
        padding: 0px;
    }
    a {
        color: #0254EB
    }
    a:visited {
        color: #0254EB
    }
    #header h2 {
        color: white;
        background-color: #00A1E6;
        margin: 0px;
        padding: 5px;
    }
    .comment {
        width: 400px;
        background-color: #f0f0f0;
        margin: 10px;
    }
    a.morelink {
        text-decoration: none;
        outline: none;
    }
    .morecontent span {
        display: none;
    }
    

提交回复
热议问题