Loading…
Loading…
CSS
A complete, current CSS course for students and working developers: selectors and the cascade, units and color, the box model, flexbox and grid, positioning and anchor positioning, responsive and container queries, typography, effects, animation and view transitions, and CSS architecture. 126 articles with practice quizzes.
Common flexbox layouts built from this part: navigation bars, media objects, input groups, cards with footers, a page footer that stays at the bottom, a sidebar that wraps without media queries, a row that switches to a column, and app shells.
kvi5hnuCode Sprout team member8 minReordering flex items with order and reversed directions, why visual order and keyboard and screen reader order can disagree, the WCAG rules involved, the new reading-flow and reading-order properties, and safe ways to reorder.
kvi5hnuCode Sprout team member8 minPlacing flex items on both axes: justify-content on the main axis, align-items and align-self on the cross axis, align-content for wrapped lines, baselines, safe alignment against data loss, gap, and auto margins for pushing and centering.
kvi5hnuCode Sprout team member10 minHow flexbox sizes items: the flex-basis starting size, how flex-grow shares free space and flex-shrink removes overflow weighted by size, the automatic minimum size and min-width: 0, the flex shorthand keywords, and unequal flex: 1.
kvi5hnuCode Sprout team member10 minWhat display: flex does to a container and its children, the main and cross axes and how writing modes change them, flex-direction, flex-wrap and flex-flow, what counts as a flex item, and when to choose flexbox over grid.
kvi5hnuCode Sprout team member8 minThe top layer that modal dialogs and popovers use, above every stacking context and outside any overflow: styling dialog and popover and their defaults, ::backdrop, :modal, :popover-open and :open, invoker buttons, and entry and exit animations.
kvi5hnuCode Sprout team member8 minPositioning an element relative to another anywhere on the page: anchor-name and position-anchor, position-area placements, anchor() and anchor-size(), fallbacks with position-try, position-visibility, implicit anchors for popovers, and anchor-scope.
kvi5hnuCode Sprout team member10 minHow browsers decide what paints on top: the painting order in a stacking context, which elements z-index applies to, every property that creates a stacking context, why z-index: 9999 still loses, isolation: isolate, and a layering system.
kvi5hnuCode Sprout team member9 minposition: fixed for elements that stay on screen and what traps them inside a container; position: sticky for headers, table heads and sidebars, why sticky often fails, and keeping stuck content from hiding focus and anchors.
kvi5hnuCode Sprout team member9 minThe position property and its offsets: relative nudging, absolute positioning against the nearest positioned ancestor, the static position, inset and its logical forms, stretching with opposite offsets, centering, and common patterns.
kvi5hnuCode Sprout team member8 minWrapping text around circles, polygons, rounded boxes and images instead of rectangles: shape-outside values, the reference box, shape-margin, image and gradient shapes with shape-image-threshold, pairing shapes with clip-path, and where shapes are limited.
kvi5hnuCode Sprout team member7 minWhat float really does: shifting a box to one side so text wraps around it, the placement rules, shrink-to-fit width and blockification, containing floats with flow-root, clear and clearance, why floats are no longer for page layout, and the jobs they still do best.
kvi5hnuCode Sprout team member8 minServing the right image for each screen: fluid images in CSS, width and height to prevent layout shifts, srcset with x and w descriptors, sizes and sizes="auto", picture for art direction and formats, loading priority, and image-set() for backgrounds.
kvi5hnuCode Sprout team member8 minbox-shadow offsets, blur, spread, color and inset, multiple shadows and layered elevation, shadows as rings and fake borders, text-shadow for legibility and effects, performance when animating shadows, forced colors, and when to use the drop-shadow() filter instead.
kvi5hnuCode Sprout team member8 minradial-gradient() shapes, sizes and positions, conic-gradient() angles and pie charts, the repeating forms, patterns built from them, and choosing how any gradient blends: the in keyword, color spaces such as oklab and oklch, and hue directions.
kvi5hnuCode Sprout team member8 minlinear-gradient() in depth: directions as keywords and angles, how the gradient line reaches corners, color stop positions, hard stops and stripes, color hints, fading to transparent, repeating-linear-gradient() patterns and everyday uses.
kvi5hnuCode Sprout team member9 minStacking several background layers on one element, how comma-separated lists line up and repeat, the background shorthand's syntax and the values it resets, and practical layered patterns: image overlays for readable text, icons, scroll shadows and patterns.
kvi5hnuCode Sprout team member7 minThe background properties one at a time: background-color and the canvas, background-image, repeat with space and round, position keywords, percentages and edge offsets, size with cover and contain, origin, clip including text, and attachment.
kvi5hnuCode Sprout team member11 minLogical properties name sizes, margins, padding, borders, radii and offsets by the inline and block axes, so layouts adapt to right-to-left and vertical text: the mapping, shorthands, logical keywords, and when physical properties fit.
kvi5hnuCode Sprout team member8 minThe display property's outer and inner types and two-keyword syntax, list-item and display: contents, and every way to hide content compared: display: none, visibility, opacity, hidden, inert, visually hidden text and content-visibility.
kvi5hnuCode Sprout team member10 min