CSS:變色圓框
2013/01/01
萌芽站長
117 0
網站技術 , CSS
可讓網站方塊有顏色變化唷!
↓範例(游標移到上面試試)
範例 ~完整語法~
一、CSS部分
<style>
.mnyappt {
margin: 5px auto 5px auto;
width: 100px;
height: 100px;
background: #99FF99;
padding: 5px;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-webkit-transition: all 0.5s linear
}
.mnyappt:hover {
background: #33FF33;
}
</style>
二、HTML部分
<div class="mnyappt">範例</div>
贊助廣告 ‧ Sponsor advertisements
CSS3「box-sizing: border-box; 」讓內距和邊框不改變元素的寬度與高度
📆 2018-09-22
📁
網站技術, CSS
WordPress 跳脫短代碼(Escaping Shortcodes)
📆 2019-03-17
📁
網站技術, 架站程式, WordPress
【論壇經營】Discuz! X3.1變更界面風格預設字體
📆 2014-08-14
📁
網站技術, 架站程式, Discuz!
「靜態網頁」與「動態網頁」
📆 2015-01-08
📁
網站技術
Master Styles Language Service(Visual Studio Code 擴充功能):Master 框架的語法突顯及完成提示
📆 2022-05-02
📁
軟體應用, 網站技術, HTML, CSS
HTML:<head>
📆 2014-01-04
📁
網站技術, HTML
CSS:屬性border簡單介紹
📆 2013-01-01
📁
網站技術, CSS
PHP 取整數與大小寫轉換函數
📆 2019-06-22
📁
網站技術, PHP
留言區 / Comments
萌芽論壇