redesign avec edmée, super déçue car pas bouboule orange
This commit is contained in:
47
css/style_project.less
Normal file
47
css/style_project.less
Normal file
@@ -0,0 +1,47 @@
|
||||
@bggradient: linear-gradient(to right top, #ffffff, #f5f4f5, #ebeaeb, #e2dfe0, #d9d5d5);
|
||||
@ball: #f57724;
|
||||
@text: #414141;
|
||||
|
||||
|
||||
#name_project {
|
||||
position: absolute;
|
||||
font-size: 40px;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
font-weight: bold;
|
||||
overflow: hidden;
|
||||
top: 50px;
|
||||
left: 115px;
|
||||
color: darken(@text, 10%);
|
||||
animation: textreveal 4s infinite alternate;
|
||||
}
|
||||
|
||||
#ball {
|
||||
position: absolute;
|
||||
top: 27.5px;
|
||||
left: 50px;
|
||||
height: 98px;
|
||||
width: 100px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
background-color: @ball;
|
||||
border-radius: 50%;
|
||||
animation: ballmove 4s infinite alternate;
|
||||
z-index: 1;
|
||||
box-shadow: 0px 3px 15px rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
@keyframes ballmove {
|
||||
0%{transform: translate(0px, 8.5px) scale(0.1);}
|
||||
25%{transform: translateX(127.5px) scale(0.5);}
|
||||
50%{transform: translateX(255px) scale(0.1);}
|
||||
75%{transform: translateX(127.5px) scale(0.5);}
|
||||
100%{transform: translate(0px, 8.5px) scale(0.1);}
|
||||
}
|
||||
|
||||
@keyframes textreveal {
|
||||
0% {width: 0;}
|
||||
10% {width: 0;}
|
||||
50% {width: 240px;}
|
||||
100% {width: 0;}
|
||||
}
|
||||
Reference in New Issue
Block a user