mdn / mdn/css-examples

`MDN Border-image generator`: Move `border-image-source` to the end in `CSS Code` output

Open Beginner friendly
#93 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

accepting pr effort: small enhancement tool: border-image-generator
Dominant language
HTML
Stars
647
Forks
830
PR merge metrics
No merged PRs in 30d

Description

Currently, properties are listed after the border-image-source property, like border-style.
As border-image-source contains the encoded image, it can become quite lengthy, and often the image is referenced differently (e.g. by URL or by some asset management in the build step). Hence the developer may copy everything until border-image-source and then just skip everything else, as there can be a lot to scroll down - and thereby easily miss other important properties, as border-style (which is required by Chrome to make the border image actually visible).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the MDN Border-image generator and its CSS Code output, starting from the code that assembles the generated properties. Move border-image-source after the other properties, including border-style, and verify that the generated CSS preserves the requested ordering and remains valid.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend, web-dev
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.