@@ -2355,25 +2355,25 @@ Selectors target HTML elements to apply styling. They can target elements based
23552355``` css
23562356/* Element Selector */
23572357p {
2358- color : blue ;
2358+ color : blue ;
23592359}
23602360
23612361/* Class Selector */
23622362.title {
2363- font-size : 24px ;
2363+ font-size : 24px ;
23642364}
23652365
23662366/* ID Selector */
23672367#header {
2368- background-color : gray ;
2368+ background-color : gray ;
23692369}
23702370```
23712371
23722372[ ![ Edit 054-Selectors] ( images/codesandbox.svg )] ( https://codesandbox.io/p/sandbox/054-selectors-sl9z4d )
23732373
23742374[ ^ 54 ] CodeSandbox: Selectors.
23752375
2376- [ ^ 54 ] :[ CodeSandbox: Selectors] ( https://sl9z4d.csb.app/ ) , last access: June 5, 2024 .
2376+ [ ^ 54 ] :[ CodeSandbox: Selectors] ( https://sl9z4d.csb.app/ ) , last access: February 17, 2025 .
23772377
23782378- The ` p ` selector targets all ` <p> ` elements, setting their text color to blue.
23792379- The ` .title ` selector targets elements with the class "title," applying a font size of 24 pixels.
@@ -2386,27 +2386,27 @@ CSS properties define the visual characteristics of HTML elements, while values
23862386``` css
23872387/* Font Properties */
23882388p {
2389- font-family : Arial , sans-serif ;
2390- font-size : 16px ;
2391- font-weight : bold ;
2389+ font-family : Arial , sans-serif ;
2390+ font-size : 16px ;
2391+ font-weight : bold ;
23922392}
23932393
23942394/* Color Properties */
23952395.title {
2396- color : #ff0000 ; /* Red */
2396+ color : #ff0000 ; /* Red */
23972397}
23982398
23992399/* Background Properties */
24002400#header {
2401- background-color : #f0f0f0 ; /* Light Gray */
2401+ background-color : #f0f0f0 ; /* Light Gray */
24022402}
24032403```
24042404
24052405[ ![ Edit 055-Properties and Values] ( images/codesandbox.svg )] ( https://codesandbox.io/p/sandbox/055-properties-and-values-f4437y )
24062406
24072407[ ^ 55 ] CodeSandbox: Properties and Values.
24082408
2409- [ ^ 55 ] :[ CodeSandbox: Properties and Values] ( https://f4437y.csb.app/ ) , last access: June 5, 2024 .
2409+ [ ^ 55 ] :[ CodeSandbox: Properties and Values] ( https://f4437y.csb.app/ ) , last access: February 17, 2025 .
24102410
24112411- Font properties control the appearance of text, such as font family, size, and weight.
24122412- Color properties define the color of text and backgrounds using hexadecimal, RGB, or named colors.
@@ -2423,19 +2423,19 @@ The CSS box model describes how elements are rendered on a web page, consisting
24232423``` css
24242424/* Box Model Properties */
24252425.box {
2426- width : 200px ;
2427- height : 100px ;
2428- padding : 20px ;
2429- border : 2px solid #000 ;
2430- margin : 10px ;
2426+ width : 200px ;
2427+ height : 100px ;
2428+ padding : 20px ;
2429+ border : 2px solid #000 ;
2430+ margin : 10px ;
24312431}
24322432```
24332433
24342434[ ![ Edit 056-Box Model] ( images/codesandbox.svg )] ( https://codesandbox.io/p/sandbox/056-box-model-pjx5ch )
24352435
24362436[ ^ 56 ] CodeSandbox: Box Model.
24372437
2438- [ ^ 56 ] :[ CodeSandbox: Box Model] ( https://pjx5ch.csb.app/ ) , last access: June 5, 2024 .
2438+ [ ^ 56 ] :[ CodeSandbox: Box Model] ( https://pjx5ch.csb.app/ ) , last access: February 17, 2025 .
24392439
24402440- ` width ` and ` height ` set the dimensions of the content area.
24412441- ` padding ` creates space between the content and the border.
0 commit comments