Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The interactive examples didn't have width and height CSS properties, which make them invisible in other editor environment. #154

Open
JohannesMolla opened this issue Oct 23, 2023 · 2 comments
Labels
effort: large Task is large effort. enhancement Improves an existing feature. idle Issues and pull requests with no activity for three months.

Comments

@JohannesMolla
Copy link

JohannesMolla commented Oct 23, 2023

MDN URL

https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Backgrounds_and_borders

What specific section or headline is this issue about?

Backgrounds and Borders

What information was incorrect, unhelpful, or incomplete?

CSS properties of image elements should be placed in the interactive code. I tried to copy the code on sublime but didn't see the image, until I figured out that it needs width and height to be displayed.

What did you expect to see?

Full CSS properties

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

Everything on the MDN is fantastic, I enjoyed learning on MDN platform 💖

MDN metadata

Page report details
@JohannesMolla JohannesMolla added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Oct 23, 2023
@caugner caugner transferred this issue from mdn/content Oct 25, 2023
@caugner
Copy link
Contributor

caugner commented Oct 25, 2023

This is a limitation of the interactive editor we use for CSS examples.

The "Background images" example has two <style> elements:

It would make sense if the user could see the non-editable portion of the CSS.

@caugner caugner added enhancement Improves an existing feature. effort: large Task is large effort. and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Oct 25, 2023
@iprinceroyy
Copy link

Hey @caugner, I've done a brief overview of the mentioned HTML file and linked JS and CSS files. I am ready to work on this issue. Is there any specific design or do we need to do it ourselves? Could you give me more context?

@github-actions github-actions bot added the idle Issues and pull requests with no activity for three months. label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: large Task is large effort. enhancement Improves an existing feature. idle Issues and pull requests with no activity for three months.
Projects
None yet
Development

No branches or pull requests

3 participants