layout: doc title: “Cobalt Support Quick Reference”
HTML elements
<body>
<br>
<div>
<head>
<html>
<link>
(with type="text/css"
)<meta>
<script>
<span>
<style>
<video>
CSS properties
- animation
- background, background-color, background-image
- border, border-top, border-bottom, border-left, border-right
- border-radius
- border-style
- border-width
- box-shadow
- color
- content
- display
- font
- @font-face
- font-family
- font-size
- font-style
- font-weight
- line-height
- margin, margin-top, margin-bottom, margin-left, margin-right
- max-height, max-width
- @media
- opacity
- overflow
- padding, padding-top, padding-bottom, padding-left, padding-right
- position
- top, bottom, left, right
- transform
- transform-origin
- transition
- transition-delay
- transition-duration
- transition-property
- transition-timing-function
- text-align
- text-indent
- text-overflow
- text-shadow
- text-transform
- vertical-align (supported values:
top
, bottom
, middle
, baseline
) - visibility
- white-space
- z-index
CSS selectors
- Simple selectors: ‘*’, type, .class, #id, :empty, :focus, :not()
- Pseudo elements: :before, :after,
- Combinators: ' ', ‘>’, ‘+’, ‘~’
- Grouping with ‘,’
JavaScript Web APIs
Protocols
Media formats
Containers
- FLV
- MKV (for WebM)
- MP4/FMP4
- WAV
Encodings (depending on platform support)
- AAC
- AVC (H.264) at 1080p/60fps (Level 4.2)
- VP8/Vorbis
- VP9/Opus
- 16-bit stereo PCM audio (for sound effects)
Images
- JPEG
- PNG
- WebP (non-animated)