xxxxxxxxxx
1
<div class="row">
2
<div class="col-12">
3
<button type="submit" class="btn btn-primary" name="formPart1" value="1">Etape suivante<i class="fas fa-angle-right ml-2"></i></button>
4
</div>
5
</div>
6
7
<button type="submit" class="test">test button</button>
xxxxxxxxxx
1
.btn {
2
box-shadow:none;
3
transition: 1s filter linear;
4
filter: brightness(100%);
5
}
6
7
.btn:hover {
8
box-shadow:none;
9
filter: brightness(70%);
10
transition: 1s filter linear;
11
}
12
13
.test {
14
padding: 10px 40px;
15
margin: 5px;
16
background-color: #EE0000;
17
color: white;
18
border:none;
19
border-radius: 5px;
20
transition-duration: 0.3s !important;
21
}
22
.test:hover {
23
filter: brightness(70%);
24
transition-duration: 0.3s !important;
25
}
26
1
1
Console errors: 0