s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam
Api
Classes
PositionMode
chevron_left Classes
enum
PositionMode

Static Fields

crop_dinAbsolutecrop_dinFixedcrop_dinRelativecrop_dinStatic
PositionMode
Possible values for <c>position</c> CSS property.
enum Sandbox.UI .
sealedSandbox.System

crop_din Static Fields 4

Absolute
PositionMode
Same as Sandbox.UI.PositionMode.Relative, but the elements size does not affect other elements at all.
Fixed
PositionMode
A root-viewport overlay that remains a logical child. Insets and percentages use the viewport, ignoring ancestor scrolling, transforms and clipping. Unset insets start at the viewport's top-left (not the CSS static position). Logical visibility and opacity still apply.
Relative
PositionMode
Enables top, right, bottom, left, and z-index to offset the element from its would-be position with Sandbox.UI.PositionMode.Static.
Static
PositionMode
Default, the top, right, bottom, left, and z-index properties have no effect.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter