Build compact websites for a browser running directly on Nintendo 64 hardware.
CSS64 supports external stylesheets, embedded <style> blocks, and inline style attributes.
Element
p, h1, div, and other supported HTML64 types.
Class
.panel.
ID
#site-logo.
Where a property accepts a length, CSS64 can use pixels, font-relative em, viewport-width vw, and viewport-height vh values. Percentage and auto support depends on the property.
.panel {
width: 80vw;
height: 25vh;
padding: 0.75em;
max-width: 560px;
}
Sizing
width
height
min-width
max-width
Spacing
margin
padding
top/bottom
left/right
Display
inline
inline-block
block
vertical-align
Hex colors
#RGB, #RGBA, #RRGGBB, and #RRGGBBAA.
RGB colors
rgb() and rgba() with numeric or percentage channels.
Named colors
black, white, red, green, blue, yellow, gray/grey, transparent, and currentcolor where supported.
Text
color, font-family, font-size, text-align, line-height, and vertical-align.
Opacity
Use a value from 0 through 1.
color: #f80; background-color: rgba(32, 64, 96, 0.8); opacity: 0.7;
Properties
background, background-color, background-image, background-repeat, background-size, and background-position.
Repeat
repeat, repeat-x, repeat-y, and no-repeat.
Size
auto, cover, contain, pixels, percentages, one-value, and two-value forms.
Position
Keywords, pixels, percentages, one-value, and two-value forms.
.panel {
background: #dcecff;
background-image: url("images/background2.png");
background-repeat: repeat;
background-size: 32px 32px;
}
Supported border styles are none, hidden, dotted, dashed, solid, double, groove, ridge, inset, and outset. Border radius supports shorthand and individual corners, but it requires additional rendering memory. Use it sparingly on N64 pages, especially for repeated containers.
.small-badge {
border-radius: 8px;
}
box-shadow
Offsets, blur, spread, colors, inset shadows, multiple shadows, and none.
outline
outline, width, style, color, and offset.
position
static, relative, absolute, and fixed.
Offsets
top, right, bottom, and left with positive or negative lengths, zero, or auto.
Stacking
z-index accepts a signed integer or auto.
Cursor
auto, default, and pointer.
Standard CSS block comments are accepted and ignored.