首页/styles.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第26行: | 第26行: | ||
box-sizing: border-box; | box-sizing: border-box; | ||
transition: width 2s ease-in-out, padding 1.2s ease-in-out, transform 0.3s ease-in-out; | transition: width 2s ease-in-out, padding 1.2s ease-in-out, transform 0.3s ease-in-out; | ||
font-size: | font-size: 24px; | ||
} | } | ||
.base_block .video_block:hover .neuro-button{ | .base_block .video_block:hover .neuro-button{ | ||
width: | min-width: 120px; | ||
padding: 5px; | padding: 5px; | ||
padding-left:10px; | |||
animation: float-left | animation: float-left 2.15s infinite ease-in-out; | ||
} | } | ||
.base_block .video_block #neuro{ | .base_block .video_block #neuro{ | ||
top: | top: 55%; | ||
right: | right: 5%; | ||
} | } | ||
@keyframes float { | @keyframes float { | ||
第49行: | 第49行: | ||
0%, 100% { | 0%, 100% { | ||
transform: translateX(0); | transform: translateX(0); | ||
transform: translateY(0); | |||
} | |||
50% { | |||
transform: translateY(-10px); | |||
} | } | ||
80% { | 80% { | ||
transform: translateX(- | transform: translateX(-3px); | ||
} | } | ||
} | } |