exemple de media query

This commit is contained in:
Denis Monnerat 2024-12-17 09:09:27 +01:00
parent 2240c5f2fb
commit 4db5fb7c97

View File

@ -70,6 +70,7 @@ footer a,nav ul a
em{ em{
font-weight:bold; font-weight:bold;
} }
.informaticien article .informaticien article
{ {
flex:1 40%; flex:1 40%;
@ -78,14 +79,25 @@ em{
margin : 5px; margin : 5px;
text-align:left; text-align:left;
} }
.informaticien article img .informaticien article img
{ {
float :right;
width : 125px; width : 125px;
height:125px; height:125px;
padding:10px; padding:10px;
box-shadow: 10px 10px 5px #656565; box-shadow: 10px 10px 5px #656565;
} }
@media (min-width:900px)
{
.informaticien article img
{
float :right;
}
}
.date .date
{ {
font-size : 1rem; font-size : 1rem;