CodesIncludes: quick copy and paste codes to make life easier.
Filed Under: You
pg 2/4
Codes

UL List Style

What it does

Allows you to customize your lists. Instead of the standard bullet, you can add your own graphic. Pixel-worthy ^~^o

Text Outline

What it does

A clean look that's a little bit different. Make sure the color is set to the color of the page background. Adjust the thickness of the outline as you see fit.

Stylesheet

What it does

Tells any internal page the code to read for styles. Make a .css doc to use. If you need help please ask in the cbox :)

Border-Box

What it does

Border box is an awesome tool to have on hand. Whether you have lots of elements or just a few, it will neutralize, more or less, the padding and border styles so that it doesn't affect your widths and heights. !! YES, IT'S AWESOME!!

Absolute Center

What it does

Places an element in the exact center of a page. The only trick is that you need to define the height.

Scroll bar (webkit)

What it does

Allows you to customize your scroll bar. The border-radius defines how round you want the scroll bar to be at its top and bottom.

Font Smoothing

What it does

Helps to smooth fonts and webkit transform elements. Say you rotated a div at 40 degrees, this will smooth the line so that it doesn't look pixelated.

Margin Origin

What it does

Shortens a margin attribute so that you don't have to specify each side. The order is: Top Right Bottom Left (TRouBLe)

Java HTML "back" link

What it does

Directs a user back one page from where ever they are browsing on your site.

Up Next

Pixels
 
Milky Glitter

Hello! You've stumbled upon my little URL.. My name is Alaina & I am a mom, wife, entrepreneur, and developer. I like cute s*** but only on the internet 'cause IRL it'll get ruined.

Learn more..

 
Follow

@ohmyacres


© Copyright 2018