Template:BouncingDiv/styles.css:修订间差异

来自NeuroWiki
跳转到导航 跳转到搜索
无编辑摘要
无编辑摘要
标签已被回退
第13行: 第13行:
   background-color: #3498db;
   background-color: #3498db;
   border-radius: 50%; /* 圆形 */
   border-radius: 50%; /* 圆形 */
}
.random-text{
font-family: 'Mojangles', sans-serif; /* 使用自定义字体并指定后备字体 */
}
}

2025年1月24日 (五) 02:08的版本

.bouncing-container {
  position: relative;
  border: 2px solid #333;
  overflow: hidden;
  margin: 20px auto; /* 居中显示 */
  background-color: #f9f9f9;
}

.bouncing-div {
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: #3498db;
  border-radius: 50%; /* 圆形 */
}
.random-text{
	font-family: 'Mojangles', sans-serif; /* 使用自定义字体并指定后备字体 */
}