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()
0%
WEB DEV
共享
共享
由
Macrystalynmoli
JHS
编辑内容
保存
喜欢
打印
嵌入
更多
需要登录
视觉风格
显示所有
字体
活动设置
排行榜
作业
需要订阅
活动设置
排行榜
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
显示更多
显示更少
闪存卡
是一个开放式模板。它不会为排行榜生成分数。
作业
您尚未与学生分享任何活动。
要开始收集结果,请转到任何活动页面,然后选择
Set assignment(设置分配
)。
确认您的设置并与学生共享生成的链接。
设置作业
更像是这样
HTML :
由
Salwar
开箱游戏
3
HTML & CSS
由
Missmanchand
匹配游戏
16
HTML, CSS and JavaScript
由
Ezec029319
随堂测验
2
7 - COMPUTER - HTML 🏆
由
Binduteachermnp
匹配游戏
3
CSS
由
Pagallamans94
拼字游戏
3
HTML
由
Iylia3
随堂测验
6
Web design
由
Poidinsarereali
匹配游戏
3
HTML & CSS
由
Ibtesam26
迷宫追逐
2
切换模板
显示所有
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?