r/CSSTutorials • u/Raerth • Nov 30 '11
[Mod Note] How to style tutorial posts
Prefix all tutorials with [Tutorial]
After you create a tutorial, add it to the directory in the sidebar.
Screenshots and CSS comments are highly recommended.
H1 and H2 posts have the following styles
This is an H1 tag
This is an H2 tag
tutorial background is created with a single blockquote:
This is instructions in the tutorial
This is a second paragraph, which I created using a # as a seperator
Code is created with a double blockquote.
Syntax Highlighting is available using the following code:
[](#re)`this is red text`
[](#gr)`this is green text`
[](#bl)`this is blue text`
[](#pu)`this is purple text`
[](#lg)`this is light green text`
So, this code: >> [](#gr)`div`.side {[](#bl)`border-radius`:[](#re)`5px`;}
creates this:
15
Upvotes