这是林泊百科的迁移技术测试站点,所有改动不会同步到林泊百科上,此站点将会在正式迁移后关闭,请勿存放重要数据
用户:Chronostasismywife/common.css:修订间差异
跳转到导航
跳转到搜索
Chronostasismywife(留言 | 贡献) 小无编辑摘要 标签:(旧)WikiEditor |
Chronostasismywife(留言 | 贡献) 小无编辑摘要 标签:(旧)WikiEditor |
||
| 第77行: | 第77行: | ||
{ | { | ||
opacity:1.0; | opacity:1.0; | ||
} | |||
/* 试行 */ | |||
.jianbian | |||
{ | |||
width:100px; | |||
height:100px; | |||
background:red; | |||
transition:width 2s; | |||
} | |||
.jianbian:hover | |||
{ | |||
width:300px; | |||
} | } | ||
2025年2月1日 (六) 16:31的版本
/* 这不对吧师傅我为什么在学这个? */
.ta {
font-family:"Times New Roman",Times,serif;
}
.linxian {
font-family:Arial,Helvetica,sans-serif;
}
/*做图*/
.tu {
background-color: lightgrey;
width: 300px;
/* 内容宽度 */
border: 25px solid green;
/* 边框宽度 */
padding: 25px;
/* 内容到边框的距离 */
margin: 25px;
/* 边框到外部的距离,透明*/
}
/* 梦中情边框 */
.solid {
border-style:solid;
/* 可内嵌br */
}
/* 下划线 */
.under {
text-decoration: underline;
}
/* 可能有用的位置代码 */
.pos_left
{
position:relative;
left:-20px;
}
.pos_right
{
position:relative;
left:20px;
}
.tooltip {
position: relative;
display: inline-block;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
background-color: grey;
color: black;
text-align: center;
border-radius: 6px;
padding: 5px 0;
/* 定位 */
position: absolute;
z-index: 1;
}
.tooltip:hover .tooltiptext {
visibility: visible;
}
/* 暂时用不上的图片透明 */
.img
{
opacity:0.4;
}
.img:hover
{
opacity:1.0;
}
/* 试行 */
.jianbian
{
width:100px;
height:100px;
background:red;
transition:width 2s;
}
.jianbian:hover
{
width:300px;
}