Webbserver - Love Blomberg

Show sourcecode

The following files exists in this folder. Click to view.

public_html/gamla-kurser/webbutv1/ovningar/css/

bento_grid.css
css_ovning-flexbox.css
css_ovning10.css
css_ovning11.css
css_ovning3.css
css_ovning8a.css
css_ovning8b.css
css_ovning9.css
css_ovning9_alt.css

css_ovning-flexbox.css

84 lines ASCII Windows (CRLF)
.flexbox1 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: lightgreen;
    height: 300px;
}
.kanin-flexbox1 {
    width: 100px;
    background-color: white;
}

.flexbox2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: yellow;
    height: 300px;
}
.box {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}
.apa1-flexbox2 {
    width: 100px;
    align-self: flex-end;
    border-bottom: 5px blue solid;
}
.krokodil-flexbox2 {
    width: 100px;
    align-self: baseline;
    border-bottom: 5px red solid;
}
.apa2-flexbox2 {
    width: 100px;
    align-self: flex-end;
    border-bottom: 5px blue solid;
}

.flexbox3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: lightgreen;
    height: 500px;
}
.box2 {
    width: 300px;
    height: 25%;
    display: flex;
    background-color: blue;
    justify-content: center;
    border: 1px solid black;
}

.flexbox4 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;justify-content: space-between;
    background-color: white;
    margin: auto;
    border: 5px solid green;
    width: 800px;
    height: 300px;
    color: lime;
}
.red-box3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 98px;
    height: 98px;
    border: 1px solid black;
    background-color: red;
}
.flexbox4 .spec {
    background-color: blue;
    width: 298px;
}