FIND YOUR NEXT FEW LINES

Results for “if”

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

946 snippets foundClear filters
CSSVisual treatment & accessibility

Fade an entire element and its descendants

CSS: Opacity applies to the rendered element as a group, including child text.

CSS✓ Tested
CSSGrid placement

Fill an earlier grid hole with a later small item

CSS: Dense auto-placement may move a later item visually ahead of other items to fill a gap.

CSS✓ Tested
CSSGrid placement

Fill grid rows before moving to the next column

CSS: Column auto-flow fills the explicitly declared rows in each successive implicit column.

CSS✓ Tested
PythonCollections

Filter a list with a condition

Build a new list containing only the values that satisfy a condition using a list comprehension.

list✓ Tested
SQLExpressions & aggregates

Filter aggregate groups

Keep only categories with multiple products.

HAVING✓ Tested
SQLGetting Started

Filter by a numeric comparison

SQL: Keep rows whose quantity exceeds a chosen threshold.

SQL✓ Tested
SQL ServerGetting Started

Filter by a numeric comparison

SQL Server: Keep rows whose quantity exceeds a chosen threshold.

SQL Server✓ Tested
PostgresGetting Started

Filter by a numeric comparison

Postgres: Keep rows whose quantity exceeds a chosen threshold.

Postgres✓ Tested
SQLiteGetting Started

Filter by a numeric comparison

SQLite: Keep rows whose quantity exceeds a chosen threshold.

SQLite✓ Tested
SQLGetting Started

Filter groups after aggregation

SQL: Use HAVING to test a group’s calculated total.

SQL✓ Tested
SQL ServerGetting Started

Filter groups after aggregation

SQL Server: Use HAVING to test a group’s calculated total.

SQL Server✓ Tested
PostgresGetting Started

Filter groups after aggregation

Postgres: Use HAVING to test a group’s calculated total.

Postgres✓ Tested