file
stringlengths
16
94
text
stringlengths
32
24.4k
vector
list
css/reference/properties/border-inline-start-style/index.md
CSS - Properties - border-inline-start-style - Syntax - Values: - `<line-style>`: The line style of the border. See `border-style`.
[ -0.4334739148616791, 0.4296252131462097, -1.4529379606246948, -0.2908400893211365, 0.10505659878253937, 0.14865662157535553, -0.5642040967941284, 3.1443116664886475, 0.976596474647522, -0.747951328754425, -0.8541369438171387, 0.7698231339454651, -0.3557821810245514, -0.09186981618404388, ...
css/reference/properties/border-inline-start-style/index.md
CSS - Properties - border-inline-start-style - Examples - HTML: Example: <div> <p class="exampleText">Example text</p> </div>
[ -0.7987430095672607, 0.11600573360919952, -0.6211732029914856, -0.13355374336242676, -0.6027023792266846, 0.0631951168179512, 0.7512208223342896, 2.5313425064086914, 0.5620104670524597, -0.6493622660636902, -0.3929014503955841, 0.7556469440460205, -0.634734034538269, -0.6892813444137573, ...
css/reference/properties/border-inline-start-style/index.md
CSS - Properties - border-inline-start-style - Examples - CSS: Example: div { background-color: yellow; width: 120px; height: 120px; } .exampleText { writing-mode: vertical-lr; border: 5px solid blue; border-inline-start-style: dashed; }
[ -1.0464913845062256, 0.12540888786315918, -0.6249241232872009, -0.4305504858493805, 0.02980324625968933, 0.7632172703742981, 0.4983865022659302, 2.219937801361084, 0.014425143599510193, -0.10735823214054108, -0.5604862570762634, 0.5969557166099548, 0.02489769458770752, 0.05781994014978409,...
css/reference/properties/background-position-x/index.md
CSS - Properties - background-position-x: The `background-position-x` CSS property sets the initial horizontal position for each background image. The position is relative to the position layer set by `background-origin`. The value of this property is overridden by any declaration of the `background` or `background-p...
[ -1.0760799646377563, -0.40639838576316833, -1.2286875247955322, -0.10151058435440063, 0.3758389949798584, -1.3829787969589233, 0.20498386025428772, 1.4437376260757446, 0.09426836669445038, -0.19372422993183136, 0.12859675288200378, -0.43050533533096313, -0.17880411446094513, 0.379505038261...
css/reference/properties/background-position-x/index.md
CSS - Properties - background-position-x - Syntax: Example: /* Keyword values */ background-position-x: left; background-position-x: center; background-position-x: right; /* <percentage> values */ background-position-x: 25%; /* <length> values */ background-position-x: 0px; background-position-x: 1cm; background-po...
[ -0.7892652153968811, 0.06528424471616745, -0.7338969111442566, -0.3017895817756653, -0.15025821328163147, -0.5895139575004578, 0.2590664029121399, 1.7137808799743652, 0.0887574702501297, -0.4439791440963745, -0.28036385774612427, -0.19916445016860962, -0.04384986311197281, 0.17071080207824...
css/reference/properties/background-position-x/index.md
CSS - Properties - background-position-x - Syntax - Values: This property is specified as one or more comma-separated values: - `left`: Aligns the left edge of the background image with the left edge of the background position layer. - `center`: Aligns the center of the background image with the center of the backgro...
[ -1.685355305671692, -1.0710517168045044, -1.1580368280410767, -0.964102566242218, -0.18113529682159424, -1.504392147064209, 0.403431236743927, 2.184173107147217, 0.5577924847602844, -0.2944740653038025, -0.602662980556488, 0.3471280634403229, -0.5787578821182251, 0.8163543343544006, 0.34...
css/reference/properties/background-position-x/index.md
CSS - Properties - background-position-x - Examples - Basic example: The following example shows a background image implementation, with background-position-x and background-position-y used to define the image's horizontal and vertical positions separately.
[ -0.7826206088066101, -0.7163551449775696, -1.2248303890228271, -0.12033982574939728, -0.18401187658309937, -0.39758506417274475, 1.05364191532135, 1.5774848461151123, 1.0363092422485352, -0.4647996723651886, -0.5507069826126099, -0.48933857679367065, -0.060087986290454865, 0.23869156837463...
css/reference/properties/background-position-x/index.md
CSS - Properties - background-position-x - Examples - Basic example - HTML: Example: <div></div>
[ -1.066887378692627, -0.167682483792305, -1.0013365745544434, -0.7304307222366333, -0.7115965485572815, -0.026924951002001762, 1.5759180784225464, 1.453782558441162, 0.4003574252128601, -0.21913839876651764, -0.4324449896812439, 0.03714003413915634, -0.45965632796287537, -0.2175134420394897...
css/reference/properties/background-position-x/index.md
CSS - Properties - background-position-x - Examples - Basic example - CSS: Example: div { width: 300px; height: 300px; background-color: skyblue; background-image: url("https://mdn.dev/archives/media/attachments/2020/07/29/17350/3b4892b7e820122ac6dd7678891d4507/firefox.png"); background-repeat: no-repeat; ...
[ -2.205981731414795, -0.5006505846977234, -1.0018500089645386, -1.1524518728256226, -0.4730842709541321, 0.3684220612049103, 1.588579535484314, 0.8611739873886108, 0.09005840122699738, -0.04082438349723816, -0.2761586308479309, 0.30101338028907776, -0.11143094301223755, 0.2285165786743164, ...
css/reference/properties/background-position-x/index.md
CSS - Properties - background-position-x - Examples - Side-relative values: The following example shows support for side-relative offset syntax, which allows the developer to offset the background from any edge.
[ -1.568766713142395, 0.07901778072118759, -0.7223144769668579, -0.3923681974411011, -0.7861559391021729, -0.5086928606033325, 1.1177438497543335, 2.087806224822998, 0.9360886812210083, -0.5483561754226685, -0.845086932182312, 0.286093145608902, -0.2641522288322449, -0.2767348885536194, 0....
css/reference/properties/background-position-x/index.md
CSS - Properties - background-position-x - Examples - Side-relative values - HTML: Example: <div></div>
[ -1.8402471542358398, 0.013983793556690216, -0.8065977096557617, -0.34150415658950806, -1.1248626708984375, 0.3280933201313019, 1.56340491771698, 1.668961524963379, 0.6832991242408752, -0.12540790438652039, -0.36812058091163635, 0.4205392301082611, -0.5283582210540771, -0.011797159910202026...
css/reference/properties/background-position-x/index.md
CSS - Properties - background-position-x - Examples - Side-relative values - CSS: Example: div { width: 300px; height: 300px; background-color: seagreen; background-image: url("https://mdn.dev/archives/media/attachments/2020/07/29/17350/3b4892b7e820122ac6dd7678891d4507/firefox.png"); background-repeat: no-r...
[ -1.4486414194107056, -0.5692654252052307, -1.330433964729309, -0.6673777103424072, 0.12579767405986786, -0.5922303199768066, 0.37940987944602966, 1.2002350091934204, -0.47650349140167236, 0.018534524366259575, 0.7927581667900085, -0.1007799506187439, -0.12668077647686005, 0.323653161525726...
css/reference/properties/flex-grow/index.md
CSS - Properties - flex-grow: The `flex-grow` CSS property sets the flex grow factor, which specifies how much of the flex container's positive free space, if any, should be assigned to the flex item's main size. When the flex-container's main size is larger than the combined main sizes of its flex items, this positi...
[ -1.6977304220199585, 0.016078302636742592, -1.0803656578063965, 0.05345075577497482, 0.23844552040100098, -1.4954370260238647, -0.9378425478935242, 2.049229145050049, -0.7062621116638184, -0.0198679119348526, 0.062153056263923645, 0.48336952924728394, -1.034435510635376, 0.6524614691734314...
css/reference/properties/flex-grow/index.md
CSS - Properties - flex-grow - Syntax: Example: /* <number> values */ flex-grow: 3; flex-grow: 0.6; /* Global values */ flex-grow: inherit; flex-grow: initial; flex-grow: revert; flex-grow: revert-layer; flex-grow: unset;
[ -1.3962445259094238, 0.48919302225112915, -0.47375720739364624, -0.5136289596557617, -0.6741763353347778, -1.9794256687164307, 0.0623452365398407, 1.9259698390960693, 0.5036105513572693, -0.493976891040802, -0.9052806496620178, 0.8079237341880798, -0.5673248171806335, 0.12412814795970917, ...
css/reference/properties/flex-grow/index.md
CSS - Properties - flex-grow - Syntax - Values: This property is specified as a `<number>`: - `<number>`: See `&lt;number&gt;`. Negative values are invalid. Defaults to 0, which prevents the flex item from growing.
[ -1.5206360816955566, 0.19283437728881836, -1.1634801626205444, -0.21389874815940857, -0.6825747489929199, -1.3759742975234985, 0.41784006357192993, 2.3983309268951416, 0.4923180341720581, -0.03031596541404724, -1.1348968744277954, 0.5879878401756287, -1.068402647972107, -0.3026157021522522...
css/reference/properties/flex-grow/index.md
CSS - Properties - flex-grow - Description: This property specifies how much of the remaining space in the flex container should be assigned to the item (the flex grow factor). The main size is either the width or height of the item, depending on the `flex-direction` value. The remaining space, or positive free spac...
[ -1.7249923944473267, 0.10858546197414398, -0.3978269100189209, 0.28776320815086365, 0.6447610855102539, -0.9795043468475342, 0.2990485429763794, 1.4799917936325073, 0.25913625955581665, 0.05937199294567108, 0.043740421533584595, 0.9589593410491943, -0.8941760063171387, -0.03900039196014404...
css/reference/properties/flex-grow/index.md
CSS - Properties - flex-grow - Examples - Setting flex item grow factor: In this example, the sum of six flex-grow factors is equal to eight, meaning each growth-factor value is `12.5%` of the remaining space.
[ -1.0501281023025513, -0.4684293866157532, -1.343535304069519, 0.14051975309848785, -1.0047359466552734, -0.7532271146774292, 0.14883248507976532, 1.746690273284912, 0.576604962348938, -0.44176602363586426, -0.576309323310852, 0.940507173538208, -1.1819279193878174, -0.1142498254776001, 0...
css/reference/properties/flex-grow/index.md
CSS - Properties - flex-grow - Examples - Setting flex item grow factor - HTML: Example: <h1>This is a <code>flex-grow</code> example</h1> <p> A, B, C, and F have <code>flex-grow: 1</code> set. D and E have <code>flex-grow: 2</code> set. </p> <div id="content"> <div class="box1">A</div> <div class="box2">B</d...
[ -2.1079282760620117, -0.023713255301117897, -1.2569613456726074, 0.05491155385971069, -0.8220502734184265, -1.7848893404006958, 0.5434194207191467, 1.7901947498321533, -0.1283777356147766, -0.14480026066303253, -0.6438232660293579, 0.3805939555168152, -0.9376403093338013, -0.14230450987815...
css/reference/properties/flex-grow/index.md
CSS - Properties - flex-grow - Examples - Setting flex item grow factor - CSS: Example: #content { display: flex; } div > div { border: 3px solid rgb(0 0 0 / 20%); } .box1, .box2, .box3, .box6 { flex-grow: 1; } .box4, .box5 { flex-grow: 2; border: 3px solid rgb(0 0 0 / 20%); } .box1 { background-color...
[ -1.6556663513183594, 0.0016642920672893524, -0.8154094815254211, -0.7686879634857178, -0.9844307899475098, -0.6270284056663513, 0.062330394983291626, 1.8535147905349731, -0.08964501321315765, -0.16917286813259125, -0.6642308831214905, 0.6823116540908813, -1.4920780658721924, 0.413555651903...
css/reference/properties/box-lines/index.md
CSS - Properties - box-lines: Non-standard: This feature is not standardized. Deprecated: This feature is no longer recommended. Warning: This is a property of the original CSS flexible box layout Module draft. It has been replaced in the specification. See flexbox for information about the current standard. The `bo...
[ 0.7407927513122559, -0.6443324089050293, -1.7146093845367432, 0.25769755244255066, 0.7405862212181091, -0.9408820271492004, 0.17870348691940308, 2.0369508266448975, 0.06881891191005707, -0.3127027750015259, 0.43049222230911255, 0.9057718515396118, -0.435629665851593, 0.7302766442298889, ...
css/reference/properties/box-lines/index.md
CSS - Properties - box-lines - Syntax: Example: /* Keyword values */ box-lines: single; box-lines: multiple; /* Global values */ box-lines: inherit; box-lines: initial; box-lines: unset;
[ -0.9158770442008972, 0.23381413519382477, -0.8064956068992615, -0.23280541598796844, -0.3936861455440521, -0.9874018430709839, 0.5909627676010132, 2.350069522857666, 0.07176733016967773, -0.29871347546577454, -0.6453436613082886, 0.4607773423194885, -0.09505141526460648, -0.140241980552673...
css/reference/properties/box-lines/index.md
CSS - Properties - box-lines - Syntax - Values: This property is specified as one of the following keyword values: - `single`: Box elements lay out in a single row or column. - `multiple`: Box elements layout in multiple rows or columns.
[ -0.614555835723877, -0.33107978105545044, -1.1670063734054565, 0.0827648788690567, -0.06735499203205109, -0.49443623423576355, 0.43872135877609253, 2.5204079151153564, 0.12396092712879181, -0.32044804096221924, -0.6585350036621094, 0.39499470591545105, -0.4939781427383423, 0.18908821046352...
css/reference/properties/box-lines/index.md
CSS - Properties - box-lines - Examples - Basic usage example: In the original version of the spec, `box-lines` allowed you to specify that you wanted your flex container's children to wrap onto multiple lines. This was only supported in WebKit-based browsers, with a prefix. Example: div { display: box; box-orie...
[ -1.4149354696273804, -0.5484437346458435, -1.285345196723938, -0.10598088055849075, -0.036643993109464645, -0.705254316329956, 0.5614964365959167, 1.8134448528289795, 0.3501986265182495, -0.25803250074386597, -0.5621150135993958, 0.388944149017334, -0.5005647540092468, -0.2203892320394516,...
css/reference/properties/scroll-snap-stop/index.md
CSS - Properties - scroll-snap-stop: The `scroll-snap-stop` CSS property defines whether or not the scroll container is allowed to "pass over" possible snap positions. Example: scroll-snap-stop: normal; Example: scroll-snap-stop: always; Example: <section class="default-example" id="default-example"> <p class=...
[ -1.5074514150619507, 0.11768533289432526, -0.6573442220687866, -0.26790550351142883, 0.8197546601295471, -1.2268857955932617, -1.057276725769043, 1.9880101680755615, -0.17426058650016785, 0.5071480870246887, 0.5102455019950867, -0.16599896550178528, -0.551557183265686, 0.581629753112793, ...
css/reference/properties/scroll-snap-stop/index.md
CSS - Properties - scroll-snap-stop - Syntax: Example: /* Keyword values */ scroll-snap-stop: normal; scroll-snap-stop: always; /* Global values */ scroll-snap-stop: inherit; scroll-snap-stop: initial; scroll-snap-stop: revert; scroll-snap-stop: revert-layer; scroll-snap-stop: unset;
[ -1.9888546466827393, 0.42086976766586304, -0.2743319571018219, -0.05110874027013779, -0.6678087711334229, -1.1627546548843384, 0.5550546050071716, 2.155540943145752, 0.5592730641365051, 0.0758514404296875, -0.4343305230140686, 0.5010256767272949, -0.18039710819721222, -0.01425066590309143,...
css/reference/properties/scroll-snap-stop/index.md
CSS - Properties - scroll-snap-stop - Syntax - Values: This property is specified as one of the following keyword values: - `normal`: When the visual `viewport` of this element's scroll container is scrolled, it may "pass over" possible snap positions. - `always`: The scroll container must not "pass over" a possible ...
[ -1.5007622241973877, -0.8846498727798462, -0.7861164808273315, -0.1358983814716339, -0.2578977346420288, -0.8265365362167358, -0.36801525950431824, 1.8151346445083618, -0.13365143537521362, 0.11095599830150604, 0.6351101398468018, -0.2991008162498474, 0.0794401690363884, 0.5200121998786926...
css/reference/properties/scroll-snap-stop/index.md
CSS - Properties - scroll-snap-stop - Examples - Setting different snap stops: The example below demonstrates the contrast between the `always` and `normal` values of `scroll-snap-stop`. The difference in the two `scroll-snap-stop` values is more noticeable when the `scroll-snap-type` property is set to `mandatory`, w...
[ -2.2114357948303223, -0.2456091344356537, -0.7270544171333313, 0.11397571861743927, -0.44966933131217957, -0.405566543340683, 0.8472418189048767, 2.0747640132904053, 0.7932138442993164, 0.5294169783592224, 0.16255390644073486, 0.08682411909103394, -0.0612376444041729, 0.1807977259159088, ...
css/reference/properties/scroll-snap-stop/index.md
CSS - Properties - scroll-snap-stop - Examples - Setting different snap stops - HTML: Example: <p>scroll-snap-stop: always (X Mandatory)</p> <div class="x mandatory-scroll-snapping always-stop"> <div>1</div> <div>2</div> <div>3</div> <div>4</div> <div>5</div> </div> <p>scroll-snap-stop: always (X Mandatory...
[ -2.4901018142700195, -0.07779166847467422, -0.6066842079162598, -0.07261449098587036, 0.39067116379737854, -0.34088456630706787, 0.3167300820350647, 1.2344995737075806, -0.613020658493042, 0.04868481308221817, 0.4197154939174652, -0.2066631019115448, -0.7098488807678223, 0.3312519788742065...
css/reference/properties/scroll-snap-stop/index.md
CSS - Properties - scroll-snap-stop - Examples - Setting different snap stops - CSS: Example: /* setup */ body { height: 100%; display: flex; align-items: center; justify-content: space-between; flex-flow: column nowrap; font-family: monospace; text-align: center; } div[class] { font-size: 3rem; di...
[ -1.4328662157058716, -0.3192228376865387, -0.36625099182128906, -0.5003802180290222, 0.3507327735424042, -0.09028466045856476, -0.2820376753807068, 2.257579803466797, -0.5375580787658691, 0.40189144015312195, 0.5086724162101746, 0.008079461753368378, -0.9401545524597168, 0.5779493451118469...
css/reference/properties/fill/index.md
CSS - Properties - fill: The `fill` CSS property defines how SVG text content and the interior canvas of SVG shapes are filled or painted. If present, it overrides the element's `fill` attribute. The areas inside the outline of the SVG shape or text are painted. What is "inside" a shape may not always be clear. The p...
[ -1.3356753587722778, 0.13969485461711884, -0.5601747632026672, 0.7605583071708679, 0.9064447283744812, -2.3002066612243652, 0.0505170077085495, 1.9751379489898682, -0.09896572679281235, 0.06482969224452972, 0.5105470418930054, 0.3877602219581604, 0.4005202054977417, 0.022845439612865448, ...
css/reference/properties/fill/index.md
CSS - Properties - fill - Syntax: Example: /* keywords */ fill: none; fill: context-fill; fill: context-stroke; /* <color> values */ fill: red; fill: hsl(120deg 75% 25% / 60%); /* <url> values */ fill: url("#gradientElementID"); fill: url("star.png"); /* <url> with fallback */ fill: url("#gradientElementID") blue;...
[ -2.1874732971191406, -0.4489189088344574, 0.420430451631546, -0.47933676838874817, -0.44353586435317993, -1.553486704826355, 1.004644751548767, 1.9179550409317017, -0.36088675260543823, -0.27940306067466736, -0.4790130853652954, 1.037157654762268, 0.32055866718292236, 0.07686527073383331, ...
css/reference/properties/fill/index.md
CSS - Properties - fill - Syntax - Values: This property is specified as one keyword, `<color>`, or `url()` with an optional `<color>`: - `none`: No `fill` is painted; the areas inside the stroke, if any, are transparent. - `context-fill`: Uses the paint value of `fill` from a context element. - `context-stroke`: Use...
[ -2.7830891609191895, 0.038306429982185364, -0.2411784678697586, -0.08100715279579163, 0.6580289006233215, -1.2916663885116577, 1.467801570892334, 1.9043259620666504, -0.19670593738555908, 0.07758955657482147, 0.9267727732658386, 1.1911671161651611, 0.4038134515285492, 0.1332000344991684, ...
css/reference/properties/fill/index.md
CSS - Properties - fill - Examples - Defining fill values for SVG elements: This example demonstrates how a `fill` is declared, the effect of the property, and how the CSS `fill` property takes precedence over the `fill` attribute.
[ -1.172377347946167, 0.10661397874355316, -0.643737256526947, 0.291813462972641, -0.06870058923959732, -2.487112283706665, 1.622288703918457, 1.5986992120742798, 0.33416858315467834, 0.02340567484498024, 0.8982082009315491, 0.3756030201911926, -0.5711016058921814, 0.18420638144016266, -0....
css/reference/properties/fill/index.md
CSS - Properties - fill - Examples - Defining fill values for SVG elements - HTML: We have an SVG with two complex shapes defined using the SVG `polygon` and `path` elements. Both have the `fill` attribute set to the default `black`. We add a dark grey stroke of `#666666` using the SVG `stroke` attribute but could hav...
[ -1.5536245107650757, -0.6765225529670715, 0.01880108192563057, -0.23990239202976227, 0.20402926206588745, -1.9016015529632568, 2.0485451221466064, 0.582193911075592, 0.11998718976974487, -0.12398336827754974, 0.7020242214202881, 1.080698013305664, 0.1933525800704956, 0.17234526574611664, ...
css/reference/properties/fill/index.md
CSS - Properties - fill - Examples - Defining fill values for SVG elements - CSS: We set `fill` values on the shapes in the SVG. Example: svg { border: 1px solid; height: calc(100vh - 20px); margin-bottom: 10px; } Example: path { fill: red; } polygon { fill: hsl(0deg 100% 50% / 60%); }
[ -1.7737276554107666, -0.5381271839141846, -0.6208020448684692, -0.5171013474464417, 0.29300808906555176, -1.7393677234649658, 1.629140853881836, 0.7963590621948242, 0.09402629733085632, -0.3240579664707184, 0.606772243976593, 1.01425039768219, 0.3314649164676666, -0.03738383948802948, -0...
css/reference/properties/fill/index.md
CSS - Properties - fill - Examples - Using fill keyword values: This example demonstrates using keyword values for `fill`.
[ -0.874159574508667, 0.12783800065517426, -0.5686327815055847, 0.00625186413526535, -0.8488374352455139, -0.9245747327804565, 2.0360686779022217, 1.7218248844146729, -0.09562209993600845, -0.7082746028900146, -0.02860254794359207, 0.3839322030544281, -0.0022200588136911392, -0.1738012433052...
css/reference/properties/fill/index.md
CSS - Properties - fill - Examples - Using fill keyword values - HTML: We include three `path` elements and a `marker` element that adds a `circle` to every path point. We set the circle marker to be black with a grey fill with the SVG `stroke` and `fill` attributes. Example: <svg xmlns="http://www.w3.org/2000/svg" ...
[ -1.6449419260025024, -0.2891242504119873, -0.2290869504213333, 0.044523999094963074, 0.2031765580177307, -0.9515906572341919, 1.6321476697921753, 0.6182907223701477, 0.024557210505008698, 0.11569318175315857, -0.03046603500843048, 0.7494189739227295, 0.8104800581932068, -0.7724259495735168...
css/reference/properties/fill/index.md
CSS - Properties - fill - Examples - Using fill keyword values - CSS: We set different `stroke` and `fill` colors on each path. The first path, the one with a red border, has its `fill` set to `none`. We set the circle marker's stroke and fill to the same color as the stroke of the element they're marking, using the `...
[ -0.6312086582183838, -0.17117871344089508, -0.5695927739143372, -0.275491863489151, 0.4717491865158081, -1.2408373355865479, 0.2601168155670166, 1.6000709533691406, -0.32562875747680664, 0.1699591726064682, 0.7419015169143677, -0.05205140262842178, 0.547113835811615, 0.06464637815952301, ...
css/reference/properties/fill/index.md
CSS - Properties - fill - Examples - Fills and fallbacks: This example demonstrates how to include a `url()` value with a fallback as a `fill` value.
[ -1.9477018117904663, 0.4560238718986511, -0.5120853781700134, 0.46291202306747437, -0.7744909524917603, -0.6704349517822266, 2.011268377304077, 1.6836397647857666, -0.6137111186981201, -0.30476972460746765, -0.2870371341705322, 0.8886750340461731, -0.0215211920440197, 0.06452491134405136, ...
css/reference/properties/fill/index.md
CSS - Properties - fill - Examples - Fills and fallbacks - HTML: We have an SVG containing two `polygon` stars and a `linearGradient` that goes from green to gold to red. Example: <svg viewBox="0 0 220 120" xmlns="http://www.w3.org/2000/svg"> <defs> <linearGradient id="myGradient"> <stop offset="5%" stop...
[ -2.0513339042663574, -0.6249139904975891, -0.7171517014503479, -1.2679473161697388, 0.029116235673427582, -1.5523037910461426, 0.3751011788845062, 1.9063291549682617, 0.4030686616897583, -0.768794059753418, -0.12243521958589554, 0.9909617900848389, 0.46240851283073425, -0.4425833225250244,...
css/reference/properties/fill/index.md
CSS - Properties - fill - Examples - Fills and fallbacks - CSS: We set `fill` values on the polygons in the SVG, providing a `url()` value and a fallback. Example: svg { border: 1px solid; height: calc(100vh - 20px); margin-bottom: 10px; } Example: polygon:first-of-type { fill: url("#myGradient") magenta; ...
[ -2.1250596046447754, -0.49471864104270935, -0.9453614354133606, -0.6670204997062683, 0.09961524605751038, -1.7640430927276611, 1.7763060331344604, 1.3569965362548828, -0.6678779125213623, -0.307856023311615, 0.3602091073989868, 1.4414417743682861, 0.06281526386737823, 0.24054789543151855, ...
css/reference/properties/font-synthesis-weight/index.md
CSS - Properties - font-synthesis-weight: The `font-synthesis-weight` CSS property lets you specify whether or not the browser may synthesize the bold typeface when it is missing in a font family. It is often convenient to use the shorthand property `font-synthesis` to control all typeface synthesis values.
[ -0.7849575877189636, 0.4644140899181366, -0.7291852831840515, 0.5129797458648682, 0.1851060688495636, -1.551155924797058, 1.089900255203247, 2.48956036567688, 0.9941055774688721, 0.1187024861574173, -0.3833226263523102, -0.07127703726291656, -0.4543330669403076, -0.5577777624130249, -0.3...
css/reference/properties/font-synthesis-weight/index.md
CSS - Properties - font-synthesis-weight - Syntax: Example: /* Keyword values */ font-synthesis-weight: auto; font-synthesis-weight: none; /* Global values */ font-synthesis-weight: inherit; font-synthesis-weight: initial; font-synthesis-weight: revert; font-synthesis-weight: revert-layer; font-synthesis-weight: uns...
[ -0.8776876330375671, 0.166774719953537, 0.2790904641151428, 0.3709089457988739, -0.4867166578769684, -1.7500864267349243, 0.7906787395477295, 2.5863325595855713, 1.0090452432632446, 0.20581798255443573, -0.5890493988990784, 0.3156962990760803, -0.10605542361736298, -0.42337024211883545, ...
css/reference/properties/font-synthesis-weight/index.md
CSS - Properties - font-synthesis-weight - Syntax - Values: This property is specified as one of the following keyword values: - `auto`: Indicates that the missing bold typeface may be synthesized by the browser if needed. - `none`: Indicates that the synthesis of the missing bold typeface by the browser is not allow...
[ -0.42894110083580017, 0.013293884694576263, -0.19070839881896973, 0.4109409749507904, -0.13136158883571625, -0.4743870198726654, 1.6312285661697388, 2.6057944297790527, 0.9098294377326965, -0.1682170182466507, -0.10195472836494446, 0.033666789531707764, 0.24612677097320557, -0.467298626899...
css/reference/properties/font-synthesis-weight/index.md
CSS - Properties - font-synthesis-weight - Examples - Disabling synthesis of bold typeface: This example shows turning off synthesis of the bold typeface by the browser in the `Montserrat` font.
[ 0.24985727667808533, 0.7090581655502319, -0.4770638942718506, -0.26357051730155945, -0.5679309368133545, -0.9128636121749878, 1.6420763731002808, 2.644460916519165, 0.9770960807800293, -0.43815991282463074, -0.09625794738531113, -0.07065880298614502, -0.2555159330368042, -0.707617580890655...
css/reference/properties/font-synthesis-weight/index.md
CSS - Properties - font-synthesis-weight - Examples - Disabling synthesis of bold typeface - HTML: Example: <p class="english"> This is the default <strong>bold typeface</strong> and <em>oblique typeface</em>. </p> <p class="english no-syn"> The <strong>bold typeface</strong> is turned off here but not the <...
[ -0.6834046244621277, 0.17690612375736237, 0.22668617963790894, -0.5122895240783691, 0.2589637041091919, -1.6087822914123535, 1.308632731437683, 2.075686454772949, 1.0247801542282104, -0.24303188920021057, 0.14083006978034973, 0.3888706564903259, 0.17603348195552826, -0.6334111094474792, ...
css/reference/properties/font-synthesis-weight/index.md
CSS - Properties - font-synthesis-weight - Examples - Disabling synthesis of bold typeface - CSS: Example: @import "https://fonts.googleapis.com/css2?family=Montserrat&display=swap"; .english { font-family: "Montserrat", sans-serif; } .no-syn { font-synthesis-weight: none; }
[ 0.08761291950941086, 0.43012702465057373, -0.4313659369945526, -0.28317803144454956, 0.7210585474967957, -1.5480257272720337, 0.2507646679878235, 1.9646281003952026, 0.09836021065711975, -0.6229175925254822, 0.41434186697006226, -0.2609725594520569, -0.4361494183540344, -0.2555496692657470...
css/reference/properties/column-rule/index.md
CSS - Properties - column-rule: The `column-rule` shorthand CSS property sets the width, style, and color of the lines drawn between columns in multi-column grid, flex, and multi-col layouts. Example: column-rule: solid; Example: column-rule: groove 0.8em teal; Example: column-rule: dotted thick teal, repeat...
[ -0.9257131814956665, 0.019561108201742172, -1.039048671722412, -0.1520683765411377, 0.6549645066261292, -1.7712256908416748, -0.5577952265739441, 1.410762071609497, -0.2442999631166458, 0.1693328320980072, 0.39046603441238403, -0.2703459858894348, -0.39394524693489075, 0.2723909616470337, ...
css/reference/properties/column-rule/index.md
CSS - Properties - column-rule - Constituent properties: This property is a shorthand for the following CSS properties: - `column-rule-color` - `column-rule-style` - `column-rule-width`
[ -1.5460468530654907, 0.5186032652854919, -0.9886243343353271, 0.055623121559619904, -0.24298395216464996, -1.9697606563568115, 0.6095790266990662, 2.4150705337524414, 0.15587909519672394, 0.25929832458496094, -0.5451688766479492, 0.06798683106899261, -0.001452391967177391, -0.1519190669059...
css/reference/properties/column-rule/index.md
CSS - Properties - column-rule - Syntax: Example: /* One value */ column-rule: dashed; column-rule: inset 8px; column-rule: solid teal; column-rule: thick outset rgb(18 122 67); /* Multiple values */ column-rule: groove, dashed, solid; column-rule: dotted medium teal, dashed pink 0.5em, outset olive 1px; colum...
[ -1.061731219291687, 0.4857558608055115, -0.47539031505584717, -0.202486053109169, 0.5142360329627991, -1.2995465993881226, -0.1958576738834381, 1.6885133981704712, -0.18488064408302307, -0.05739651620388031, 0.0035614632070064545, -0.05163930729031563, -0.30064335465431213, 0.2501617074012...
css/reference/properties/column-rule/index.md
CSS - Properties - column-rule - Syntax - Values: The `column-rule` property accepts a comma-separated list of values, including: - `<gap-rule>`: Specified as one, two, or three of the values listed below, in any order. - `<'line-width'>`: A `&lt;line-width&gt;`: This can be one of the keywords `thin`, `medium`, or...
[ -1.2337051630020142, -0.011410610750317574, -0.8717715740203857, -0.3723585903644562, 0.593437135219574, -0.8672977089881897, -0.18169714510440826, 1.635988473892212, -0.5722630023956299, 0.0707675889134407, -0.05026472359895706, -0.0910307839512825, -0.24024821817874908, -0.06736423075199...
css/reference/properties/column-rule/index.md
CSS - Properties - column-rule - Description: The `column-rule` property defines the line style of any rule lines drawn in the gaps between columns in multi-column, flex, and grid containers with more than one column. The `column-rule` is shorthand for `column-rule-color`, `column-rule-style`, and `column-rule-width`...
[ -1.0248546600341797, -0.18064159154891968, -0.37157073616981506, -0.03379783406853676, 0.9355869293212891, -0.6921456456184387, -0.2675837278366089, 1.6470932960510254, -0.37451934814453125, 0.19093196094036102, -0.39460405707359314, -0.10408420860767365, -0.28739917278289795, 0.2968870103...
css/reference/properties/column-rule/index.md
CSS - Properties - column-rule - Description - Repeated line styles: The `repeat()` function, with an integer of `1` or greater as the first argument, can be used to repeat a valid list of CSS `<gap-rule>` values passed as subsequent arguments the specified number of times. This allows the same `<gap-rule>` to be repe...
[ -0.6816037893295288, 0.020951133221387863, -1.2360714673995972, 0.5556130409240723, 0.9833619594573975, -1.9151169061660767, -0.5640362501144409, 1.7019753456115723, -0.47571420669555664, 0.3478892147541046, 0.2459348440170288, -0.871374785900116, -0.4684440493583679, 0.7639787793159485, ...
css/reference/properties/column-rule/index.md
CSS - Properties - column-rule - Description - Auto-repeating line styles: The `repeat()` function also accepts `auto` as the first argument instead of a positive integer. With `auto` as the first argument, the `<gap-rule>` values passed as subsequent arguments will be repeated as many times as needed to fill in value...
[ -0.7243984341621399, -0.27360737323760986, -0.6466138958930969, 0.42765793204307556, 0.7429240345954895, -1.3179680109024048, 0.4906742572784424, 1.5725626945495605, -0.589435875415802, 0.4219840466976166, -0.03794369101524353, -0.5036238431930542, -0.46669963002204895, 0.32146692276000977...
css/reference/properties/column-rule/index.md
CSS - Properties - column-rule - Examples - Basic example: In this example, we define a single rule for the lines drawn between flex items.
[ -1.2122539281845093, -0.02622414566576481, -1.5459426641464233, -0.2920738458633423, -0.30214884877204895, -0.5423062443733215, -0.06204969808459282, 2.2247872352600098, -0.08386483788490295, 0.19621264934539795, -0.327372670173645, 0.02770201861858368, -0.303901344537735, -0.2700988948345...
css/reference/properties/column-rule/index.md
CSS - Properties - column-rule - Examples - Basic example - HTML: We include a list of authors: Example: <ul> <li>Kimberlé Crenshaw</li> <li>Angela Y. Davis</li> <li>Bernardine Evaristo</li> <li>Audre Lorde</li> <li>Cathy Park Hong</li> <li>Zoya Patel</li> <li>Juno Mac</li> <li>Molly Smith</li> <li...
[ -1.7285901308059692, -0.008000722154974937, 0.1432655304670334, 0.1289597898721695, 1.093865156173706, -1.1019595861434937, 0.6272850632667542, 0.5322940349578857, 0.2612570822238922, 0.19687095284461975, 0.6151530146598816, 0.3077969253063202, 0.07523179054260254, -0.24307100474834442, ...
css/reference/properties/column-rule/index.md
CSS - Properties - column-rule - Examples - Basic example - CSS: We define the list to be a flex container, creating columns by setting the `flex-direction` to `row` using the `flex-flow` shorthand. We include a `gap` of `12px` to provide enough room between the columns to fit our `10px groove maroon` rule: Example: ...
[ -0.7133110761642456, 0.05396105349063873, -1.3061262369155884, 0.176205575466156, 0.5027998089790344, -0.9479933977127075, 0.05501715838909149, 1.4130518436431885, -0.6092088222503662, 0.2699533998966217, 0.8052383661270142, -0.37628841400146484, -0.2717503309249878, 0.36447033286094666, ...
css/reference/properties/column-rule/index.md
CSS - Properties - column-rule - Examples - Repeating values: This example demonstrates how the values are repeated when there are fewer values in the list of styles than column rules. It also demonstrates the default values for the width, color, and style of `medium`, `currentcolor` and `none`, respectively. Using t...
[ -0.9626693725585938, 0.20611624419689178, -0.838100790977478, -0.18023326992988586, 0.6754176020622253, -0.7636227607727051, 0.41991791129112244, 1.6115955114364624, -0.6915497779846191, 0.18555745482444763, 0.08005907386541367, 0.17728205025196075, -0.008720820769667625, 0.193127363920211...
css/reference/properties/column-rule/index.md
CSS - Properties - column-rule - Examples - Using the `repeat()` function: This example demonstrates using the `repeat()` function within the `column-rule` property value. We use the same HTML and CSS as in the previous examples. We include a `repeat()` function, setting the list of two `<gap-rule>` values to repeat f...
[ -1.4147741794586182, 0.2031306028366089, -0.7925145030021667, 0.17927908897399902, 0.5766352415084839, -1.5570988655090332, 0.6579416394233704, 1.3424961566925049, -0.9252265095710754, 0.44614049792289734, 0.26235419511795044, 0.3392044007778168, -0.47206178307533264, 0.48117464780807495, ...
css/reference/properties/column-rule/index.md
CSS - Properties - column-rule - Examples - Using `auto` within `repeat()`: This example demonstrates using the `auto` argument instead of an integer in the `repeat()` function. Using `repeat(auto, <gap-rule>)`, we set all column rules to `1px dotted` and default to the current color, except the first and last, which...
[ -1.2296135425567627, 0.12412422895431519, -0.6446191072463989, 0.8196448087692261, -0.5841686725616455, -0.9422874450683594, 1.545889139175415, 1.7316076755523682, -0.7293662428855896, 0.05190963298082352, -0.679865837097168, 0.0019709691405296326, 0.270433634519577, -0.3128053545951843, ...
css/reference/properties/border-width/index.md
CSS - Properties - border-width: The `border-width` shorthand CSS property sets the width of an element's border. Example: border-width: thick; Example: border-width: 1em; Example: border-width: 4px 1.25em; Example: border-width: 2ex 1.25ex 0.5ex; Example: border-width: 0 4px 8px 12px; Example: <section cl...
[ -0.42888012528419495, 0.2704628109931946, -1.5752438306808472, -0.8031689524650574, 0.5808186531066895, -1.7417975664138794, 0.4011398255825043, 1.3209730386734009, -0.02838713303208351, -0.09986480325460434, -0.6793469786643982, 0.8230749368667603, -0.48239195346832275, 0.0937186181545257...
css/reference/properties/border-width/index.md
CSS - Properties - border-width - Constituent properties: This property is a shorthand for the following CSS properties: - `border-bottom-width` - `border-left-width` - `border-right-width` - `border-top-width`
[ -0.7585229873657227, 1.023252010345459, -1.2437362670898438, -0.07165886461734772, -0.07673061639070511, -1.8650027513504028, 1.0992066860198975, 2.2245705127716064, 0.6215450167655945, -0.07408789545297623, -1.0379180908203125, 0.4249109625816345, -0.23416545987129211, -0.2425632178783416...
css/reference/properties/border-width/index.md
CSS - Properties - border-width - Syntax: Example: /* Keyword values */ border-width: thin; border-width: medium; border-width: thick; /* <length> values */ border-width: 4px; border-width: 1.2rem; /* top and bottom | left and right */ border-width: 2px 1.5em; /* top | left and right | bottom */ border-width: 1px ...
[ -0.19017641246318817, 0.6954659223556519, -0.8996281027793884, -0.10651473701000214, 0.7397449016571045, -0.5136020183563232, 0.4154692590236664, 1.6508442163467407, 0.17808234691619873, -0.08240248262882233, -0.4649588167667389, 0.7748025059700012, -0.06986406445503235, -0.047246038913726...
css/reference/properties/border-width/index.md
CSS - Properties - border-width - Syntax - Values: - `&lt;line-width&gt;`: Defines the width of the border, either as an explicit non-negative `&lt;length&gt;` or the keywords: `thin`, `medium`, or `thick`. The default is `medium`.
[ -0.8554762601852417, -0.5157164335250854, -1.2090686559677124, -1.083315134048462, -0.19426628947257996, -0.42114150524139404, -0.19800177216529846, 1.611859917640686, 0.69440096616745, -0.20605561137199402, -1.1019153594970703, 0.84229576587677, -0.781166136264801, -0.16481894254684448, ...
css/reference/properties/border-width/index.md
CSS - Properties - border-width - Examples - A mix of values and lengths - HTML: Example: <p id="one-value">one value: 6px wide border on all 4 sides</p> <p id="two-values"> two different values: 2px wide top and bottom border, 10px wide right and left border </p> <p id="three-values"> three different values: 0...
[ -1.210060477256775, 0.5053874254226685, -0.058606527745723724, -0.08828672766685486, 0.6662310361862183, -0.3410741984844208, 0.8468485474586487, 0.5234922766685486, -0.14712169766426086, -0.6407442092895508, -0.1331208050251007, 0.25311195850372314, -0.2828766405582428, -0.359039992094039...
css/reference/properties/border-width/index.md
CSS - Properties - border-width - Examples - A mix of values and lengths - CSS: Example: #one-value { border: ridge #cccccc; border-width: 6px; } #two-values { border: solid red; border-width: 2px 10px; } #three-values { border: dotted orange; border-width: 0.3em 0 9px; } #four-values { border: solid li...
[ 0.03949607163667679, 0.8563048243522644, -1.3429478406906128, -0.9967144131660461, 0.7051818370819092, -1.2352206707000732, 0.23173901438713074, 1.5042788982391357, -0.548954963684082, -0.49149781465530396, 0.5087087154388428, 0.3839462101459503, -0.3030281364917755, -0.21804668009281158, ...
css/reference/properties/content-visibility/index.md
CSS - Properties - content-visibility: The `content-visibility` CSS property controls whether or not an element renders its contents at all, along with forcing a strong set of containments, allowing user agents to potentially omit large swathes of layout and rendering work until it becomes needed. It enables the user ...
[ 0.24650289118289948, -0.09270527958869934, -0.26175644993782043, 0.023949027061462402, 0.2817663848400116, -1.989033579826355, -0.2784757614135742, 1.8188364505767822, -0.5296996831893921, 0.3527415692806244, 0.6529597640037537, -0.5752025246620178, -0.3405567705631256, 0.1793859601020813,...
css/reference/properties/content-visibility/index.md
CSS - Properties - content-visibility - Syntax: Example: /* Keyword values */ content-visibility: visible; content-visibility: hidden; content-visibility: auto; /* Global values */ content-visibility: inherit; content-visibility: initial; content-visibility: revert; content-visibility: revert-layer; content-visibili...
[ -0.3504001796245575, -0.11388816684484482, 0.43943747878074646, 0.33258354663848877, -0.36186158657073975, -1.2080572843551636, 0.44813916087150574, 1.9715197086334229, 0.6237346529960632, 0.09976622462272644, -0.4084623456001282, 0.07302217185497284, -0.3539506196975708, 0.030535034835338...
css/reference/properties/content-visibility/index.md
CSS - Properties - content-visibility - Syntax - Values: This property is specified as one of the following keyword values: - `visible`: No effect. The element's contents are laid out and rendered as normal. This is the default value. - `hidden`: The element skips its contents. The skipped contents must not be access...
[ -0.6895912885665894, -1.0066180229187012, -0.862869381904602, -0.19283555448055267, 0.15278495848178864, -1.0371907949447632, 1.6445947885513306, 1.4878120422363281, 0.3521067202091217, 0.2206665426492691, 0.14733967185020447, 0.37694036960601807, -0.7921340465545654, 0.3858908712863922, ...
css/reference/properties/content-visibility/index.md
CSS - Properties - content-visibility - Description - Animating and transitioning content-visibility: Supporting browsers animate/transition `content-visibility` with a variation on the discrete animation type. Discrete animation generally means that the property will flip between two values 50% of the way through th...
[ -0.16119256615638733, -0.8109214305877686, -0.1811261773109436, 0.5777720808982849, 0.15554183721542358, -1.594016671180725, -0.19470104575157166, 1.6479800939559937, -1.139220118522644, 0.37000012397766113, 0.42876043915748596, -0.5860372185707092, -0.6467660069465637, 0.23567217588424683...
css/reference/properties/content-visibility/index.md
CSS - Properties - content-visibility - Accessibility: Off-screen content within a `content-visibility: auto` property remains in the document object model and the accessibility tree. This allows improving page performance with `content-visibility: auto` without negatively impacting accessibility. Since styles for of...
[ -0.343761682510376, -0.26364660263061523, -0.5474759936332703, -0.07362373173236847, 0.19782239198684692, -0.969845712184906, 0.6863254308700562, 1.2450239658355713, -0.00006853044033050537, 0.30914735794067383, -0.4483564496040344, -0.06949633359909058, -0.24109192192554474, 0.33359244465...
css/reference/properties/content-visibility/index.md
CSS - Properties - content-visibility - Examples - Using auto to reduce rendering cost of long pages: The following example shows the use of `content-visibility: auto` to skip painting and rendering of off-screen sections. When a `section` is out of the viewport then the painting of the content is skipped until the se...
[ -0.6996862292289734, -1.0067641735076904, -0.39915117621421814, 1.0854085683822632, -0.6708088517189026, -0.44494467973709106, 1.130355954170227, 1.5725104808807373, -0.24530182778835297, 0.6197625994682312, -0.10816232860088348, 0.012327447533607483, -0.021377872675657272, 0.6859345436096...
css/reference/properties/content-visibility/index.md
CSS - Properties - content-visibility - Examples - Using auto to reduce rendering cost of long pages - HTML: Example: <section> <!-- Content for each section… --> </section> <section> <!-- Content for each section… --> </section> <section> <!-- Content for each section… --> </section> <!-- … -->
[ -1.2614455223083496, -0.977033793926239, 0.005717765539884567, 0.7603278756141663, -0.9771380424499512, -0.8193157911300659, 1.249489426612854, 0.9604809284210205, -0.15904709696769714, 0.6982212066650391, -0.13103657960891724, 0.22432664036750793, -0.007137816399335861, 0.516251802444458,...
css/reference/properties/content-visibility/index.md
CSS - Properties - content-visibility - Examples - Using auto to reduce rendering cost of long pages - CSS: The `contain-intrinsic-size` property adds a default size of 500px to the height and width of each `section` element. After a section is rendered, it will retain its rendered intrinsic size, even when it is scro...
[ -0.7280969619750977, 0.08518502116203308, -0.6271849274635315, -0.04618797078728676, 0.29275235533714294, -1.1764919757843018, 0.22808656096458435, 1.261277437210083, -0.3057989180088043, 0.2575536072254181, 0.313790500164032, 0.3593091368675232, -0.0727839320898056, 0.004252873361110687, ...
css/reference/properties/content-visibility/index.md
CSS - Properties - content-visibility - Examples - Using hidden to manage visibility: The following example shows how to manage content visibility with JavaScript. Using `content-visibility: hidden;` instead of `display: none;` preserves the rendering state of content when hidden and rendering is faster.
[ -0.8391873836517334, -0.3037545084953308, 0.03336409851908684, 0.9107674956321716, -0.7148411870002747, -0.6988228559494019, 0.6625000834465027, 1.872593879699707, 0.12301160395145416, 0.5246374607086182, -1.0152080059051514, -0.5041179060935974, -1.055970311164856, -0.15736296772956848, ...
css/reference/properties/content-visibility/index.md
CSS - Properties - content-visibility - Examples - Using hidden to manage visibility - HTML: Example: <div class="hidden"> <button class="toggle">Show</button> <p> This content is initially hidden and can be shown by clicking the button. </p> </div> <div class="visible"> <button class="toggle">Hide</butto...
[ -1.182645559310913, 0.305290549993515, 0.1382291167974472, 0.3953476548194885, -0.39947277307510376, -1.4448360204696655, 1.1595627069473267, 1.3487365245819092, -0.18382470309734344, 0.2907601296901703, -0.9316926598548889, 0.43306609988212585, -0.7839804887771606, -0.24481475353240967, ...
css/reference/properties/content-visibility/index.md
CSS - Properties - content-visibility - Examples - Using hidden to manage visibility - CSS: The `content-visibility` property is set on paragraphs that are direct children of elements with the `visible` and `hidden` classes. In our example, we can show and hide content in paragraphs depending on the CSS class of paren...
[ -0.27872511744499207, -0.24393495917320251, -0.4212597906589508, -0.3274040222167969, 0.28951552510261536, -1.6499156951904297, 0.160532608628273, 1.7818310260772705, -0.24118375778198242, 0.27248451113700867, -0.5186759233474731, 0.029142066836357117, -0.5366179347038269, 0.16595706343650...
css/reference/properties/content-visibility/index.md
CSS - Properties - content-visibility - Examples - Using hidden to manage visibility - JavaScript: Example: const handleClick = (event) => { const button = event.target; const div = button.parentElement; button.textContent = div.classList.contains("visible") ? "Show" : "Hide"; div.classList.toggle("hidden"); ...
[ -0.8616883158683777, -0.0806436836719513, -0.3778243064880371, 0.3428310453891754, 0.06406350433826447, -0.9105226397514343, 0.12180529534816742, 0.871666431427002, -0.9849196076393127, 0.4663807451725006, -0.2993064522743225, 0.39523643255233765, -0.7542321085929871, 0.4869035482406616, ...
css/reference/properties/content-visibility/index.md
CSS - Properties - content-visibility - Examples - Animating content-visibility: In this example, we have a `div` element, the content of which can be toggled between shown and hidden by clicking or pressing any key.
[ 0.06980657577514648, -0.8106173872947693, 0.28005045652389526, -0.028231292963027954, -0.0747491717338562, -0.8288239240646362, 0.6549651622772217, 1.417311191558838, -0.2442786693572998, 0.3834059536457062, -0.17218025028705597, -0.44118019938468933, -1.2300827503204346, -0.41283929347991...
css/reference/properties/content-visibility/index.md
CSS - Properties - content-visibility - Examples - Animating content-visibility - HTML: Example: <p> Click anywhere on the screen or press any key to toggle the <code>&lt;div&gt;</code> content between hidden and showing. </p> <div> This is a <code>&lt;div&gt;</code> element that animates between <code>conte...
[ -0.5481398701667786, -0.04858117178082466, 0.1702830195426941, -0.006017986685037613, 0.1892082393169403, -1.0557101964950562, 0.3255103826522827, 1.1867741346359253, -1.2117695808410645, 0.21884232759475708, -0.06032845377922058, -0.28984546661376953, -0.3378404378890991, 0.03572351485490...
css/reference/properties/content-visibility/index.md
CSS - Properties - content-visibility - Examples - Animating content-visibility - CSS: In the CSS we initially set `content-visibility: hidden;` on the `<div>` to hide its content. We then set up `@keyframes` animations and attach them to classes to show and hide the `<div>`, animating `content-visibility` and `color`...
[ 0.4137941896915436, -0.27853572368621826, -0.22662506997585297, -0.297066330909729, 0.48661965131759644, -1.56153404712677, -0.3543603718280792, 1.8617674112319946, -1.0777583122253418, 0.5337641835212708, 0.3890523612499237, -0.6825737357139587, -0.3987385630607605, 0.44968265295028687, ...
css/reference/properties/content-visibility/index.md
CSS - Properties - content-visibility - Examples - Animating content-visibility - JavaScript: Finally, we use JavaScript to apply the `.show` and `.hide` classes to the `<div>` as appropriate to apply the animations as it is toggled between shown and hidden states. Example: const divElem = document.querySelector("di...
[ -0.08686061203479767, -0.1219126358628273, -0.17720218002796173, -0.08646972477436066, 0.23185276985168457, -0.6834522485733032, 0.23080536723136902, 0.782663881778717, -1.3096867799758911, 0.21515746414661407, -0.022253960371017456, -0.2508642375469208, -0.6267901062965393, 0.323383837938...
css/reference/properties/border-bottom-width/index.md
CSS - Properties - border-bottom-width: The `border-bottom-width` CSS property sets the width of the bottom border of an element. Example: border-bottom-width: thick; Example: border-bottom-width: 2em; Example: border-bottom-width: 4px; Example: border-bottom-width: 2ex; Example: border-bottom-width: 0; Exa...
[ -0.36058974266052246, 0.2336055487394333, -0.8095998764038086, -0.5480776429176331, 0.7329007983207703, -1.9032727479934692, 0.31735891103744507, 1.3694676160812378, -0.15520283579826355, -0.08553943783044815, 0.004216540604829788, 0.5360515117645264, -0.5574301481246948, 0.623893439769744...
css/reference/properties/border-bottom-width/index.md
CSS - Properties - border-bottom-width - Syntax: Example: /* Keyword values */ border-bottom-width: thin; border-bottom-width: medium; border-bottom-width: thick; /* <length> values */ border-bottom-width: 10em; border-bottom-width: 3vmax; border-bottom-width: 6px; /* Global keywords */ border-bottom-width: inherit...
[ -0.8909487724304199, 0.45605337619781494, -0.3596004843711853, -1.0366803407669067, -0.15321917831897736, -1.31781005859375, 0.3130700886249542, 1.6394861936569214, -0.2502649128437042, 0.13168255984783173, -1.4370437860488892, 1.2440379858016968, -0.9987461566925049, 0.052848853170871735,...
css/reference/properties/border-bottom-width/index.md
CSS - Properties - border-bottom-width - Syntax - Values: - `&lt;line-width&gt;`: Defines the width of the border, either as an explicit non-negative `&lt;length&gt;` or the keywords: `thin`, `medium`, or `thick`. The default is `medium`.
[ -1.0900473594665527, -0.5679543614387512, -1.0850400924682617, -0.8797176480293274, -0.16400504112243652, -0.7602170705795288, 0.175697922706604, 1.6818153858184814, 0.5861868858337402, -0.027090322226285934, -1.3003859519958496, 0.9888215065002441, -0.6703298091888428, -0.2671738862991333...
css/reference/properties/border-bottom-width/index.md
CSS - Properties - border-bottom-width - Examples - Comparing bottom border widths - HTML: Example: <div>Element 1</div> <div>Element 2</div>
[ -1.0465818643569946, 0.06596054136753082, -0.4776447117328644, -0.6629003882408142, -0.41006413102149963, -0.7512288093566895, 0.9678974747657776, 1.393791913986206, 0.4179783761501312, -0.3030948042869568, -1.3290587663650513, 0.6584699153900146, -0.5741941332817078, -0.08950398862361908,...
css/reference/properties/border-bottom-width/index.md
CSS - Properties - border-bottom-width - Examples - Comparing bottom border widths - CSS: Example: div { border: 1px solid red; margin: 1em 0; } div:nth-child(1) { border-bottom-width: thick; } div:nth-child(2) { border-bottom-width: 2em; }
[ -1.2983454465866089, 0.0071920957416296005, -0.37262842059135437, -1.230318307876587, -0.18228644132614136, -0.7737523913383484, 1.078047275543213, 1.3402326107025146, -0.020915478467941284, 0.13757093250751495, -0.6572566628456116, 0.988175630569458, -1.1582914590835571, 0.098155021667480...
css/reference/properties/z-index/index.md
CSS - Properties - z-index: The `z-index` CSS property sets the z-order of a positioned element and its descendants or flex and grid items. Overlapping elements with a larger z-index cover those with a smaller one. Example: z-index: auto; Example: z-index: 1; Example: z-index: 3; Example: z-index: 5; Example:...
[ -0.1538003534078598, -0.2532891035079956, -0.6200613975524902, 0.35654035210609436, 0.7068775296211243, -1.3086146116256714, -0.017135750502347946, 1.644802451133728, -0.032610680907964706, 0.0715775340795517, 0.26941367983818054, 0.07119126617908478, -0.48180127143859863, 0.98325228691101...
css/reference/properties/z-index/index.md
CSS - Properties - z-index - Syntax: Example: /* Keyword value */ z-index: auto; /* <integer> values */ z-index: 0; z-index: 3; z-index: 289; z-index: -1; /* Negative values to lower the priority */ /* Global values */ z-index: inherit; z-index: initial; z-index: revert; z-index: revert-layer; z-index: unset;
[ -1.2008787393569946, -0.1490222066640854, -0.1622917801141739, 0.5938824415206909, -0.42451345920562744, -0.8621976375579834, 1.2774373292922974, 1.0507007837295532, -0.0403166301548481, 0.3817467987537384, -1.2814944982528687, 0.5923965573310852, -0.06644289195537567, 0.06892658770084381,...
css/reference/properties/z-index/index.md
CSS - Properties - z-index - Syntax - Values: This property is specified as one of the following values: - `auto`: The box does not establish a new local stacking context. The stack level of the generated box in the current stacking context is `0`. - `<integer>`: This `&lt;integer&gt;` is the stack level of the gener...
[ -0.6632498502731323, -0.8556298017501831, -1.2106285095214844, 0.7601062655448914, 0.1593102514743805, -0.6225180625915527, 0.8837007284164429, 1.7796971797943115, 0.3831023871898651, -0.0700131505727768, -0.5633971691131592, 0.6177343130111694, -0.24543218314647675, 0.724349856376648, 0...
css/reference/properties/z-index/index.md
CSS - Properties - z-index - Examples - Visually layering elements - HTML: Example: <div class="wrapper"> <div class="dashed-box">Dashed box</div> <div class="gold-box">Gold box</div> <div class="green-box">Green box</div> </div>
[ -1.0009220838546753, -0.004243602976202965, -0.10700765997171402, -0.5818178653717041, -1.0306293964385986, -0.6925281882286072, 1.3046237230300903, 1.6514607667922974, -0.9309321641921997, 0.39611804485321045, -0.37978455424308777, 0.12302640080451965, -0.4975739121437073, -0.241645470261...
css/reference/properties/z-index/index.md
CSS - Properties - z-index - Examples - Visually layering elements - CSS: Example: .wrapper { position: relative; } .dashed-box { position: relative; z-index: 1; border: dashed; height: 8em; margin-bottom: 1em; margin-top: 2em; } .gold-box { position: absolute; z-index: 3; /* put .gold-box above .g...
[ -0.4514157176017761, 0.15168163180351257, -0.32479384541511536, -1.2739593982696533, 0.015466101467609406, -0.8973046541213989, 0.7804489731788635, 1.2594903707504272, -0.6494935750961304, 0.615800678730011, -0.6739369630813599, 0.06407810747623444, -0.567886471748352, 0.6697934865951538, ...
css/reference/properties/image-orientation/index.md
CSS - Properties - image-orientation: The `image-orientation` CSS property specifies a layout-independent correction to the orientation of an image. Example: image-orientation: none; Example: image-orientation: from-image; Example: <section id="default-example"> <img class="transition-all" id="example-...
[ -2.0586419105529785, -0.7468389868736267, -0.4896600544452667, 0.0694577768445015, -0.22567081451416016, -1.7395535707473755, 0.45061957836151123, 1.0419328212738037, 0.2685234248638153, -0.12386499345302582, -0.2892833948135376, -0.8673692941665649, -0.038694366812705994, 0.26112672686576...
css/reference/properties/image-orientation/index.md
CSS - Properties - image-orientation - Syntax: Example: /* keyword values */ image-orientation: none; image-orientation: from-image; /* Use EXIF data from the image */ /* Global values */ image-orientation: inherit; image-orientation: initial; image-orientation: revert; image-orientation: revert-layer; image-orienta...
[ -1.3361694812774658, -0.1954578012228012, -0.1422031968832016, 0.33528727293014526, -0.8271993398666382, -0.8581404685974121, 0.3798494338989258, 1.7910903692245483, 0.9377965927124023, -0.13422343134880066, -0.7375602126121521, -0.3782661557197571, -0.10721535980701447, 0.1903013885021209...
css/reference/properties/image-orientation/index.md
CSS - Properties - image-orientation - Syntax - Values: This property is specified as one of the following keyword values: - `none`: Does not apply any additional image rotation; the image is oriented as encoded or as other CSS property values dictate. - `from-image`: Default initial value. The EXIF information conta...
[ -0.6232497096061707, 0.12458176910877228, -1.2831696271896362, 0.1971568763256073, 0.600999653339386, -1.2922605276107788, -0.14602890610694885, 2.125166893005371, 0.16647806763648987, -0.0704425796866417, 0.493036687374115, -0.46931836009025574, -0.8043003082275391, 0.2498861849308014, ...
css/reference/properties/image-orientation/index.md
CSS - Properties - image-orientation - Description: This property is intended only to be used for the purpose of correcting the orientation of images which were shot with the camera rotated. It should not be used for arbitrary rotations. For any purpose other than correcting an image's orientation due to how it was sh...
[ -1.618542194366455, -0.17460036277770996, -0.6912795901298523, 0.6211493611335754, -0.1882898509502411, -1.0108299255371094, 0.9313562512397766, 1.5272108316421509, 0.4076586365699768, 0.0850970447063446, -0.4961199462413788, -0.23875990509986877, 0.11652334034442902, 0.13196785748004913, ...
css/reference/properties/image-orientation/index.md
CSS - Properties - image-orientation - Examples - Orienting image from image data: The following image has been rotated through 180 degrees, and the `image-orientation` property is used to correct its orientation based on the EXIF data in the image. By changing the `image-orientation` to `none` you can see the effect ...
[ -1.6330291032791138, -0.6419339179992676, -0.6580674052238464, 0.4394969344139099, -0.6374786496162415, -0.7653310298919678, 0.8127105832099915, 1.72642183303833, 1.1549087762832642, -0.2647952437400818, -0.8804399371147156, -0.7040718197822571, -0.8406385183334351, 0.0951971709728241, 0...
css/reference/properties/image-orientation/index.md
CSS - Properties - image-orientation - Examples - Orienting image from image data - CSS: Example: #image { image-orientation: from-image; /* Can be changed in the live sample */ } Example: img { margin: 0.5rem 0; } label { font-family: monospace; } Example: <img id="image" src="oriole.jpg" alt="Orientation...
[ -1.0470881462097168, 0.6734678149223328, -1.2848700284957886, 0.0925082266330719, 0.3604922294616699, -0.9969286322593689, 0.05088513344526291, 1.6499099731445312, -0.85153728723526, 0.21721087396144867, 0.6246209740638733, -0.7034891247749329, -0.5799271464347839, 0.1953904628753662, -0...
css/reference/properties/place-self/index.md
CSS - Properties - place-self: The `place-self` CSS shorthand property allows you to align an individual item in both the block and inline directions at once (i.e., the `align-self` and `justify-self` properties). This property applies to block-level boxes, absolutely-positioned boxes, and grid items. If the second va...
[ 0.03356032818555832, -0.06069270521402359, -1.064346194267273, -0.14728152751922607, 0.551060140132904, -2.068208932876587, -0.0858587920665741, 2.0248749256134033, -0.1254817545413971, 0.665145218372345, 0.5644217133522034, 0.2410774827003479, -1.0575858354568481, 0.3710533082485199, -0...
css/reference/properties/place-self/index.md
CSS - Properties - place-self - Constituent properties: This property is a shorthand for the following CSS properties: - `align-self` - `justify-self`
[ -0.3085618317127228, 0.275394082069397, -0.9432737231254578, 0.5640016794204712, -0.5320572853088379, -1.8776923418045044, 1.1554838418960571, 1.2925734519958496, 0.6383739709854126, 0.3456774353981018, -0.06944872438907623, 0.0923948734998703, -0.7636266350746155, -0.12272480130195618, ...