Math Jazz — Mathias Bynens’s shizzle, y’all



Note: This site might seem inactive… That’s because it is. Don’t worry though, I’m still coding webpages and stuff! If you’re interested, I suggest you get a translator and head over to Qiwi; or you could just check the latest site we’ve been working on: AD Delhaize Lebbeke. Enjoy!

Belgian flag in CSS

Inspired by Anne van Kesteren’s Dutch flag in CSS, which was in turn inspired by the Canadian flag in CSS linking a British flag in CSS, I created (guess what) the Belgian flag in CSS. Since the three bars aren’t quite horizontal, this is not as easy to “design” as for example the German CSS flag, but hey, I managed. Consider this a CSS stunt.

Filed under Fun, CSS, XHTML · March 12th, 2005

Comments (13)

Listed below are the responses for this entry.

  1. Joël Kuiper:
    This commenter’s Gravatar

    Eehm the URLs you provided for the Belgian and German flag are served as text/plain instead of application/xhtml+xml (they are XHTML files) or text/html as they are supposed to be.

    Comment posted on March 12th, 2005 @ 7:34 pm
  2. Luke:
    This commenter’s Gravatar

    Hm, now to find a CSS version of the Stars and Stripes. I’d make my own but I don’t know CSS well enough (at all, really) to work out that sort of thing…

    Comment posted on March 12th, 2005 @ 9:12 pm
  3. ghola:
    This commenter’s Gravatar

    Why send the files as text/plain? I have to save the file and open it again in my browser to see the result.

    Is there a trick I don’t get?

    Since the three bars aren’t quite horizontal […]

    I don’t understand this either…

    Comment posted on March 12th, 2005 @ 9:18 pm
  4. Mathias:
    This commenter’s Gravatar

    Joël and Ghola, I really don’t know what went wrong with the files being served as text/plain. Anyway, everything should work now, as text/html (no more XHTML).

    Since the three bars aren’t quite horizontal […]

    Ghola, what I was meaning to say is that opposed to for instance the German flag, the Belgian flag consists of three vertical strokes, making it a bit harder to CSSinize it.

    Comment posted on March 12th, 2005 @ 10:20 pm
  5. Mathias:
    This commenter’s Gravatar

    I uploaded two new files:

    Note that the full screen CSS Belgian flag is perfectly resizable and will always fit your viewport, whereas the German one won’t.

    Comment posted on March 13th, 2005 @ 7:01 pm
  6. Indranil:
    This commenter’s Gravatar

    Very cool.
    How do you make a circle in CSS??

    Comment posted on March 14th, 2005 @ 5:25 pm
  7. Mathias:
    This commenter’s Gravatar

    Indranil, I don’t think that’s possible… Here’s an example of the best result I can come up with, using -moz-border-radius. (By the way, why would you want to design CSS circles?)

    On another note, Anne told me I was using markup to design the flags, not CSS. Eventually, he put online his Belgian flag, which unfortunately only works correctly in Opera.

    Comment posted on March 16th, 2005 @ 5:20 pm
  8. Indranil:
    This commenter’s Gravatar

    I was trying to get an Indian flag, which has a “chakra” in the center.

    Comment posted on March 16th, 2005 @ 6:52 pm
  9. Mathias:
    This commenter’s Gravatar

    Awch, that looks difficult… I’m afraid you’ll have to use an image there, or go wild and IllustRender the chakra or something.

    Comment posted on March 16th, 2005 @ 8:49 pm
  10. Ischa Gast:
    This commenter’s Gravatar

    That article from Anne van Kesteren also inspired me making the Surinam flag.

    Who is next?

    Comment posted on March 16th, 2005 @ 11:03 pm
  11. Indranil:
    This commenter’s Gravatar

    I see. Boy it’s gonna be hard even trying :(

    Comment posted on March 19th, 2005 @ 2:19 pm
  12. Erwin Heiser:
    This commenter’s Gravatar

    ROTFL
    Man oh man what will you think up next?
    Respect!

    Comment posted on March 25th, 2005 @ 10:20 pm
  13. Bart:
    This commenter’s Gravatar

    Nice one!

    Comment posted on May 28th, 2005 @ 9:22 am

Trackbacks & Pingbacks (3)

Listed below are resources on the web that mention this article.

  1. Web Graphics: A standards/CSS link dump:
    This commenter’s Gravatar

    A standards/CSS link dump
    […] And finally, it seems that CSS flags are very popular: British, Canadian, Dutch, German and Belgian flags.

    Trackback made on March 12th, 2005 @ 11:47 pm
  2. Pixeladas Aleatórias: CSS: Guerra de Pixels:
    This commenter’s Gravatar

    CSS: Guerra de Pixels
    O CSS House é uma boa referência do que é possível fazer com o CSS. Mas estas demonstrações estão passando das meras demonstrações para o campo das batalhas pixelares. […]

    Trackback made on March 14th, 2005 @ 1:53 pm
  3. Rodrigo Muniz: Brazil Flag (CSS):
    This commenter’s Gravatar

    Brazil Flag (CSS)
    Saiu! Depois dos gringos mostrarem do que o CSS é capaz fazendo bandeiras do Canadá, Alemanha, Bélgica e Holanda, agora foi a vez do Maujor montar a que faltava: a Brazil Flag totalmente em CSS, sem imagens […]

    Trackback made on March 16th, 2005 @ 9:01 pm