- 27,694
- Posts
- 4
- Years
- Any pronoun
- Seen today
can you give me a simple example line off css that i can put in "Hello my name is"
For something like a signature or post? Would not call this simple, but:
Hello my name is
In plain text:
[cd="border-width: 1em; border-style: solid; border-color: #000000; max-width:75%; margin: auto; padding: 3%; background-color: #ffffff; font-family:Audiowide;"][color="Black"]Hello my name is[/color]
[/cd]
Quick explanations of everything:
- border-width: The size of the border. Could use px (short for pixel) instead of em (2 em = twice size of font) for smaller amounts. Mentions using border-radius instead of border-width for rounded corners.
- border-style: Style of border. Knows of solid, dashed, and dotted.
- border-color: The color of the border with its hexadecimal color. Recommends Googling for a hexadecimal color finder. Some quick examples: #000000 for black, #ffffff for white, #117d0e for green.
- padding: Adds some space between the border and the stuff inside.
- max-width and margin: auto: Keeps it looking decent on multiple computer displays...probably.
- background-color: The background of the stuff inside. Heavily recommends using a background (of some color) due to some forum themes being white and others black. Provides a standard base to put your font on.
- font-family: Changes the style of font. Chose one that was noticeable here.
- color: Standard BB code useable anywhere. Heavily recommends using this in CSS stuff too. Uses white or black font by default, depending on your forum theme. May not show up for some people if you do not account for this.
Is not an expert at CSS in the slightest, though. Mostly repurposes CSS that others do.