You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What information was incorrect, unhelpful, or incomplete?
The css 'code' contains style rules which does not match any html elements.
Specific section or headline?
Under headline: The Recipe.
Scroll down to bottom.
Copy Code --> This is the code this post refers to.
The css code includes the following style rule:
.media-flip > .media {
grid-column-start: 1;
}
But no html markup matches the selector list.
There are no elements of class .media that are direct children of an element of class .media-flip.
I.e. the code does nothing - as far as I can tell.
What did you expect to see?
I would expect the css selectors to match some html markup.
Did you test this? If so, how?
Deduction from my limited understanding of html and css.
Induction including the following observations:
I observed the page in action in a browser with the code in question active.
I then commented out the code and observed again.
I could not see any difference between these two observations.
This is fixed - thanks for reporting it, I think that was some redundant code. I've also made a PR above to sort out the squashed demos so they should be easier to read once it is merged.
MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/Layout_cookbook/Media_objects
What information was incorrect, unhelpful, or incomplete?
The css 'code' contains style rules which does not match any html elements.
Specific section or headline?
Under headline: The Recipe.
Scroll down to bottom.
Copy Code --> This is the code this post refers to.
The css code includes the following style rule:
.media-flip > .media {
grid-column-start: 1;
}
But no html markup matches the selector list.
There are no elements of class .media that are direct children of an element of class .media-flip.
I.e. the code does nothing - as far as I can tell.
What did you expect to see?
I would expect the css selectors to match some html markup.
Did you test this? If so, how?
Deduction from my limited understanding of html and css.
Induction including the following observations:
I observed the page in action in a browser with the code in question active.
I then commented out the code and observed again.
I could not see any difference between these two observations.
MDN Content page report details
en-us/web/css/layout_cookbook/media_objects
The text was updated successfully, but these errors were encountered: