# GSS (GPU Style Sheets) > GSS writes 3D scenes in CSS: shapes declared in `@scene`, styled with selectors, the cascade and `@keyframes`, and compiled into one raymarching fragment shader for WebGL2 and WebGPU. No Three.js, no meshes. GSS takes CSS syntax and CSS behavior wherever CSS has the notion: selectors, combinators, pseudo-classes, the cascade, `var()`, `calc()`, `@keyframes`, `@media`, transitions. What is new is the 3D vocabulary: shapes, materials, the camera, lights. The npm package is `gss-lang` (v0.0.8); every example of the docs can be edited live at https://www.gss-lang.dev/docs. ## Start here - [Getting started](https://www.gss-lang.dev/docs/getting-started.md): Why GSS, Your first scene - [Installation](https://www.gss-lang.dev/docs/installation.md): Embedding a scene, Package (npm), Vite plugin, CDN (no build step), Set variables from JavaScript, Follow the page as it scrolls, Keep a scene fast, Editor support ## Language - [At-rules](https://www.gss-lang.dev/docs/at-rules.md): `@debug-panel`, `@gpu`, `@keyframes`, `@media`, `@paint`, `@property`, `@property-panel`, `@scene`, `@mixin`, `@apply`, `@for`, `@each` - [Selectors](https://www.gss-lang.dev/docs/selectors.md): ``, `.class`, `#id`, `[attribute]`, `*`, `a, b`, `&`, `!important` - [Combinators](https://www.gss-lang.dev/docs/combinators.md): `a b`, `a > b`, `a + b`, `a ~ b` - [Pseudo-classes and cursor](https://www.gss-lang.dev/docs/pseudo-classes.md): `:hover`, `:active`, `:has()`, `:not()`, `:nth-child(), :nth-last-child()`, `:nth-of-type(), :nth-last-of-type()`, `:first-child, :last-child, :only-child`, `::face(), ::top, ::bottom`, `cursor` - [Variables and conditions](https://www.gss-lang.dev/docs/variables-conditions.md): `if()`, `var()` - [Math](https://www.gss-lang.dev/docs/values.md): `calc()`, `abs(), sqrt(), pow()`, `asin(), acos(), atan(), atan2()`, `hover-distance(), hover-direction()`, `hypot(), log(), exp()`, `min(), max(), clamp()`, `progress()`, `random()`, `sibling-count()`, `sibling-index()`, `sign(), round(), mod(), rem()`, `sin(), cos(), tan()` ## Structure - [Shapes and groups](https://www.gss-lang.dev/docs/shapes.md): `capsule`, `cone`, `cube`, `cylinder`, `group`, `lathe`, `octahedron`, `path`, `plane`, `prism`, `pyramid`, `sphere`, `torus`, `tube` - [Geometry](https://www.gss-lang.dev/docs/object-properties.md): `corner-radius`, `d`, `depth`, `height`, `radius`, `size`, `stroke-width`, `thickness`, `view-box` - [Combinations](https://www.gss-lang.dev/docs/combinations.md): `blend`, `operation` ## Appearance - [Colors](https://www.gss-lang.dev/docs/colors.md): `color`, `background`, `background-blend-mode`, `floor`, `mix-blend-mode` - [Color functions](https://www.gss-lang.dev/docs/color-functions.md): `rgb()`, `hsl()`, `hwb()`, `lab(), lch()`, `oklab(), oklch()`, `color()`, `color-mix()`, `light-dark()`, `contrast-color()`, `currentColor` - [Gradients and noise](https://www.gss-lang.dev/docs/gradients.md): ``, `checker()`, `displace()`, `noise()`, `stripes()` - [Materials](https://www.gss-lang.dev/docs/materials.md): `material` - [Textures](https://www.gss-lang.dev/docs/textures.md): `element()`, `image-rendering`, `paint()`, `texture`, `texture-mapping`, `texture-size` - [Text](https://www.gss-lang.dev/docs/text.md): `content`, `font-family`, `font-size`, `font-style`, `font-weight`, `text-align`, `text-color` - [Filters](https://www.gss-lang.dev/docs/filters.md): `filter` - [Visibility, opacity, outlines and masks](https://www.gss-lang.dev/docs/masks.md): `display`, `mask-image`, `mask-mode`, `opacity`, `outline`, `outline-color`, `outline-offset`, `outline-style`, `outline-width`, `visibility` ## Motion - [Transforms](https://www.gss-lang.dev/docs/transforms.md): `offset-distance`, `offset-path`, `offset-rotate`, `rotate-x`, `rotate-y`, `rotate-z`, `scale`, `transform-origin`, `translate` - [Animation and transitions](https://www.gss-lang.dev/docs/animations.md): `animation`, `animation-delay`, `animation-direction`, `animation-duration`, `animation-fill-mode`, `animation-iteration-count`, `animation-range`, `animation-range-end`, `animation-range-start`, `animation-timeline`, `animation-timing-function`, `transition`, `transition-delay`, `transition-duration`, `transition-property`, `transition-timing-function` - [Easings](https://www.gss-lang.dev/docs/easings.md): `cubic-bezier()`, `linear()`, `steps()` - [Scroll timelines](https://www.gss-lang.dev/docs/timelines.md): `scroll()`, `view()` ## Scene - [Camera](https://www.gss-lang.dev/docs/camera.md): `camera-angle`, `camera-distance`, `camera-fov`, `camera-spin`, `camera-target`, `controls` - [Lighting and fog](https://www.gss-lang.dev/docs/scene-properties.md): `light` (sun), `light` (point), `intensity`, `ambient`, `shadows`, `fog`, `ambient-occlusion`, `shadow-softness`, `shadow-steps` - [Rendering](https://www.gss-lang.dev/docs/rendering.md): `antialias`, `dpr`, `hit-precision`, `max-distance`, `raymarch-steps`, `shape-rendering`, `view` ## Optional - [Every page of the docs in one file](https://www.gss-lang.dev/llms-full.txt) - [The home page](https://www.gss-lang.dev/index.md): what GSS is, and the three ways to install it - [Playground](https://www.gss-lang.dev/playground): write a scene and see it compile as you type - [Source on GitHub](https://github.com/LukyVj/GSS)