SASS Buttons Grammar
Explore the Open Coding Society button grammar through living examples.
Hi! My name is [Your Full Name]
Learning Buttons
SASS Mixins examples and code, explore these topics by clicking standard OCS SASS buttons.
Development Environment
Use
ocs__btn-icon. Click, then inspect how image and SVG icons are added in code.
Code Runner Lessons
Foundations in Tech are essential, click my iridescent buttons to see some of my lesson creations.
Class Progress
Here is my game progress through coding, click multicolor and size buttons to see these in the browser
Drag and Drop Buttons
Use
ocs__drag-btnfor draggable choices andocs__drop-btnfor their destinations. Drag a part onto a slot, or select both buttons with a mouse or keyboard. The complete class contract is documented in_sass/open-coding/elements/buttons/button-grammar.md.
Mini Assembly Bench
Drag a part to its slot.
Parts tray
Connection points
Size Classes
The same classes at three scales. Put
ocs__dnd--small,--medium, or--largeon the board to resize everything inside it, or the same suffix on a singleocs__drag-btn/ocs__drop-btn.
ocs__dnd--small
ocs__dnd--medium
ocs__dnd--large