The Box Model describes how every HTML element is treated as a rectangular box. It’s fundamental for layout and spacing in CSS., CSS Box Model, The actual text, image, or other content inside the element., Content, Space between content and border (transparent)., Padding, Space outside the border, separating elements., Margin, web design involves styling text for readability and aesthetics. It includes font selection, sizing, line spacing, and weight., CSS Typography, Sets the typeface., font-family, Sets the text size (px, em, rem, %, etc.)., font-size, Boldness of text., font-weight, Space between lines, line-height, Space between characters., letter-spacing, Align text horizontally, text-align, Uppercase, lowercase, capitalization., text-transform, is a modern CSS layout system that makes it easier to align and distribute space among items in a container, even if their size is unknown., CSS Flexbox, is a two-dimensional layout system in CSS that allows you to create complex, responsive web layouts easily. Unlike Flexbox (which is primarily one-dimensional), CSS Grid Layout, Turns an element into a grid container, display: grid, Defines number and size of columns, grid-template-columns, Defines number and size of rows, grid-template-rows, Controls spacing between items, gap / row-gap / column-gap, Lets items span multiple columns/rows, grid-column / grid-row, Aligns content inside grid cells, justify-items / align-items, Aligns the whole grid, justify-content / align-content, is an approach in web development where the layout, images, and other elements of a webpage automatically adjust and adapt to fit different screen sizes and devices—whether it’s a desktop, laptop, tablet, or mobile phone., Responsive Web Design (RWD), Use relative units like percentages (%), em, or fr instead of fixed units like px., Fluid Grid Layouts, Ensures that page elements scale proportionally when the screen size changes., Fluid Grid Layouts, Images and videos adjust their size relative to their container., Flexible Images and Media, - Prevents overflow issues on smaller screens., Flexible Images and Media, - CSS rules that apply styles based on screen size or device characteristics., Media Queries, - Typical breakpoints:, Media Queries, is a programming language mainly used to make websites interactive., JavaScript, Without it, websites are just like static posters (only text and images)., JavaScript, with it , websites can move, respond, and think., JavaScript, Where Does JavaScript Run?, Chrome, Firefox, Edge, Safari), is a programming interface that represents an HTML document as a tree of objects., Document Object Model (DOM), Read or replace HTML inside an element, .innerHTML, Read or replace only text (ignores HTML tags), .textContent, Change CSS dynamically, .style.property, Add a CSS class, .classList.add(), Remove a CSS class, .classList.remove(), Set or modify attributes, .setAttribute(), Delete an element, .remove()

द्वारा

दृश्य शैली

सभी दिखाएं

गतिविधि सेटिंग

लीडरबोर्ड

टेम्पलेट स्विच करें

ऑटो-सेव पुनःस्थापित करें: ?