Results for “html”
Small, practical examples. Search by task or narrow things down below.
Collapse a panel after an animation
jQuery: slideUp hides the panel when the transition completes.
jQuery✓ Tested
Collect matching ancestors
jQuery: parents can return several ancestors, ordered from the nearest outward.
jQuery✓ Tested
Collect multiple values through a multi provider
Collect multiple values through a multi provider with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Collect repeated form field names
jQuery: serializeArray preserves multiple values as name-value records.
jQuery✓ Tested
Combine a fixed sidebar with a flexible content track
CSS: Minmax zero avoids an intrinsic minimum forcing the flexible track wider than its container.
CSS✓ Tested
Combine the latest values from observables
Combine the latest values from observables with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Combine two selections
jQuery: add returns a combined collection in document order.
jQuery✓ Tested
Constrain and center a container
Use max-width and auto margins for a centered CSS reading area.
CSS✓ Tested
Control a native dialog through a reference
Control a native dialog through a reference with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Control tab width in preformatted content
CSS: Tab-size defines the interval of tab stops in a preformatted block.
CSS✓ Tested
Control the size of a repeated background tile
CSS: Background-size sets the rendered dimensions of each repeated background image.
CSS✓ Tested
Count matched elements
jQuery: Learn how to count matched elements in a complete browser example.
jQuery✓ Tested