页脚渐变
可以自己创建css文件在配置文件引入即可,_config.butterfly.yml文件的inject下引入css文件链接
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
| /* 页脚footer */ /* 渐变色滚动动画 */ @-webkit-keyframes Gradient { 0% { background-position: 0 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0 50%; } }
@-moz-keyframes Gradient { 0% { background-position: 0 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0 50%; } }
@keyframes Gradient { 0% { background-position: 0 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0 50%; } } #footer { background: linear-gradient(-45deg, #ee7752, #ce3e75, #23a6d5, #23d5ab); background-size: 400% 400%; -webkit-animation: Gradient 10s ease infinite; -moz-animation: Gradient 10s ease infinite; animation: Gradient 10s ease infinite; -o-user-select: none; -ms-user-select: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; border-top-left-radius: 10px; border-top-right-radius: 10px; } #footer:before { background-color: rgba(0, 0, 0, 0); }
|