Results for “k”
Small, practical examples. Search by task or narrow things down below.
Align a nested grid with its parent’s columns
CSS: Subgrid reuses the parent tracks for the nested grid’s covered span.
CSS✓ Tested
Align flex items at the main-axis end
CSS: Flex-end uses the trailing edge of the flex container for packing.
CSS✓ Tested
Allocate a zeroed array
Check calloc, use the allocation, and release it in C.
C✓ Tested
Allocate and free a typed array
C: Use sizeof on the pointed-to type and check allocation success before writing.
C✓ Tested
Animate a numeric CSS property
jQuery: animate interpolates supported numeric properties to their final values.
jQuery✓ Tested
Animate relative to the current value
jQuery: A plus-equals value adds to the current numeric CSS value.
jQuery✓ Tested
Announce a status update politely
Announce a status update politely with a small React component and explicit browser behavior.
React✓ Tested
Announce a status update with a live region
Announce a status update with a live region with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Append a dynamic form control
Append a dynamic form control with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Append a line
Append UTF-8 text without replacing existing C# file contents.
C#✓ Tested
Append a line
Append text to a Java file, creating it if necessary.
Java✓ Tested
Append a line to a file
Add a new line to the end of a text file without replacing its existing contents. Append mode also creates the file if it does not exist.
file✓ Tested