mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore(i18n,learn): processed translations (#49787)
This commit is contained in:
+12
-4
@@ -7,28 +7,36 @@ dashedName: step-26
|
||||
|
||||
# --description--
|
||||
|
||||
لبدء CSS الخاص بك، قم بتطبيع قواعد CSS باستهداف جميع العناصر باستخدام `*`، بما في ذلك pseudo-selecters الـ `::before` و `::after`. عيّن خاصية `padding` والخاصية `margin` إلى `0`.
|
||||
To start your CSS, normalize the CSS rules by targeting all elements with `*`, including the `::before` and `::after` pseudo-selectors.
|
||||
|
||||
Set the `padding` and `margin` properties both to `0` and set the `box-sizing` property to `border-box`.
|
||||
|
||||
# --hints--
|
||||
|
||||
يجب أن يكون لديك منتقي `*, ::before, ::after`.
|
||||
You should have a `*, ::before, ::after` selector.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('*, ::before, ::after'));
|
||||
```
|
||||
|
||||
يجب أن يكون لمنتقي `*, ::before, ::after` الخاص بك الخاصية `padding` بقيمة `0`.
|
||||
Your `*, ::before, ::after` selector should have a `padding` property set to `0`.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('*, ::before, ::after')?.padding === '0px');
|
||||
```
|
||||
|
||||
يجب أن يكون لمنتقي `*, ::before, ::after` الخاص بك الخاصية `margin` بقيمة `0`.
|
||||
Your `*, ::before, ::after` selector should have a `margin` property set to `0`.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('*, ::before, ::after')?.margin === '0px');
|
||||
```
|
||||
|
||||
Your `*, ::before, ::after` selector should have a `box-sizing` property set to `border-box`.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('*, ::before, ::after')?.boxSizing === 'border-box');
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
## --seed-contents--
|
||||
|
||||
+3
-10
@@ -11,28 +11,20 @@ dashedName: step-27
|
||||
|
||||
سيسهل ذلك عليك العمل مع وحدات `rem` لاحقًا، حيث سيكون `2rem` هو 20 بكسل.
|
||||
|
||||
أيضًا ، قم بتعيين خاصية `box-sizing` إلى `border-box`.
|
||||
|
||||
# --hints--
|
||||
|
||||
يجب عليك إنشاء منتقي `html`.
|
||||
You should create an `html` selector.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('html'));
|
||||
```
|
||||
|
||||
يجب أن يكون لمنتقي `html` الخاص بك الخاصية `font-size` بقيمة `62.5%`.
|
||||
Your `html` selector should have a `font-size` property set to `62.5%`.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('html')?.fontSize === '62.5%');
|
||||
```
|
||||
|
||||
يجب أن يكون لمنتقي `html` الخاص بك `box-sizing` بقيمة `border-box`.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('html')?.boxSizing === 'border-box');
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
## --seed-contents--
|
||||
@@ -218,6 +210,7 @@ assert(new __helpers.CSSHelp(document).getStyle('html')?.boxSizing === 'border-b
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
--fcc-editable-region--
|
||||
|
||||
+1
-1
@@ -221,11 +221,11 @@ assert(new __helpers.CSSHelp(document).getStyle('body')?.backgroundColor === 'rg
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
--fcc-editable-region--
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(fontFamily === 'Anton, sans-serif' || fontFamily === `"Anton", sans-serif
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(fontFamily === 'Raleway, sans-serif' || fontFamily === `"Raleway", sans-s
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -214,11 +214,11 @@ assert(new __helpers.CSSHelp(document).getStyle('a')?.color === 'linen');
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -210,11 +210,11 @@ assert(new __helpers.CSSHelp(document).getStyle('main')?.display === 'grid');
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -204,11 +204,11 @@ assert(new __helpers.CSSHelp(document).getStyle('main')?.gridTemplateColumns ===
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -204,11 +204,11 @@ assert(new __helpers.CSSHelp(document).getStyle('main')?.gridTemplateColumns ===
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -202,11 +202,11 @@ assert(new __helpers.CSSHelp(document).getStyle('main')?.rowGap === '3rem');
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -212,11 +212,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.heading')?.gridColumn === '2 /
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -208,11 +208,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.text')?.gridColumn === '2 / 3'
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -204,11 +204,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.heading')?.display === 'grid')
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -208,11 +208,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.heading')?.gridTemplateColumns
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -204,11 +204,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.heading')?.rowGap === '1.5rem'
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -212,11 +212,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.hero')?.gridColumn === '1 / -1
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -204,11 +204,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.hero')?.position === 'relative
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -217,11 +217,11 @@ assert(new __helpers.CSSHelp(document).getStyle('img')?.objectFit === 'cover');
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -221,11 +221,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.hero-title')?.fontSize === '8r
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -221,11 +221,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.hero-subtitle')?.textAlign ===
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -216,11 +216,11 @@ assert(fontFamily === 'Raleway, sans-serif' || fontFamily === `"Raleway", sans-s
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -211,11 +211,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.author-name a:hover')?.backgro
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.publish-date')?.color === 'rgb
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -215,11 +215,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.social-icons')?.fontSize === '
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -203,11 +203,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.social-icons')?.gridTemplateCo
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -207,11 +207,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.social-icons')?.gridAutoFlow =
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -205,11 +205,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.social-icons')?.gridAutoColumn
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -205,11 +205,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.social-icons')?.alignItems ===
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.text')?.letterSpacing === '0.6
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -205,11 +205,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.text')?.columnWidth === '25rem
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -205,11 +205,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.text')?.textAlign === 'justify
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -217,11 +217,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.first-paragraph::first-letter'
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.first-paragraph::first-letter'
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(new __helpers.CSSHelp(document).getStyle('hr')?.margin === '1.5rem 0px');
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -205,11 +205,11 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('hr')?.borderColor, 'rgba(
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -221,11 +221,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.quote')?.textAlign === 'center
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -204,11 +204,11 @@ assert(fontFamily === 'Raleway, sans-serif' || fontFamily === `"Raleway", sans-s
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -225,11 +225,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.quote::before')?.content?.matc
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -211,11 +211,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.text-with-images')?.display ==
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.text-with-images')?.columnGap
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -203,11 +203,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.text-with-images')?.marginBott
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.lists')?.listStyleType === 'no
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -203,11 +203,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.lists')?.marginTop === '2rem')
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.lists li')?.marginBottom === '
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.list-title, .list-subtitle')?.
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -211,11 +211,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.image-wrapper')?.display === '
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -211,11 +211,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.image-wrapper')?.gridTemplateR
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -205,11 +205,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.image-wrapper')?.gap === '2rem
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -205,11 +205,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.image-wrapper')?.placeItems ==
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.image-1, .image-3')?.gridColum
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -219,11 +219,11 @@ assert(new __helpers.CSSHelp(document).getCSSRules('media')?.[0]?.cssRules?.[0]?
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -217,11 +217,11 @@ assert(new __helpers.CSSHelp(document).getCSSRules('media')?.[1]?.cssRules?.[0]?
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -236,11 +236,11 @@ assert(new __helpers.CSSHelp(document).getCSSRules('media')?.[2]?.cssRules?.[3]?
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -217,11 +217,11 @@ assert(new __helpers.CSSHelp(document).getCSSRules('media')?.[3]?.cssRules?.[0]?
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -206,11 +206,11 @@ assert.isNull(document.querySelector('.hero-img')?.getAttribute('width'));
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+23
-12
@@ -20,43 +20,54 @@ assert(document.querySelector('.daily-value.small-text')?.lastElementChild?.loca
|
||||
عنصر `p` الجديد الخاص بك يجب أن يحتوي على النص `Cholesterol 0mg 0%`.
|
||||
|
||||
```js
|
||||
assert(document.querySelector('.daily-value.small-text')?.lastElementChild?.innerText?.match(/Cholesterol[\s|\n]+0mg[\s|\n]+0%/));
|
||||
const text = document.querySelector('.daily-value.small-text')?.lastElementChild?.textContent?.trim()?.replace(/\n/g, ' ')?.replace(/\s\s+/g, ' ');
|
||||
assert(text === 'Cholesterol 0mg 0%');
|
||||
```
|
||||
|
||||
يجب أن يحتوي عنصر `p` الجديد على ثلاث عناصر `span`.
|
||||
Your new `p` element should have exactly three `span` elements.
|
||||
|
||||
```js
|
||||
assert(document.querySelector('.daily-value.small-text')?.lastElementChild?.querySelectorAll('span')?.length === 3);
|
||||
```
|
||||
|
||||
يجب أن يحتوي عنصر `span` الأول بنص `Cholesterol` على `class` بقيمة `bold`.
|
||||
The text `Cholesterol` should be nested in a `span`.
|
||||
|
||||
```js
|
||||
assert(document.querySelector('.daily-value.small-text')?.lastElementChild?.firstElementChild?.firstElementChild?.classList?.contains('bold'));
|
||||
const spans = [...document.querySelector('.daily-value.small-text')?.lastElementChild?.querySelectorAll('span')];
|
||||
const cholesterolSpan = spans.filter(span => span?.innerHTML?.match(/^[\s\n]*Cholesterol[\s\n]*$/));
|
||||
assert(cholesterolSpan.length === 1);
|
||||
```
|
||||
|
||||
يجب أن يغلف عنصر `span` الأول النص `Cholesterol 0mg`.
|
||||
Your `Cholesterol` `span` should have the `class` attribute set to `bold`.
|
||||
|
||||
```js
|
||||
assert(document.querySelector('.daily-value.small-text')?.lastElementChild?.firstElementChild?.innerText?.match(/Cholesterol[\s|\n]+0mg/));
|
||||
const spans = [...document.querySelector('.daily-value.small-text')?.lastElementChild?.querySelectorAll('span')];
|
||||
const cholesterolSpan = spans.filter(span => span?.innerHTML?.match(/^[\s\n]*Cholesterol[\s\n]*$/));
|
||||
assert(cholesterolSpan[0]?.classList?.contains('bold'));
|
||||
```
|
||||
|
||||
يجب أن يغلف عنصر `span` الأول النص `Cholesterol`.
|
||||
The text `0%` should be nested in a `span`.
|
||||
|
||||
```js
|
||||
assert(document.querySelector('.daily-value.small-text')?.lastElementChild?.firstElementChild?.firstElementChild?.innerText === 'Cholesterol');
|
||||
const spans = [...document.querySelector('.daily-value.small-text')?.lastElementChild?.querySelectorAll('span')];
|
||||
const zeroPercentSpan = spans.filter(span => span?.innerHTML?.match(/^[\s\n]*0%[\s\n]*$/));
|
||||
assert(zeroPercentSpan.length === 1);
|
||||
```
|
||||
|
||||
يجب أن يحتوي عنصر `span` الثاني على سمة `class` بقيمة `bold`.
|
||||
Your `0%` `span` should have the `class` attribute set to `bold`.
|
||||
|
||||
```js
|
||||
assert(document.querySelector('.daily-value.small-text')?.lastElementChild?.lastElementChild?.classList?.contains('bold'));
|
||||
const spans = [...document.querySelector('.daily-value.small-text')?.lastElementChild?.querySelectorAll('span')];
|
||||
const zeroPercentSpan = spans.filter(span => span?.innerHTML?.match(/^[\s\n]*0%[\s\n]*$/));
|
||||
assert(zeroPercentSpan[0]?.classList?.contains('bold'));
|
||||
```
|
||||
|
||||
يجب أن يغلف عنصر `span` الثاني النص `0%`.
|
||||
Your `Cholesterol` `span` and your `0mg` text should be wrapped in a `span`.
|
||||
|
||||
```js
|
||||
assert(document.querySelector('.daily-value.small-text')?.lastElementChild?.lastElementChild?.innerText === '0%');
|
||||
const spans = [...document.querySelector('.daily-value.small-text')?.lastElementChild?.querySelectorAll('span')];
|
||||
const cholesterolZeroSpan = spans.filter(span => span?.innerText === 'Cholesterol 0mg');
|
||||
assert(cholesterolZeroSpan.length === 1);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
+12
-4
@@ -7,28 +7,36 @@ dashedName: step-26
|
||||
|
||||
# --description--
|
||||
|
||||
要啓動你的 CSS,請通過使用 `*` 定位所有元素來規範 CSS 規則,包括 `::before` 和 `::after` 僞選擇器。 將 `padding` 屬性和 `margin` 屬性都設置爲 `0`。
|
||||
To start your CSS, normalize the CSS rules by targeting all elements with `*`, including the `::before` and `::after` pseudo-selectors.
|
||||
|
||||
Set the `padding` and `margin` properties both to `0` and set the `box-sizing` property to `border-box`.
|
||||
|
||||
# --hints--
|
||||
|
||||
你應該有一個 `*, ::before, ::after` 選擇器。
|
||||
You should have a `*, ::before, ::after` selector.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('*, ::before, ::after'));
|
||||
```
|
||||
|
||||
你的 `*, ::before, ::after` 選擇器應該有一個 `padding` 屬性值爲 `0`。
|
||||
Your `*, ::before, ::after` selector should have a `padding` property set to `0`.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('*, ::before, ::after')?.padding === '0px');
|
||||
```
|
||||
|
||||
你的 `*, ::before, ::after` 選擇器應該有一個 `margin` 屬性值爲 `0`。
|
||||
Your `*, ::before, ::after` selector should have a `margin` property set to `0`.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('*, ::before, ::after')?.margin === '0px');
|
||||
```
|
||||
|
||||
Your `*, ::before, ::after` selector should have a `box-sizing` property set to `border-box`.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('*, ::before, ::after')?.boxSizing === 'border-box');
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
## --seed-contents--
|
||||
|
||||
+3
-10
@@ -11,28 +11,20 @@ dashedName: step-27
|
||||
|
||||
這將使你以後更容易使用 `rem` 單位,因爲 `2rem` 將是 20px。
|
||||
|
||||
此外,將 `box-sizing` 屬性設置爲 `border-box`。
|
||||
|
||||
# --hints--
|
||||
|
||||
你應該創建一個 `html` 選擇器。
|
||||
You should create an `html` selector.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('html'));
|
||||
```
|
||||
|
||||
你的 `html` 選擇器應該將 `font-size` 屬性設置爲 `62.5%`。
|
||||
Your `html` selector should have a `font-size` property set to `62.5%`.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('html')?.fontSize === '62.5%');
|
||||
```
|
||||
|
||||
你的 `html` 選擇器應該有一個 `box-sizing` 屬性設置爲 `border-box`。
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('html')?.boxSizing === 'border-box');
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
## --seed-contents--
|
||||
@@ -218,6 +210,7 @@ assert(new __helpers.CSSHelp(document).getStyle('html')?.boxSizing === 'border-b
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
--fcc-editable-region--
|
||||
|
||||
+1
-1
@@ -221,11 +221,11 @@ assert(new __helpers.CSSHelp(document).getStyle('body')?.backgroundColor === 'rg
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
--fcc-editable-region--
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(fontFamily === 'Anton, sans-serif' || fontFamily === `"Anton", sans-serif
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(fontFamily === 'Raleway, sans-serif' || fontFamily === `"Raleway", sans-s
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -214,11 +214,11 @@ assert(new __helpers.CSSHelp(document).getStyle('a')?.color === 'linen');
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -210,11 +210,11 @@ assert(new __helpers.CSSHelp(document).getStyle('main')?.display === 'grid');
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -204,11 +204,11 @@ assert(new __helpers.CSSHelp(document).getStyle('main')?.gridTemplateColumns ===
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -204,11 +204,11 @@ assert(new __helpers.CSSHelp(document).getStyle('main')?.gridTemplateColumns ===
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -202,11 +202,11 @@ assert(new __helpers.CSSHelp(document).getStyle('main')?.rowGap === '3rem');
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -212,11 +212,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.heading')?.gridColumn === '2 /
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -208,11 +208,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.text')?.gridColumn === '2 / 3'
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -204,11 +204,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.heading')?.display === 'grid')
|
||||
*, ::before, ::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -208,11 +208,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.heading')?.gridTemplateColumns
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -204,11 +204,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.heading')?.rowGap === '1.5rem'
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -212,11 +212,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.hero')?.gridColumn === '1 / -1
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -204,11 +204,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.hero')?.position === 'relative
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -217,11 +217,11 @@ assert(new __helpers.CSSHelp(document).getStyle('img')?.objectFit === 'cover');
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -221,11 +221,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.hero-title')?.fontSize === '8r
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -221,11 +221,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.hero-subtitle')?.textAlign ===
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -216,11 +216,11 @@ assert(fontFamily === 'Raleway, sans-serif' || fontFamily === `"Raleway", sans-s
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -211,11 +211,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.author-name a:hover')?.backgro
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.publish-date')?.color === 'rgb
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -215,11 +215,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.social-icons')?.fontSize === '
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -203,11 +203,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.social-icons')?.gridTemplateCo
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -207,11 +207,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.social-icons')?.gridAutoFlow =
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -205,11 +205,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.social-icons')?.gridAutoColumn
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -205,11 +205,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.social-icons')?.alignItems ===
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.text')?.letterSpacing === '0.6
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -205,11 +205,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.text')?.columnWidth === '25rem
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -205,11 +205,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.text')?.textAlign === 'justify
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -217,11 +217,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.first-paragraph::first-letter'
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.first-paragraph::first-letter'
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(new __helpers.CSSHelp(document).getStyle('hr')?.margin === '1.5rem 0px');
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -205,11 +205,11 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('hr')?.borderColor, 'rgba(
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -221,11 +221,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.quote')?.textAlign === 'center
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -204,11 +204,11 @@ assert(fontFamily === 'Raleway, sans-serif' || fontFamily === `"Raleway", sans-s
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -225,11 +225,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.quote::after')?.content?.match
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -211,11 +211,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.text-with-images')?.display ==
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.text-with-images')?.columnGap
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -203,11 +203,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.text-with-images')?.marginBott
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.lists')?.listStyleType === 'no
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -203,11 +203,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.lists')?.marginTop === '2rem')
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
+1
-1
@@ -209,11 +209,11 @@ assert(new __helpers.CSSHelp(document).getStyle('.lists li')?.marginBottom === '
|
||||
::after {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user