最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

:after,:before的絕對(duì)定位問題

:after,:before的絕對(duì)定位問題

m慕光 2016-11-08 22:54:06
<!DOCTYPE html><html><head>? ? <meta charset="UTF-8">? ? <title>Document</title>? ? <style>? ? .reply {? ? ? ? position: relative;? ? ? ? width: 200px;? ? ? ? height: 80px;? ? ? ? border: 1px solid rgba(243, 237, 127, 0.68);? ? ? ? border-radius: 5px;? ? ? ? background-color: rgba(243, 237, 127, 0.35);? ? }? ??? ? .reply:after {? ? ? ? content: '';? ? ? ? width: 0px;? ? ? ? height: 0px;? ? ? ? border-color: transparent transparent rgba(243, 237, 127, 0.35) transparent;? ? ? ? border-style: solid;? ? ? ? border-width: 6px;? ? ? ? position: absolute;? ? ? ? top: -11px;? ? ? ? border-radius: 3px;? ? ? ? left: 18px;? ? ? ? right: auto;? ? }? ??? ? .reply:before {? ? ? ? content: '';? ? ? ? width: 0px;? ? ? ? height: 0px;? ? ? ? border-color: transparent transparent rgba(243, 237, 127, 0.68) transparent;? ? ? ? border-style: solid;? ? ? ? border-width: 7px;? ? ? ? position: absolute;? ? ? ? top: -14px;? ? ? ? border-radius: 3px;? ? ? ? left: 17px;? ? ? ? right: auto;? ? }? ? </style></head><body>? ? <div class="reply"></div></body></html>實(shí)現(xiàn)簡(jiǎn)單的聊天氣泡(如下圖),我的問題是兩個(gè)偽類中top和left的值應(yīng)該如何設(shè)置呢?
查看完整描述

3 回答

?
李曉健

TA貢獻(xiàn)1036條經(jīng)驗(yàn) 獲得超461個(gè)贊

你的效果不是正常的嘛,有什么問題?

查看完整回答
反對(duì) 回復(fù) 2016-11-09
  • 3 回答
  • 1 關(guān)注
  • 2982 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)