日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 前端技术 > HTML >内容正文

HTML

html css图标怎么跟文字并排,html - FA图标和文字环绕的HTML / CSS问题 - SO中文参考 - www.soinside.com...

發布時間:2023/12/4 HTML 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 html css图标怎么跟文字并排,html - FA图标和文字环绕的HTML / CSS问题 - SO中文参考 - www.soinside.com... 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

我試圖找到在Font Awesome Icon旁邊寫文本的正確方法。我希望文本在圖標旁邊排成一行,當文本被加長(或顯示寬度縮短)時,我想在多行文本中而不是圖標下面的圖標旁邊。

Title

Header

This icon is a picture of a house. I want the text to wrap square so is does not load below the icon. When the display is changed, for mobile users, it jumps below the icon.

width:100%;

}

.fas.fa-home{

font-size:36px;

align-self:start;

float:left;

}

#box.img{

font-size:10em;

color:rgb(32, 61, 133);

padding-left:10px;

float:left;

margin-top:16px;

margin-left:20px;

margin-right:20px;

margin-bottom:16px;

clear:left;

display:inline-block;

}

#title{

color:rgb(32, 61, 133);

margin-top:21.44px;

margin-left:20px;

margin-right:20px;

margin-bottom:21.44px;

}

#header{

color:rgb(32, 61, 133);

margin-top:21.28px;

margin-left:20px;

margin-right:20px;

margin-bottom:21.28px;

}

#content{

color:rgb(85, 85, 85);

margin-top:16px;

margin-left:20px;

margin-right:20px;

margin-bottom:16px;

float:left;

align-self:start;

display:inline-block;

clear:inherit;

}

我希望圖標對齊到頁面的左側,文本旁邊的文本,就像它們是單獨的內容列一樣。

總結

以上是生活随笔為你收集整理的html css图标怎么跟文字并排,html - FA图标和文字环绕的HTML / CSS问题 - SO中文参考 - www.soinside.com...的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。