FIND YOUR NEXT FEW LINES

Results for “cr”

Small, practical examples. Search by task or narrow things down below.

1833 snippets foundClear filters
HTMLNative disclosure & dialogs

Allow one disclosure in a named group to stay open

HTML: Matching details name attributes create an exclusive native accordion in supporting browsers.

HTML✓ Tested
CSSVisual treatment & accessibility

Allow pointer input to pass through a decorative overlay

CSS: Pointer-events none excludes the overlay from ordinary pointer hit testing.

CSS✓ Tested
HTMLInput constraints

Allow several selected options

HTML: A multiple select exposes each selected option as a value with the same control name.

HTML✓ Tested
CSSInteraction selectors

Alternate row backgrounds with a structural selector

CSS: Nth-child counts sibling positions starting at one.

CSS✓ Tested
ReactAccessibility & events

Announce a status update politely

Announce a status update politely with a small React component and explicit browser behavior.

React✓ Tested
JavaFiles & paths

Append a line

Append text to a Java file, creating it if necessary.

Java✓ Tested
PythonFiles & paths

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
Linux CommandsGetting Started

Append a line to a practice file

Linux Commands: Append a line to a practice file using GNU/Linux commands in an empty practice directory.

Linux Commands✓ Tested
Linux CommandsArchive integrity & packaging

Append a new member to an uncompressed tar

Linux Commands: Use tar -r for an existing uncompressed archive; compressed tar files cannot be appended this way.

Linux Commands✓ Tested
Linux CommandsStreams & byte tools

Append a stream to a log file

Linux Commands: Use tee -a to preserve existing log contents.

Linux Commands✓ Tested
RustVectors & slices

Append several values to a vector

Append several values to a vector in a complete Rust program using the standard library.

Rust✓ Tested
RustFiles & paths

Append to a file without truncating it

Append to a file without truncating it in a complete Rust program using the standard library.

Rust✓ Tested