On évite les décalages à l'aide de box-shadow
This commit is contained in:
parent
5aab3a5e25
commit
a21112225c
|
@ -29,14 +29,13 @@ main article p {
|
||||||
width:80%;
|
width:80%;
|
||||||
margin-left:10%;
|
margin-left:10%;
|
||||||
margin-bottom:2%;
|
margin-bottom:2%;
|
||||||
background:#FFFFFF;
|
background:#FFFFFF;
|
||||||
border:dashed ;
|
box-shadow: inset 0 0 0 2px rgba(45,81,144);
|
||||||
border-color:#00419b;
|
}
|
||||||
border-width:2px;}
|
|
||||||
|
|
||||||
main article p:hover {
|
main article p:hover {
|
||||||
border-width:4px;
|
box-shadow: inset 0 0 0 6px rgba(45,81,144);
|
||||||
border-color:#5aa120;}
|
}
|
||||||
|
|
||||||
main article p a img {
|
main article p a img {
|
||||||
width:96%;
|
width:96%;
|
||||||
|
|
Loading…
Reference in New Issue