diff --git a/src/projects/snippets/disability-pride-flag-background.md b/src/projects/snippets/disability-pride-flag-background.md index e2c322ee..061d0eff 100644 --- a/src/projects/snippets/disability-pride-flag-background.md +++ b/src/projects/snippets/disability-pride-flag-background.md @@ -16,11 +16,9 @@ I have used JavaScript to set up the header of the main part of this website, so Since Ann Magill released the Disability Pride flag to the public domain under [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/), I am doing the same to my responsive Disability Pride flag CSS background. Therefore, you are free to use my code and do what you want with it without asking for permission or crediting me. ## Demo +{% set demoHeight = "23rem" %} {%- css %} -.flag-disability.demo { - width: 100%; - height: 20rem; -} +.flag-disability.demo { height: {{ demoHeight }}; } {% endcss %} @@ -45,4 +43,6 @@ CSS: } ``` -After copying the above snippet in a CSS stylesheet or the HTML `