More directly, this is a place for me to upload whatever is itching at my brain at any given moment. While I've subjected my friends and loved ones to many insane rants, there's only so much any one person can handle.
In any event, I'll probably yap about whatever media I'm into at the time, so look forward to rants about video games, books, movies, music and anything I'm nostalgic for on a given day.
Inspired by ungrid, Element CSS wires up custom element <g-row>
to be a row
and <g-col>
to be a column. It's an easy, auto-sized, responsive grid that Just Works, and supports the upcoming HTML5 custom elements spec.
I've had twelve years to think about it. And if I had it to do over again, I would have grabbed the phaser and pointed it at you instead of them.
I'm the first column!
I'm the second column!
I'm grid 3, but a lot smaller than the others.
Oversized images are auto-resized to fit the column:
Oversized images are auto-resized to fit the column:
Name | Instrument |
---|---|
Data | Violin |
Riker | Trombone |
Name | Instrument |
---|---|
Data | Violin |
Riker | Trombone |
<code>
elements used in a <p>
will be inline-block: echo('hello world!')
. Code tags
outside of a <p>
will be blocks, with code indenting automatically fixed (no <pre>
indenting gymnastics needed).
const user = {
name: 'Commander Riker',
username: 'hotjazzhotternights1337'
}
console.log(user.name)
If you need to embed HTML code examples, you can use the <xmp>
tag, which makes it so you don't need to encode escapes.
Sadly, the HTML5 spec is trying to obsolete the <xmp>
tag even though it's the only way to make this work,
but all browsers seem to be supporting it anyways. Use at your own risk.
If you want syntax highlighting, just embed highlight.js and the highlighting style you want and it's automatically configured.
Use this template to get started:
Okay, you're all set!
If you want to use code syntax highlighting, use this:
Okay, you're all set!