Mes Applis , Scripts

Fermer Magret

Fermer Magret-install

Fermer IDSI

Fermer Fusion de bases

Fermer Affichage TV

Fermer Affichage TV Google drive

Fermer Autre

Fermer Classroom

Fermer Codes cryptés

Fermer Drone

Fermer EDT

Fermer ENT

Fermer ENT - Bloc Notes

Fermer ENT - Enregistreur Micro Ver 1

Fermer ENT - Enregistreur Micro Ver 2

Fermer ENT - Listes perso

Fermer Flipbook

Fermer Maths

Fermer Pronote

Fermer Publipostage

Fermer Station Météo WS2355

Fermer Suvi-Eleve

Fermer Textes à trous

Fermer W7 - W8

Technique

Fermer Magret

Fermer ADOBE

Fermer Autre

Fermer Boinc

Fermer CSS

Fermer Clônage de station

Fermer ENT

Fermer ENT - Authentification CAS

Fermer ENT - CSS

Fermer EOLE

Fermer EPUB

Fermer ESXI

Fermer Flash Player

Fermer Fontmotion

Fermer InfodocLog

Fermer Machines

Fermer PDF

Fermer Partitionner un disque dur

Fermer Programmation

Fermer Pronote

Fermer Scripts

Fermer Serveur SIP VOIP Elastix

Fermer Utilitaires

Fermer W7 - W8

Fermer Windows 10

Fermer chrome

Liens

MAGRET

Magret  TICE 


Msi du pôle d'appui Tarbes/Vic



Entraide Magret

Recherche de drivers

Snappy Drvers


driver pack solutions


Rechercher des fichiers

xsearch

Voir l'espace disque occupé
SpaceSniffer


AUTRES
WPKG installations silencieuses


Hardware

carte mère->processeur
 

ENT - CSS - Responsive Web Design - Cadres

 

texte1

 

texte2

 

texte11

 

texte22

 

















   background-color: rgba(220,220,220,1);        <--- correspond à la couleur de fond du cadre

    @media screen and (max-width: 600px) {     <--   changement de la position des cadres à la limite de 600 pixels

Il suffit de coller le code source ci dessous dans le code source de l'ENT :




<style  type="text/css">.col{

        float:left;
        margin:2%;
        width: 46%;
}
.one{
   background-color: rgba(220,220,220,1);
}

.two{            
  background-color: rgba(220,220,220,1);
}

    @media screen and (max-width: 600px) {
        .col{
            float: none;
            margin:10;
            width: 100%;
        }
    }
</style>
</p>

<div id="container">
<div class="row">
<div class="col one">texte1
<p>&nbsp;</p>
</div>

<div class="col two">texte2
<p>&nbsp;</p>
</div>
</div>
</div>

<div id="container">
<div class="row">
<div class="col one">texte11
<p>&nbsp;</p>
</div>

<div class="col two">texte22
<p>&nbsp;</p>
</div>
</div>



fin du code source
 


Date de création : 08/01/2018 : 18:04
Dernière modification : 06/02/2018 : 09:00
Catégorie : ENT - CSS


Imprimer l'article Imprimer l'article

 
^ Haut ^