summaryrefslogtreecommitdiff
path: root/day9/task5/static/css/NewEntryStyle.css
blob: e1141b29623056a7a370a0d1b73ba9f8e0c8ba76 (plain)
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
.newEntryBtn {
    overflow: hidden;
    white-space: nowrap;

    position: fixed;
    bottom: 50px;
    left: 50px;

    padding: 5px;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background-color: #2871e2;
    color: white;
    font-size: 20px;

    transition-property: width, font-size;
    transition-duration: 0.6s;
}

.newEntryBtn:hover {
    width: 150px;
    font-size: 15px;
    background-color: #286bd6;
}

.newEntryBtn:focus {
    width: 200px;
    font-size: 15px;
    background-color: #2861c3;
}