2016-03-30 23 views
-2

我想在我的項目中添加如下內容:我怎樣才能使用After?如何在button/div css後添加圖片?

Div:After

+1

你的代碼在哪裏?而你的問題不清楚! – Pedram

+0

我只是想知道基地和如何做到這一點,IMG在這裏 http://i.stack.imgur.com/fVqrR.png –

+0

你應該把一些代碼,你到目前爲止做了什麼。無論如何,我不明白,我沒有看到圖片旁邊的按鈕旁邊的任何圖像。請在你的問題中解釋更多。 – Pedram

回答

0

我不知道如果這是你想要的嗎?嘗試在你的CSS後添加這個:

.col-md-4:nth-child(1)>button> .circle-item h2:after, 
.col-md-4:nth-child(2)>button> .circle-item h2:after{ 
    position: absolute; 
    display: inline-block; 
    width: 100%; 
    margin-left:-5px; 
    margin-top: -10px; 
    content: "_____________"; 
    color: black; 
}