Skip to content

Commit fc7ded5

Browse files
committed
fixing flexbox examples
1 parent 14a151c commit fc7ded5

File tree

3 files changed

+248
-7
lines changed

3 files changed

+248
-7
lines changed

flexbox/use-cases/MDN.svg

+242
Loading

flexbox/use-cases/media-flipped.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
}
6262

6363
.media {
64-
width: 300px;
64+
width: 500px;
6565
border: 2px dotted rgb(96, 139, 168);
6666
}
6767

@@ -94,7 +94,7 @@
9494
<body>
9595
<section>
9696
<div class="media flipped">
97-
<div class="image"><img src="https://placehold.it/60x60" alt="placeholder"></div>
97+
<div class="image"><img src="MDN.svg" alt="MDN logo"></div>
9898
<div class="content">This is the content of my media object. Items directly inside the flex container will be aligned to flex-start.</div>
9999
</div>
100100

@@ -114,7 +114,7 @@
114114
</textarea>
115115
<textarea id="code" class="playable-html">
116116
<div class="media flipped">
117-
<div class="image"><img src="https://placehold.it/60x60" alt="placeholder"></div>
117+
<div class="image"><img src="MDN.svg" alt="MDN logo"></div>
118118
<div class="content">This is the content of my media object. Items directly inside the flex container will be aligned to flex-start.</div>
119119
</div>
120120
</textarea>

flexbox/use-cases/media.html

+3-4
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
}
6262

6363
.media {
64-
width: 300px;
64+
width: 500px;
6565
border: 2px dotted rgb(96, 139, 168);
6666
}
6767

@@ -86,7 +86,7 @@
8686
<body>
8787
<section>
8888
<div class="media">
89-
<div class="image"><img src="https://placehold.it/60x60" alt="placeholder"></div>
89+
<div class="image"><img src="MDN.svg" alt="MDN logo"></div>
9090
<div class="content">This is the content of my media object. Items directly inside the flex container will be aligned to flex-start.</div>
9191
</div>
9292

@@ -102,8 +102,7 @@
102102
}
103103
</textarea>
104104
<textarea id="code" class="playable-html">
105-
<div class="media">
106-
<div class="image"><img src="https://placehold.it/60x60" alt="placeholder"></div>
105+
<div class="media">MDN logo"></div>
107106
<div class="content">This is the content of my media object. Items directly inside the flex container will be aligned to flex-start.</div>
108107
</div>
109108
</textarea>

0 commit comments

Comments
 (0)