Verskil tüsken versys van "Mal:Vöärblad/styles.css"

Uut Wikipedia, de vrye encyklopedy
Verwijderde inhoud Toegevoegde inhoud
RoboServien (Oaverleg | bydragen)
Geen bewerkingssamenvatting
RoboServien (Oaverleg | bydragen)
Geen bewerkingssamenvatting
Regel 1: Regel 1:
.some-page-wrapper {
margin: 15px;
background-color: red;
}

.row {
.row {
display: flex;
display: flex;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
}
}


.column {
.column {
flex: 50%;
display: flex;
flex-direction: column;
flex-basis: 100%;
flex: 1;
}
}


.left-column {
/* Responsive layout */
height: 100px;
@media screen and (max-width: 480px) {
.column {
width: 100%;
}
}
}


.right-column {
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
height: 100px;

@media only screen and (max-width: 480px) {
.column {
margin: 1% 0 1% 0%;
}
}
}


@media only screen and (max-width: 480px) {
@media screen and (min-width: 480px) {
.column { width: 100%; }
.column {
flex: 1
}
}
}

Versy up 17:13, 3 jan 2020

.some-page-wrapper {
  margin: 15px;
  background-color: red;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.left-column {
  height: 100px;
}

.right-column {
  height: 100px;
}

@media screen and (min-width: 480px) {
  .column {
    flex: 1
  }
}