file stringlengths 16 94 | text stringlengths 32 24.4k | vector list |
|---|---|---|
css/reference/properties/row-rule-width/index.md | CSS - Properties - row-rule-width - Syntax - Values:
The `row-rule-width` property accepts a comma-separated list of values, including:
- `<line-width>`: A `<line-width>`: This can be one of the keywords `thin`, `medium`, or `thick`, or a positive `length` value, representing the width of the line. The default ... | [
-1.1306407451629639,
0.1624954342842102,
-0.6444014310836792,
-0.5095049142837524,
0.7222523093223572,
-0.655787467956543,
0.23107168078422546,
1.328161597251892,
0.15382999181747437,
-0.38240787386894226,
-0.2616410255432129,
0.254255086183548,
-0.32841137051582336,
-0.2237165868282318,
... |
css/reference/properties/row-rule-width/index.md | CSS - Properties - row-rule-width - Description:
The `row-rule-width` property defines the widths of any row rule lines drawn in the gaps between rows in multi-column, flex, and grid containers with more than one row.
The value is a comma-separated list of components, which can include `<line-width>`, `<repeat-line-w... | [
-1.2787665128707886,
0.08464651554822922,
-0.4499553143978119,
-0.18553069233894348,
0.5528066754341125,
-0.8874969482421875,
-0.023047426715493202,
1.4575021266937256,
0.06254208087921143,
-0.3237003684043884,
-0.47896668314933777,
0.7110568881034851,
-0.5286494493484497,
0.01223987340927... |
css/reference/properties/row-rule-width/index.md | CSS - Properties - row-rule-width - Description - Repeated line widths:
The `repeat()` function, with an integer of `1` or greater as the first argument, can be used to repeat a valid list of CSS `<line-width>` values passed as subsequent arguments the specified number of times. This allows the same widths to be... | [
-0.8361106514930725,
0.49307674169540405,
-1.0224380493164062,
-0.5190891623497009,
1.198895812034607,
-1.5822513103485107,
-0.5504553914070129,
1.3402700424194336,
-0.29465556144714355,
-0.26065072417259216,
-0.19393597543239594,
0.3708425462245941,
-0.3217519521713257,
0.3287685811519623... |
css/reference/properties/row-rule-width/index.md | CSS - Properties - row-rule-width - Description - Auto-repeating line widths:
The `repeat()` function also accepts `auto` as the first argument instead of a positive integer. With `auto` as the first argument, the list of `<line-width>` values passed as subsequent arguments will be repeated as many times as needed to ... | [
-1.0359517335891724,
-0.15025432407855988,
-1.277330994606018,
0.23876523971557617,
-0.3597416579723358,
-1.4908095598220825,
0.9871798753738403,
1.3310225009918213,
-0.20812037587165833,
0.018277613446116447,
-0.9624488353729248,
0.1748497188091278,
-0.38127321004867554,
-0.28313237428665... |
css/reference/properties/row-rule-width/index.md | CSS - Properties - row-rule-width - Examples - Basic example:
In this example, we define a single width for the lines drawn between flex items. | [
-1.1161303520202637,
0.02776476740837097,
-1.5797514915466309,
-0.6931438446044922,
-0.631798505783081,
-0.45102545619010925,
0.25928792357444763,
2.0991806983947754,
0.33494752645492554,
-0.37717798352241516,
-0.9082056283950806,
0.09502226114273071,
-0.30493971705436707,
-0.5840796232223... |
css/reference/properties/row-rule-width/index.md | CSS - Properties - row-rule-width - Examples - Basic example - HTML:
We include a list of dynamic sports duos:
Example:
<ul>
<li>Simone Biles + Jonathan Owens</li>
<li>Serena Williams + Venus Williams</li>
<li>Aaron Judge + Giancarlo Stanton</li>
<li>LeBron James + Dwyane Wade</li>
<li>Xavi Hernandez + And... | [
-1.952280879020691,
-0.36075010895729065,
-0.5852408409118652,
0.16023395955562592,
0.3292211592197418,
-0.5061832070350647,
0.7560002207756042,
0.4301729202270508,
0.39823493361473083,
-0.14252348244190216,
-0.07015500962734222,
0.41931793093681335,
-0.05025283992290497,
-0.17955590784549... |
css/reference/properties/row-rule-width/index.md | CSS - Properties - row-rule-width - Examples - Basic example - CSS:
We define the list to be a flex container, creating rows by setting the `flex-direction` to `column` using the `flex-flow` shorthand. We include a `gap` of `5px` to provide enough room between the rows to fit our `3px` dashed red rule:
Example:
ul {... | [
-0.6307357549667358,
-0.3713094890117645,
-1.0039303302764893,
-0.13456743955612183,
0.5694273710250854,
-1.0243488550186157,
0.16533799469470978,
1.4482831954956055,
-0.7193621397018433,
0.021662279963493347,
0.07738441973924637,
0.22346904873847961,
-0.13823164999485016,
0.27377575635910... |
css/reference/properties/row-rule-width/index.md | CSS - Properties - row-rule-width - Examples - Repeating values:
This example demonstrates how, when there are fewer values in the list of widths than row rules, the values are repeated.
Using the same HTML and CSS as in the previous example, we include three comma-separated widths as the `row-rule-width` value:
Exa... | [
-1.1951416730880737,
0.42210152745246887,
-0.6455268859863281,
-0.5748960971832275,
0.7484845519065857,
-1.0844358205795288,
0.7261463403701782,
1.576448678970337,
-0.13460847735404968,
-0.47742146253585815,
0.17715239524841309,
0.6032508611679077,
-0.28198933601379395,
0.14623743295669556... |
css/reference/properties/row-rule-width/index.md | CSS - Properties - row-rule-width - Examples - Using the `repeat()` function:
This example demonstrates using the `repeat()` function within the `row-rule-width` property value and how this function can help reduce the verbosity of value declarations.
We use the same HTML and CSS as in the previous examples. To demon... | [
-1.0612419843673706,
0.05964677780866623,
-1.2377115488052368,
-0.04782078415155411,
0.49904751777648926,
-1.343488097190857,
0.2890407145023346,
1.3952549695968628,
-0.25044363737106323,
-0.23267212510108948,
0.20643751323223114,
1.036802053451538,
-0.43345674872398376,
0.1742371916770935... |
css/reference/properties/row-rule-width/index.md | CSS - Properties - row-rule-width - Examples - Using `auto` within `repeat()`:
This example demonstrates using `auto` instead of an integer within the `repeat()` function.
Using `repeat(auto, <line-width>)` we set all row rules to `1px`, except the first and last, which we set to `5px`.
Example:
ul {
row-rule-wid... | [
-0.8069518208503723,
0.1830759197473526,
-0.4845171570777893,
-0.1115536168217659,
0.5798853039741516,
-0.9606396555900574,
0.7556918263435364,
1.496897578239441,
-0.34624606370925903,
-0.3733344078063965,
0.00881350040435791,
0.13502849638462067,
-0.38422489166259766,
0.41023004055023193,... |
css/reference/properties/overscroll-behavior-inline/index.md | CSS - Properties - overscroll-behavior-inline:
The `overscroll-behavior-inline` CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached.
See `overscroll-behavior` for a full explanation. | [
-1.513509750366211,
-0.37461647391319275,
-1.3243536949157715,
0.5267203450202942,
0.07527650892734528,
-0.4063661992549896,
-0.6520228385925293,
0.9840302467346191,
-0.0680682361125946,
0.2907681465148926,
-0.29580143094062805,
0.004230856895446777,
0.10978971421718597,
-0.185590729117393... |
css/reference/properties/overscroll-behavior-inline/index.md | CSS - Properties - overscroll-behavior-inline - Syntax:
Example:
/* Keyword values */
overscroll-behavior-inline: auto; /* default */
overscroll-behavior-inline: contain;
overscroll-behavior-inline: none;
/* Global values */
overscroll-behavior-inline: inherit;
overscroll-behavior-inline: initial;
overscroll-behavio... | [
-0.9269895553588867,
-0.26338911056518555,
-0.5729566812515259,
0.5680120587348938,
0.007600665092468262,
-0.49549874663352966,
0.2592742443084717,
1.9132359027862549,
-0.024878550320863724,
0.1789717674255371,
-0.7732824683189392,
0.1302385926246643,
0.14217248558998108,
0.004162184894084... |
css/reference/properties/overscroll-behavior-inline/index.md | CSS - Properties - overscroll-behavior-inline - Syntax - Values:
This property is specified as one of the following keyword values:
- `auto`: The default scroll overflow behavior occurs as normal.
- `contain`: Default scroll overflow behavior (e.g., "bounce" effects) is observed inside the element where this value is... | [
-1.3407665491104126,
-0.043220892548561096,
-1.000434398651123,
-0.307151734828949,
0.4400349259376526,
-0.5368225574493408,
-0.30810773372650146,
1.8387491703033447,
-0.151048943400383,
0.06081995368003845,
0.32287508249282837,
0.07168275117874146,
0.38346973061561584,
-0.3321174383163452... |
css/reference/properties/overscroll-behavior-inline/index.md | CSS - Properties - overscroll-behavior-inline - Examples - Preventing inline overscrolling:
In this demo we have two block-level boxes, one inside the other. The outer box has a large `width` set on it so the page will scroll horizontally. The inner box has a small width (and `height`) set on it so it sits comfortably... | [
-0.5877237319946289,
0.08384550362825394,
-0.9177035689353943,
0.1303066611289978,
0.6618497967720032,
-0.23132804036140442,
-0.1815175712108612,
1.213958740234375,
0.2004483938217163,
0.18912532925605774,
0.19322991371154785,
0.22964337468147278,
0.022944852709770203,
0.04684203118085861,... |
css/reference/properties/overscroll-behavior-inline/index.md | CSS - Properties - overscroll-behavior-inline - Examples - Preventing inline overscrolling - HTML:
Example:
<main>
<div>
<div>
<p>
<code>overscroll-behavior-inline</code> has been used to make it so that
when the scroll boundaries of the yellow inner box are reached, the
whole page... | [
-1.6056495904922485,
0.27812203764915466,
-0.3364691436290741,
-0.1772325336933136,
0.7625452876091003,
0.14857009053230286,
0.3750258982181549,
1.039381504058838,
-0.6958093643188477,
0.21007122099399567,
-0.08439332246780396,
-0.3930243253707886,
0.23261049389839172,
-0.10183785110712051... |
css/reference/properties/overscroll-behavior-inline/index.md | CSS - Properties - overscroll-behavior-inline - Examples - Preventing inline overscrolling - CSS:
Example:
main {
height: 400px;
width: 3000px;
background-color: white;
background-image: repeating-linear-gradient(
to right,
transparent 0px,
transparent 19px,
rgb(0 0 0 / 50%) 20px
);
}
main ... | [
-1.079123616218567,
0.34040960669517517,
-0.8956834077835083,
-0.6650127172470093,
0.5028184652328491,
-0.5014437437057495,
-0.16543318331241608,
1.3122204542160034,
-0.38241058588027954,
0.4522535800933838,
0.22212421894073486,
0.6241961717605591,
0.10663872957229614,
0.15534672141075134,... |
css/reference/properties/border-top-color/index.md | CSS - Properties - border-top-color:
The `border-top-color` CSS property sets the color of an element's top border. It can also be set with the shorthand CSS properties `border-color` or `border-top`.
Example:
border-top-color: red;
Example:
border-top-color: #32a1ce;
Example:
border-top-color: rgb(170 50 220 / ... | [
-0.4251920282840729,
-0.05450957641005516,
-0.7055962681770325,
-0.3784009516239166,
0.2538476884365082,
-1.7323462963104248,
0.1920415610074997,
2.021313428878784,
-0.08151593804359436,
0.30101197957992554,
-0.5883686542510986,
0.8569785952568054,
-0.48717132210731506,
0.29199883341789246... |
css/reference/properties/border-top-color/index.md | CSS - Properties - border-top-color - Syntax:
Example:
/* <color> values */
border-top-color: red;
border-top-color: #ffbb00;
border-top-color: rgb(255 0 0);
border-top-color: hsl(100deg 50% 25% / 75%);
border-top-color: currentColor;
border-top-color: transparent;
/* Global values */
border-top-color: inherit;
bord... | [
-0.7872569561004639,
0.5287033319473267,
-0.045643776655197144,
-0.06998257339000702,
-0.2510474920272827,
-1.2162824869155884,
-0.1279413402080536,
2.380394697189331,
0.2891083359718323,
-0.12193228304386139,
-1.2152788639068604,
1.2038336992263794,
0.05702466517686844,
0.0654488131403923... |
css/reference/properties/border-top-color/index.md | CSS - Properties - border-top-color - Syntax - Values:
This property is specified as one `<color>` value:
- `<color>`: The color of the top border. | [
-0.051786381751298904,
0.4189291000366211,
-1.260709524154663,
0.2453901767730713,
-0.19837306439876556,
-1.223373293876648,
0.4239434003829956,
2.7426235675811768,
0.3319897949695587,
-0.4139501452445984,
-0.7013975381851196,
0.8172730207443237,
-0.41745010018348694,
0.05284235626459122,
... |
css/reference/properties/border-top-color/index.md | CSS - Properties - border-top-color - Examples - A div with a border - HTML:
Example:
<div class="my-box">
<p>
This is a box with a border around it. Note which side of the box is
<span class="red-text">red</span>.
</p>
</div> | [
-1.249841332435608,
0.08293890953063965,
-0.26327717304229736,
-0.06994745880365372,
-0.2627195715904236,
-0.3601455092430115,
0.4230014979839325,
2.5092663764953613,
0.28432488441467285,
-0.003413427621126175,
-0.9590937495231628,
0.598666787147522,
-0.9772366285324097,
-0.146449834108352... |
css/reference/properties/border-top-color/index.md | CSS - Properties - border-top-color - Examples - A div with a border - CSS:
Example:
.my-box {
border: solid 0.3em gold;
border-top-color: red;
width: auto;
}
.red-text {
color: red;
} | [
-1.0881481170654297,
-0.048620615154504776,
-0.21423976123332977,
-0.6084970831871033,
-0.1417904496192932,
-0.2903970181941986,
0.22710630297660828,
2.3202123641967773,
0.015534535050392151,
-0.08920103311538696,
-0.5510021448135376,
0.7187398672103882,
-0.8550184369087219,
0.033884949982... |
css/reference/properties/row-rule-visibility-items/index.md | CSS - Properties - row-rule-visibility-items:
The `row-rule-visibility-items` CSS property defines whether a row-rule segment is painted in gaps adjacent to empty areas.
Example:
row-rule-visibility-items: all;
Example:
row-rule-visibility-items: around;
Example:
row-rule-visibility-items: between;
Example:
ro... | [
-1.3440033197402954,
-0.04830102249979973,
-0.3117597997188568,
0.3730805516242981,
0.4632439613342285,
-1.997075080871582,
0.16670383512973785,
1.293115258216858,
-0.1563001573085785,
0.512981653213501,
0.03722131997346878,
0.23832464218139648,
-0.29302406311035156,
0.25240814685821533,
... |
css/reference/properties/row-rule-visibility-items/index.md | CSS - Properties - row-rule-visibility-items - Syntax:
Example:
/* Keywords */
row-rule-visibility-items: all;
row-rule-visibility-items: around;
row-rule-visibility-items: between;
row-rule-visibility-items: normal;
/* Global values */
row-rule-visibility-items: inherit;
row-rule-visibility-items: initial;
row-rule... | [
-0.7207614183425903,
0.6195793747901917,
0.09883418679237366,
0.6231317520141602,
-0.6684673428535461,
-1.4536179304122925,
-0.30816012620925903,
1.9857370853424072,
0.9058078527450562,
-0.12836147844791412,
-1.0153858661651611,
0.505394458770752,
-0.16484273970127106,
0.1029493510723114,
... |
css/reference/properties/row-rule-visibility-items/index.md | CSS - Properties - row-rule-visibility-items - Syntax - Values:
This property is specified as one of the following keyword values:
- `all`: The row rule should be painted in all gap segments, regardless of whether adjacent areas contain an item.
- `around`: The row rule should be painted in a gap segment if at least ... | [
-1.206986904144287,
-0.18567532300949097,
-0.11443120241165161,
0.49176889657974243,
-0.07270768284797668,
-1.3427778482437134,
0.5317946076393127,
1.0609372854232788,
-0.07624524086713791,
-0.14636139571666718,
-0.5035517811775208,
0.8758879899978638,
0.1817118525505066,
0.201897412538528... |
css/reference/properties/row-rule-visibility-items/index.md | CSS - Properties - row-rule-visibility-items - Description:
The `row-rule-visibility-items` property defines whether, in multi-column and grid containers with more than one row, row rule segments are painted in the gaps between two adjacent areas if one or both of the areas are empty.
The `row-rule-visibility-items` ... | [
-1.4238803386688232,
-0.467599481344223,
-0.2976395785808563,
1.1380994319915771,
0.17284822463989258,
-1.310806393623352,
0.08115511387586594,
2.227637767791748,
0.06341961026191711,
0.02280334383249283,
-0.757651150226593,
0.22764337062835693,
-0.20181280374526978,
0.4179416596889496,
... |
css/reference/properties/row-rule-visibility-items/index.md | CSS - Properties - row-rule-visibility-items - Examples - Basic example:
In this example, we define a row rules to be drawn between two grid areas if at least one adjacent grid area contains grid items. | [
-0.5403598546981812,
0.09938076138496399,
-0.4207748472690582,
0.19130463898181915,
-0.5873498320579529,
-0.7214250564575195,
0.30837342143058777,
1.898388385772705,
0.46144652366638184,
0.1358051896095276,
-0.8509696125984192,
-0.13607043027877808,
-0.4941284656524658,
0.09509210288524628... |
css/reference/properties/row-rule-visibility-items/index.md | CSS - Properties - row-rule-visibility-items - Examples - Basic example - HTML:
We include a list of dynamic sports duos:
Example:
<ol>
<li>Simone Biles + Jonathan Owens</li>
<li>Serena Williams + Venus Williams</li>
<li>Aaron Judge + Giancarlo Stanton</li>
<li>LeBron James + Dwyane Wade</li>
<li>Xavi Hern... | [
-1.67291259765625,
-0.49553877115249634,
-0.5196751356124878,
0.5238844752311707,
0.056948646903038025,
-0.7810039520263672,
0.6109557151794434,
0.5990725159645081,
0.28737956285476685,
0.26719680428504944,
-0.01834557019174099,
0.4349301755428314,
0.05921319127082825,
-0.17503860592842102... |
css/reference/properties/row-rule-visibility-items/index.md | CSS - Properties - row-rule-visibility-items - Examples - Basic example - CSS:
We define the ordered list (`ol`) to be a grid container, creating 4 rows and 4 columns by setting both the `grid-template-rows` and `grid-template-columns` properties to `repeat(4, 1fr)`, and move the last item to the bottom-right grid are... | [
-0.8911499977111816,
0.7045179605484009,
-0.37395721673965454,
-0.0737815871834755,
0.3942587673664093,
-1.712762713432312,
-0.3858362138271332,
1.7189205884933472,
-0.4565671980381012,
0.5108723640441895,
0.09516903758049011,
0.047570012509822845,
-0.531435489654541,
0.7750709056854248,
... |
css/reference/properties/column-rule-visibility-items/index.md | CSS - Properties - column-rule-visibility-items:
The `column-rule-visibility-items` CSS property defines whether a column-rule segment is painted in gaps adjacent to empty areas.
Example:
column-rule-visibility-items: all;
Example:
column-rule-visibility-items: around;
Example:
column-rule-visibility-items: betw... | [
-1.183411717414856,
-0.13365556299686432,
-0.2641436457633972,
0.4453505575656891,
0.6745215654373169,
-1.7528342008590698,
-0.5570418238639832,
1.645865797996521,
-0.6092541217803955,
0.29071998596191406,
0.25661736726760864,
-0.23796112835407257,
-0.6331269145011902,
0.6643602252006531,
... |
css/reference/properties/column-rule-visibility-items/index.md | CSS - Properties - column-rule-visibility-items - Syntax:
Example:
/* Keywords */
column-rule-visibility-items: all;
column-rule-visibility-items: around;
column-rule-visibility-items: between;
column-rule-visibility-items: normal;
/* Global values */
column-rule-visibility-items: inherit;
column-rule-visibility-ite... | [
-1.0161348581314087,
0.43423548340797424,
-0.02476484328508377,
0.7758126854896545,
-0.24571220576763153,
-1.4792308807373047,
-0.43811723589897156,
1.8202089071273804,
0.687896728515625,
0.40083083510398865,
-0.7108500003814697,
0.43810492753982544,
-0.42716753482818604,
0.493367731571197... |
css/reference/properties/column-rule-visibility-items/index.md | CSS - Properties - column-rule-visibility-items - Syntax - Values:
This property is specified as one of the following keyword values:
- `all`: The column rule should be painted in all gap segments, regardless of whether adjacent areas contain an item.
- `around`: The column rule should be painted in a gap segment if ... | [
-1.5024232864379883,
-0.18793372809886932,
-0.3665337562561035,
0.18094603717327118,
0.11424484848976135,
-1.431313157081604,
-0.02454153075814247,
1.2507400512695312,
-0.32008033990859985,
0.12772086262702942,
-0.38495728373527527,
0.7037506699562073,
0.015409775078296661,
0.6477824449539... |
css/reference/properties/column-rule-visibility-items/index.md | CSS - Properties - column-rule-visibility-items - Description:
The `column-rule-visibility-items` property defines whether a column-rule segment is painted in column gaps adjacent to empty areas in multi-row and grid containers with more than one column.
The `column-rule-visibility-items` and `row-rule-visibility-ite... | [
-1.6842883825302124,
-0.25987499952316284,
-0.24541112780570984,
1.0289689302444458,
0.19710257649421692,
-1.294310212135315,
-0.0032913684844970703,
2.1668057441711426,
0.12860222160816193,
0.375608891248703,
-0.5656678080558777,
0.01624121516942978,
-0.022647008299827576,
0.4981855154037... |
css/reference/properties/column-rule-visibility-items/index.md | CSS - Properties - column-rule-visibility-items - Examples - Basic example:
In this example, we define a column rule to be drawn between two grid areas if at least one adjacent grid area contains a grid item. | [
-0.8978523015975952,
0.3281107246875763,
-0.5556343793869019,
-0.14308317005634308,
-0.3323012590408325,
-0.8318524360656738,
0.10400290787220001,
1.7841789722442627,
0.3287038505077362,
0.33373069763183594,
-0.40608662366867065,
0.06298473477363586,
-0.5980101823806763,
0.0642873421311378... |
css/reference/properties/column-rule-visibility-items/index.md | CSS - Properties - column-rule-visibility-items - Examples - Basic example - HTML:
We include a list of dynamic sports duos:
Example:
<ol>
<li>Simone Biles + Jonathan Owens</li>
<li>Serena Williams + Venus Williams</li>
<li>Aaron Judge + Giancarlo Stanton</li>
<li>LeBron James + Dwyane Wade</li>
<li>Xavi H... | [
-1.463969111442566,
-0.2603626847267151,
-1.0059428215026855,
0.3090672791004181,
-0.03611639514565468,
-0.9178953766822815,
1.016944408416748,
0.7450210452079773,
0.7237797379493713,
0.46909061074256897,
0.4575401842594147,
0.6249181628227234,
0.04593966156244278,
-0.6460378170013428,
-... |
css/reference/properties/column-rule-visibility-items/index.md | CSS - Properties - column-rule-visibility-items - Examples - Basic example - CSS:
We define the ordered list (`ol`) to be a grid container, creating 4 columns and 4 rows by setting both the `grid-template-columns` and `grid-template-rows` properties to `repeat(4, 1fr)`, and move the last item to the bottom-right grid ... | [
-1.294389247894287,
0.6982329487800598,
-0.48765167593955994,
-0.19359293580055237,
0.4866037964820862,
-1.7026138305664062,
-0.4223537743091583,
1.8723337650299072,
-0.6880204677581787,
0.7154863476753235,
0.038200266659259796,
-0.1693207025527954,
-0.7172350287437439,
0.8804447054862976,... |
css/reference/properties/animation-range/index.md | CSS - Properties - animation-range:
The `animation-range` CSS shorthand property is used to set the start and end of an animation's attachment range along its timeline, i.e., where along the timeline an animation will start and end. | [
-1.0480436086654663,
-0.6359276175498962,
-1.196945309638977,
0.4986136555671692,
-0.2625672519207001,
-1.8666775226593018,
0.050309427082538605,
1.3011287450790405,
-0.6162166595458984,
0.3570249676704407,
-0.22935965657234192,
0.049690745770931244,
-0.4495159685611725,
0.2411542236804962... |
css/reference/properties/animation-range/index.md | CSS - Properties - animation-range - Constituent properties:
This property is a shorthand for the following CSS properties:
- `animation-range-start`
- `animation-range-end` | [
-0.4365113079547882,
0.29960939288139343,
-1.0490278005599976,
0.3667185604572296,
-0.5471673011779785,
-2.0340747833251953,
0.6948224902153015,
2.1680238246917725,
-0.025742746889591217,
-0.14794017374515533,
-0.1827765852212906,
-0.3080885410308838,
-0.4106578230857849,
-0.48826521635055... |
css/reference/properties/animation-range/index.md | CSS - Properties - animation-range - Syntax:
Example:
/* Range start value only*/
/* Single value syntax */
animation-range: normal;
animation-range: 20%;
animation-range: 100px;
animation-range: cover;
animation-range: contain;
/* Two value syntax */
animation-range: cover 20%;
animation-range: contain 100px;
/* Ra... | [
-1.2141666412353516,
0.39996618032455444,
-0.4640585482120514,
-0.02208227477967739,
-0.45600542426109314,
-1.6504205465316772,
0.27284497022628784,
2.086292266845703,
-0.23772692680358887,
0.17459078133106232,
-0.3958095610141754,
0.4217933714389801,
-0.2796626687049866,
-0.06988120079040... |
css/reference/properties/animation-range/index.md | CSS - Properties - animation-range - Syntax - Values:
The `animation-range` shorthand property is specified as one or more single animation ranges, separated by commas. Each animation range is specified as one to four space separated values composed of `<timeline-range-name>` values, `<length-percentage>` values, and/... | [
-0.8402717709541321,
-0.2222522497177124,
-1.0519829988479614,
0.0049492232501506805,
0.6079772710800171,
-1.2509050369262695,
-0.2519317865371704,
1.5865916013717651,
-0.30010986328125,
0.05408576503396034,
0.3080551028251648,
0.14327050745487213,
-0.7498229146003723,
0.02356269210577011,... |
css/reference/properties/animation-range/index.md | CSS - Properties - animation-range - Description:
The `animation-range` shorthand property sets the `animation-range-start` and `animation-range-end` values, defining where along the animation timeline the animation will start and end. By default, the styles defined in a keyframe animation are only applied to an eleme... | [
-0.7678734660148621,
-0.6091117262840271,
-0.8628206253051758,
0.5221516489982605,
-0.01178019493818283,
-1.0823079347610474,
0.24538174271583557,
1.3902422189712524,
-0.16989025473594666,
-0.14207200706005096,
0.24953889846801758,
-0.09429916739463806,
-0.1052827313542366,
0.5716173052787... |
css/reference/properties/animation-range/index.md | CSS - Properties - animation-range - Description - Defining range start and defaulting range end:
When you define only the `<animation-range-start>`, either by setting a single `length-percentage`, a single `timeline-range-name`, or the keyword `normal`, or by specifying a single `<timeline-range-name>` followed by a ... | [
-1.2065433263778687,
-0.11878854036331177,
-0.7709786891937256,
-0.07782486081123352,
0.24450591206550598,
-1.3650591373443604,
-0.24092188477516174,
1.6872543096542358,
-0.06519915163516998,
-0.1416374295949936,
0.24110302329063416,
0.4010181725025177,
-0.5708571076393127,
0.0938292145729... |
css/reference/properties/animation-range/index.md | CSS - Properties - animation-range - Description - Explicitly defining both range start and range end with two values:
If two or more values are included in your `animation-range` declaration and the values are anything other than a single `<timeline-range-name>` followed by a `<length-percentage>`, both `<animation-r... | [
-0.8585795760154724,
-0.2178647667169571,
-0.86421138048172,
0.12726551294326782,
0.23304301500320435,
-1.0710804462432861,
-0.3404785692691803,
1.5315301418304443,
-0.26168784499168396,
-0.09819626808166504,
0.5283014178276062,
0.19574332237243652,
-0.48505109548568726,
0.0687234848737716... |
css/reference/properties/animation-range/index.md | CSS - Properties - animation-range - Description - Multiple animations:
When specifying ranges for multiple animations, the `animation-range` shorthand property is specified as one or more single animation ranges, separated by commas. Each animation-range is applied to the animations in the order in which the `animati... | [
-0.27660155296325684,
-0.8898982405662537,
-1.329788327217102,
0.6685217022895813,
-0.09630932658910751,
-1.4365355968475342,
0.6284328699111938,
1.674792766571045,
-0.8807297945022583,
-0.22455327212810516,
-0.7423404455184937,
0.046673521399497986,
-0.6751986145973206,
0.0027803741395473... |
css/reference/properties/animation-range/index.md | CSS - Properties - animation-range - Examples - Basic usage of the `animation-range` property:
In this example, we reduce the duration of the view progress scroll animation by using the `animation-range` property to offset the start and end of the animation, and demonstrate the effect of the `animation-fill-mode` prop... | [
-0.9489412307739258,
-0.544965922832489,
-0.6407433152198792,
0.31397902965545654,
-0.6844726204872131,
-1.5550522804260254,
0.7239354252815247,
1.7078487873077393,
-0.33725371956825256,
-0.19161434471607208,
-0.5022268295288086,
-0.0008937269449234009,
-0.8040434718132019,
-0.429397702217... |
css/reference/properties/animation-range/index.md | CSS - Properties - animation-range - Examples - Basic usage of the `animation-range` property - HTML:
In the middle of a wall of text, we include an element that we will animate. We include a lot of text to ensure that our content overflows its container, but this is hidden for the sake of brevity. We also include a c... | [
-1.1504093408584595,
0.19128896296024323,
0.23732000589370728,
-0.1579570770263672,
0.18024232983589172,
-1.6847659349441528,
-0.42137596011161804,
1.096480131149292,
-0.4305112361907959,
0.7833309173583984,
0.590374231338501,
0.13784198462963104,
-0.6326571702957153,
0.07701212167739868,
... |
css/reference/properties/animation-range/index.md | CSS - Properties - animation-range - Examples - Basic usage of the `animation-range` property - CSS:
We define an animation that animates an element's opacity, scale, and background color, causing it to fade in, scale up, and change color as the animation progresses. We apply this animation to the `animatedElement` wi... | [
-0.025222141295671463,
0.34848132729530334,
-0.565582275390625,
-0.13567960262298584,
0.3188207745552063,
-1.2416024208068848,
-0.7021320462226868,
1.8937934637069702,
-0.6321922540664673,
0.6775553822517395,
0.20765992999076843,
-0.15839403867721558,
-0.07132287323474884,
0.31379604339599... |
css/reference/properties/background-position/index.md | CSS - Properties - background-position:
The `background-position` CSS property sets the initial position for each background image.
Example:
background-position: top;
Example:
background-position: left;
Example:
background-position: center;
Example:
background-position: 25% 75%;
Example:
background-position:... | [
-1.085556149482727,
-0.7084386944770813,
-1.402646541595459,
-0.09626021236181259,
-0.1609352082014084,
-1.2323559522628784,
0.993802547454834,
1.6749948263168335,
0.04736810922622681,
0.3658325672149658,
-0.2661965489387512,
0.16128996014595032,
-0.30043116211891174,
0.46087199449539185,
... |
css/reference/properties/background-position/index.md | CSS - Properties - background-position - Syntax:
Example:
/* Keyword values */
background-position: top;
background-position: bottom;
background-position: left;
background-position: right;
background-position: center;
/* <percentage> values */
background-position: 25% 75%;
/* <length> values */
background-position:... | [
-0.9630876183509827,
0.21772165596485138,
-0.2992457151412964,
-0.3138521611690521,
-0.17931564152240753,
-0.6820018291473389,
-0.11854790896177292,
1.7286427021026611,
-0.037508245557546616,
-0.40906792879104614,
-0.49271446466445923,
-0.2927234172821045,
-0.1094231978058815,
0.3691610395... |
css/reference/properties/background-position/index.md | CSS - Properties - background-position - Syntax - Values:
This property is specified as one or more comma-separated `<position>` values:
- `<position>`: A `<position>`. A two-dimensional coordinate, made up of one to two offsets, and optionally one to two offset sides, used to set a location relative to the edg... | [
-0.8849719166755676,
-0.3782542645931244,
-1.4749943017959595,
0.10580262541770935,
0.19667696952819824,
-1.319607138633728,
0.6124147176742554,
1.764365792274475,
0.5236673951148987,
-0.3856573700904846,
-0.9879653453826904,
1.1959447860717773,
0.2584824562072754,
0.04098505526781082,
0... |
css/reference/properties/background-position/index.md | CSS - Properties - background-position - Description:
The `background-position` property sets the initial position for each background image. The position is relative to the position layer set by `background-origin`.
The value is specified as a list of comma-separated image positions, with each image position defined... | [
-0.9146844148635864,
0.004743428900837898,
-0.7121792435646057,
0.36750122904777527,
0.28956517577171326,
-0.47838085889816284,
0.23519042134284973,
2.134605646133423,
0.15536847710609436,
-0.23674601316452026,
-0.2746931314468384,
0.01098264753818512,
0.2453911006450653,
0.345784604549407... |
css/reference/properties/background-position/index.md | CSS - Properties - background-position - Description - Regarding Percentages:
The percentage offset of the given background image's position is relative to the container. A value of 0% means that the left (or top) edge of the background image is aligned with the corresponding left (or top) edge of the container, or th... | [
-1.3316494226455688,
-0.5843652486801147,
-0.24542853236198425,
-0.08863954246044159,
0.6953727006912231,
-0.8250037431716919,
0.1796700805425644,
1.5299394130706787,
0.28070443868637085,
-0.02278444543480873,
-0.25457486510276794,
0.002963811159133911,
-0.4727301597595215,
0.4687493443489... |
css/reference/properties/background-position/index.md | CSS - Properties - background-position - Examples - Positioning background images:
Each of these three examples uses the `background` property to create a yellow, rectangular element containing a star image. In each example, the star is in a different position. The third example illustrates how to specify positions fo... | [
-0.6591636538505554,
-0.07829634845256805,
-1.5016095638275146,
-0.10689558833837509,
-0.08337122946977615,
-0.13179224729537964,
0.8280901312828064,
1.7097972631454468,
0.5011211037635803,
-0.5256803631782532,
-0.5502262115478516,
0.11504898965358734,
0.38212743401527405,
-0.4138683080673... |
css/reference/properties/background-position/index.md | CSS - Properties - background-position - Examples - Positioning background images - HTML:
Example:
<div class="example-one">Example One</div>
<div class="example-two">Example Two</div>
<div class="example-three">Example Three</div> | [
-1.4270066022872925,
-0.3301335573196411,
-0.5654345154762268,
-0.3048829436302185,
-0.38025373220443726,
-0.39437758922576904,
1.3608907461166382,
2.1089749336242676,
0.09458918869495392,
-0.3187257945537567,
-0.508175253868103,
0.1808900237083435,
0.030259914696216583,
-0.833730697631835... |
css/reference/properties/background-position/index.md | CSS - Properties - background-position - Examples - Positioning background images - CSS:
Example:
/* Shared among all <div>s */
div {
background-color: #ffee99;
background-repeat: no-repeat;
width: 300px;
height: 80px;
margin-bottom: 12px;
}
/* These examples use the `background` shorthand property */
.exa... | [
-0.8323202133178711,
0.02007400244474411,
-0.8142197132110596,
-0.5370669364929199,
0.5225988030433655,
-0.8212732672691345,
-0.10097672790288925,
1.279205560684204,
-0.8810440897941589,
0.28736457228660583,
0.09110082685947418,
0.14502978324890137,
-0.3650067448616028,
0.4541556239128113,... |
css/reference/properties/font-synthesis/index.md | CSS - Properties - font-synthesis:
The `font-synthesis` shorthand CSS property lets you specify whether or not the browser may synthesize the bold, italic, small-caps, and/or subscript and superscript typefaces when they are missing in the specified font-family.
Example:
font-synthesis: weight style small-caps;
Exa... | [
-0.30961793661117554,
0.49589401483535767,
-1.4342398643493652,
0.33070358633995056,
0.41777288913726807,
-1.5619271993637085,
0.021073967218399048,
2.448315382003784,
0.6922302842140198,
0.042816177010536194,
0.8790513873100281,
-0.12498854100704193,
-0.12531247735023499,
0.01965454965829... |
css/reference/properties/font-synthesis/index.md | CSS - Properties - font-synthesis - Constituent properties:
This property is a shorthand for the following CSS properties:
- font-synthesis-weight
- font-synthesis-style
- font-synthesis-small-caps
- font-synthesis-position | [
-0.6942382454872131,
0.6341367959976196,
-0.9468486905097961,
0.3923228681087494,
-0.28991878032684326,
-1.70928955078125,
0.3244607448577881,
2.6956586837768555,
1.2451081275939941,
-0.009912172332406044,
-0.21912837028503418,
0.07466721534729004,
-0.13477927446365356,
-0.327566534280777,... |
css/reference/properties/font-synthesis/index.md | CSS - Properties - font-synthesis - Syntax:
Example:
/* none or one or more of the other keyword values */
font-synthesis: none;
font-synthesis: weight;
font-synthesis: style;
font-synthesis: position;
font-synthesis: small-caps style; /* property values can be in any order */
font-synthesis: style small-caps weight ... | [
-0.6626359224319458,
0.4717848598957062,
-0.2797824442386627,
0.21379044651985168,
-0.4677615463733673,
-0.7478249669075012,
-0.00037249550223350525,
2.7216405868530273,
1.0436128377914429,
0.06404543668031693,
0.04831869155168533,
-0.1309952437877655,
-0.12802667915821075,
-0.618798375129... |
css/reference/properties/font-synthesis/index.md | CSS - Properties - font-synthesis - Syntax - Values:
This property is specified as one of the following keyword values:
- `none`: Indicates that no bold, italic, or small-caps typeface may be synthesized by the browser.
- `weight`: Indicates that the missing bold typeface may be synthesized by the browser if needed.
... | [
-0.5015166997909546,
0.476743221282959,
-0.1617198884487152,
0.10963045060634613,
0.041019558906555176,
-0.2555941045284271,
1.1300711631774902,
2.7049343585968018,
0.7902973294258118,
-0.02110396698117256,
0.28172019124031067,
0.05364990234375,
-0.2605744004249573,
-0.5465824604034424,
... |
css/reference/properties/font-synthesis/index.md | CSS - Properties - font-synthesis - Description:
Most standard Western fonts include italic and bold variants, and some fonts include a small-caps and subscript/superscript variants. However, many fonts do not. Fonts used for Chinese, Japanese, Korean and other logographic scripts tend not to include these variants an... | [
-0.5676363110542297,
0.48901456594467163,
-0.8149365782737732,
-0.063752681016922,
0.518383264541626,
-0.713379442691803,
0.2621859312057495,
1.7978787422180176,
0.7417522668838501,
0.050574906170368195,
0.24847710132598877,
0.42990806698799133,
0.21800413727760315,
-0.41670548915863037,
... |
css/reference/properties/font-synthesis/index.md | CSS - Properties - font-synthesis - Examples - Disabling font synthesis:
This example shows the browser's default font-synthesis behavior and compares it with when the synthesis behavior is turned off. Notice that the example uses two imported fonts to demonstrate this behavior. You might not be able to replicate turn... | [
-0.5062075257301331,
0.41766592860221863,
-0.6540077328681946,
0.6222320795059204,
-0.8744857907295227,
-0.8638840913772583,
0.7021645307540894,
2.825657844543457,
0.886083722114563,
0.23459045588970184,
-0.4005248248577118,
-0.4388871192932129,
-0.14633038640022278,
-0.34408581256866455,
... |
css/reference/properties/font-synthesis/index.md | CSS - Properties - font-synthesis - Examples - Disabling font synthesis - HTML:
Example:
<pre> DEFAULT </pre>
<p class="english">
This font supports <strong>bold</strong> and <em>italic</em>.
</p>
<p class="chinese">这个字体支持<strong>加粗</strong>和<em>斜体</em></p>
<br />
<pre> SYNTHESIS IS DISABLED </pre>
<p class="engli... | [
-1.1333914995193481,
0.38076627254486084,
-0.3243042528629303,
-0.03468507155776024,
0.42891740798950195,
-0.4967056214809418,
0.1381591111421585,
2.1477997303009033,
0.2680107057094574,
-0.6649055480957031,
0.16945670545101166,
0.31218069791793823,
0.20152601599693298,
-0.0316636115312576... |
css/reference/properties/font-synthesis/index.md | CSS - Properties - font-synthesis - Examples - Disabling font synthesis - CSS:
Example:
@import "https://fonts.googleapis.com/css2?family=Montserrat&display=swap";
@import "https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&display=swap";
.english {
font-family: "Montserrat", sans-serif;
}
.chinese {
font-fa... | [
-1.4981008768081665,
0.25632497668266296,
-1.1561719179153442,
-0.4844076931476593,
-0.11516408622264862,
-1.1497433185577393,
0.46635064482688904,
2.205620527267456,
0.062235549092292786,
-0.22000578045845032,
-0.07844085991382599,
-0.25623953342437744,
0.19668836891651154,
-0.63936042785... |
css/reference/properties/box-align/index.md | CSS - Properties - box-align:
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, and has been replaced by a newer standard.
The `box-align` CSS property specifies how an element aligns it... | [
-0.5149996876716614,
-0.3263942301273346,
-1.4477581977844238,
-0.11920008808374405,
0.9310780763626099,
-1.212864875793457,
0.23405644297599792,
1.217370629310608,
0.32911932468414307,
-0.12864404916763306,
0.11028660833835602,
0.016504131257534027,
-0.6137521862983704,
0.5000811815261841... |
css/reference/properties/box-align/index.md | CSS - Properties - box-align - Syntax:
Example:
/* Keyword values */
box-align: start;
box-align: center;
box-align: end;
box-align: baseline;
box-align: stretch;
/* Global values */
box-lines: inherit;
box-lines: initial;
box-lines: unset; | [
-0.7106704711914062,
0.17946858704090118,
-0.9133031964302063,
-0.3642193377017975,
-0.229479119181633,
-0.6230043172836304,
1.1318203210830688,
2.016228199005127,
0.5447494983673096,
-0.3133656978607178,
-0.4948537349700928,
0.3394021987915039,
-0.6115704774856567,
0.1820189654827118,
0... |
css/reference/properties/box-align/index.md | CSS - Properties - box-align - Syntax - Values:
This property is specified as one of the following keyword values:
- `start`: The box aligns contents at the start, leaving any extra space at the end.
- `center`: The box aligns contents in the center, dividing any extra space equally between the start and the end.
- `... | [
-0.08362764865159988,
-0.840930700302124,
-1.0667301416397095,
-0.0838126540184021,
-0.06301882117986679,
-0.19491203129291534,
1.5103603601455688,
1.621034026145935,
0.8629792332649231,
-0.7116773128509521,
-0.5199872255325317,
0.35938429832458496,
-1.516133427619934,
0.6078557372093201,
... |
css/reference/properties/box-align/index.md | CSS - Properties - box-align - Notes:
The edge of the box designated the start for alignment purposes depends on the box's orientation:
- For horizontal elements, the start is the top edge.
- For vertical elements, the start is the left edge.
The edge opposite to the start is designated the end.
If the alignment is... | [
-0.9012969732284546,
-0.15151067078113556,
-1.209283471107483,
-0.273855984210968,
-0.03343256935477257,
-0.7963699698448181,
1.0523101091384888,
2.006617546081543,
0.6178677082061768,
-0.16199225187301636,
-0.4837610721588135,
-0.4807462692260742,
-1.0399023294448853,
0.8613669872283936,
... |
css/reference/properties/box-align/index.md | CSS - Properties - box-align - Examples - Setting box alignment:
Example:
<div class="example">
<p>I will be second from the bottom of div.example, centered horizontally.</p>
<p>I will be on the bottom of div.example, centered horizontally.</p>
</div>
Example:
div.example {
display: box; /* As specified */
... | [
-1.07268488407135,
-0.1484101265668869,
-0.7140154242515564,
0.03865630924701691,
0.4311395287513733,
-0.4216999411582947,
0.75050288438797,
1.194484829902649,
0.30727148056030273,
0.40814030170440674,
0.38023874163627625,
0.30732131004333496,
-0.8603180050849915,
0.8131618499755859,
-0.... |
css/reference/properties/stop-opacity/index.md | CSS - Properties - stop-opacity:
The `stop-opacity` CSS property defines the opacity of a given color gradient stop in the SVG `stop` element within an SVG gradient. If present, it overrides the element's `stop-opacity` attribute.
The property value impacts the `stop-color`'s alpha channel; it can increase the transp... | [
-0.4204580783843994,
-0.7865061163902283,
-0.45904409885406494,
0.008586276322603226,
0.004618167877197266,
-2.0606613159179688,
0.5073102116584778,
1.8369165658950806,
0.7538281083106995,
0.1378624439239502,
-0.346113920211792,
-0.29868659377098083,
0.4029048979282379,
-0.4141305983066559... |
css/reference/properties/stop-opacity/index.md | CSS - Properties - stop-opacity - Syntax:
Example:
/* numeric and percentage values */
stop-opacity: 0.2;
stop-opacity: 20%;
/* Global values */
stop-opacity: inherit;
stop-opacity: initial;
stop-opacity: revert;
stop-opacity: revert-layer;
stop-opacity: unset; | [
-0.7483048439025879,
0.6506150364875793,
0.040525950491428375,
-0.35531073808670044,
-0.8596575260162354,
-1.4436655044555664,
0.43551105260849,
2.075047254562378,
0.8527470827102661,
0.45411229133605957,
-1.1473816633224487,
0.05672091990709305,
0.18109966814517975,
-0.37114566564559937,
... |
css/reference/properties/stop-opacity/index.md | CSS - Properties - stop-opacity - Syntax - Values:
The `<opacity-value>` is a `number` or `percentage` denoting the opacity of the SVG gradient `<stop>` element.
- `number`: A numeric value between `0` and `1`, inclusive.
- `percentage`: A percentage value between `0%` and `100%`, inclusive.
With `0` or `0%` set, th... | [
-1.0191409587860107,
-0.8149433732032776,
-0.3169766962528229,
-0.9965333938598633,
0.33969664573669434,
-1.7267318964004517,
1.0836107730865479,
2.0616605281829834,
1.1526867151260376,
0.4957577884197235,
-0.6018432974815369,
0.029270581901073456,
0.6037483811378479,
-0.26455724239349365,... |
css/reference/properties/stop-opacity/index.md | CSS - Properties - stop-opacity - Examples - Defining the opacity of an SVG gradient color stop:
This example demonstrates the basic use case of `stop-opacity`, and how the CSS `stop-opacity` property takes precedence over the `stop-opacity` attribute. | [
-0.5019161701202393,
-0.07387657463550568,
-0.28910523653030396,
-0.09906697273254395,
-0.282020628452301,
-1.6516492366790771,
0.6293172240257263,
1.6004140377044678,
0.8456891775131226,
0.10700780153274536,
-0.1285526007413864,
-0.6133012771606445,
0.3784889578819275,
-0.4422536790370941... |
css/reference/properties/stop-opacity/index.md | CSS - Properties - stop-opacity - Examples - Defining the opacity of an SVG gradient color stop - HTML:
We have an SVG with a few `polygon` stars and three `linearGradient` elements: each has three `stop` elements defining three color-stops that create a gradient going from blue to white to pink; the only difference b... | [
-1.1293588876724243,
-0.13807199895381927,
-0.32280558347702026,
-0.6762697100639343,
0.09942437708377838,
-0.8956220746040344,
-0.09683079272508621,
1.3615236282348633,
0.5030918717384338,
-0.1719917356967926,
-0.0429522730410099,
0.2979152500629425,
0.13390259444713593,
0.083624854683876... |
css/reference/properties/stop-opacity/index.md | CSS - Properties - stop-opacity - Examples - Defining the opacity of an SVG gradient color stop - CSS:
We include a `stroke` and `stroke-width` making the polygon path line visible.
Each `polygon` has a gradient background set using the `fill` property; the gradient's `id` is the `url()` parameter. We set `magenta` a... | [
-0.908135712146759,
-0.3097793757915497,
-0.4829115867614746,
-0.4907045364379883,
0.45344626903533936,
-1.0693182945251465,
-0.09355314821004868,
1.2612861394882202,
0.4375420808792114,
0.005875532515347004,
-0.01592112146317959,
0.6161654591560364,
0.4881478548049927,
0.27603545784950256... |
css/reference/properties/justify-content/index.md | CSS - Properties - justify-content:
The CSS `justify-content` property defines how the browser distributes space between and around content items along the `main axis` of a flex container and the inline axis of grid and multicol containers.
The interactive example below demonstrates some `justify-content` values usin... | [
-0.8385244011878967,
-0.02347680926322937,
-1.1346688270568848,
-0.0027950480580329895,
0.08993521332740784,
-2.516935348510742,
-1.1359202861785889,
1.927761435508728,
-0.5716150999069214,
0.23464888334274292,
0.6770396828651428,
-0.06492301821708679,
-1.0595968961715698,
0.43860635161399... |
css/reference/properties/justify-content/index.md | CSS - Properties - justify-content - Syntax:
Example:
/* Positional alignment */
justify-content: center;
justify-content: start;
justify-content: end;
justify-content: flex-start;
justify-content: flex-end;
justify-content: left;
justify-content: right;
/* Normal alignment */
justify-content: normal;
/* Distribute... | [
0.09148471802473068,
-0.26131588220596313,
-0.627099871635437,
-0.32535606622695923,
-0.9526685476303101,
-1.4717302322387695,
0.412322998046875,
1.235891580581665,
0.20773515105247498,
0.395708292722702,
-0.04769577085971832,
-0.10153140127658844,
-1.2646816968917847,
0.37577810883522034,... |
css/reference/properties/justify-content/index.md | CSS - Properties - justify-content - Syntax - Values:
This property is specified as one of the following keyword values:
- `start`: The items are packed flush to each other toward the start edge of the alignment container in the main axis.
- `end`: The items are packed flush to each other toward the end edge of the a... | [
-0.40663307905197144,
-0.3870207667350769,
-0.22232107818126678,
0.8612655997276306,
0.7147786617279053,
-0.09036286175251007,
-0.45211753249168396,
2.265235662460327,
0.24311554431915283,
-0.05485256016254425,
0.00845729187130928,
0.37613508105278015,
-0.7028065323829651,
0.24346062541007... |
css/reference/properties/justify-content/index.md | CSS - Properties - justify-content - Description:
Defined in the CSS box alignment module, `justify-content` applies to multicol containers, flex containers, and grid containers. The property does not apply to and has no effect on block containers.
This property shares many keyword values with the `align-content` pro... | [
-1.3431118726730347,
-0.7662504315376282,
-0.9625096917152405,
0.12565219402313232,
-0.21291771531105042,
-1.7313690185546875,
-0.4119405448436737,
0.8389659523963928,
0.0025720149278640747,
-0.14819422364234924,
-0.2946678698062897,
0.1517670452594757,
-1.0275229215621948,
0.6547879576683... |
css/reference/properties/justify-content/index.md | CSS - Properties - justify-content - Examples - Basic grid example:
In this example, we have a grid that is narrower than its grid container, and we use `justify-content` to distribute the available space evenly around and between the grid columns. | [
-1.1524780988693237,
-0.1318533718585968,
-0.2572910189628601,
-0.4846201539039612,
-0.7677306532859802,
-1.6308890581130981,
0.38554370403289795,
1.0442700386047363,
0.11332368850708008,
0.7316263914108276,
-0.38175106048583984,
-0.19836443662643433,
-1.62844979763031,
0.3864356577396393,... |
css/reference/properties/justify-content/index.md | CSS - Properties - justify-content - Examples - Basic grid example - HTML:
The `section` container, our grid container to-be, has 16 nested `div`s that will become grid items.
Example:
<section class="container">
<div>A</div>
<div>B</div>
<div>C</div>
<div>D</div>
<div>E</div>
<div>F</div>
<div>G</div>... | [
-2.000007390975952,
-0.03939171880483627,
-0.06897924840450287,
-0.5801114439964294,
-0.16872051358222961,
-1.4756584167480469,
0.304715633392334,
1.1497466564178467,
-0.45292195677757263,
0.4548715651035309,
0.09206704050302505,
-0.15637077391147614,
-1.721720814704895,
0.306757390499115,... |
css/reference/properties/justify-content/index.md | CSS - Properties - justify-content - Examples - Basic grid example - CSS:
Example:
.container {
margin: 5px;
border: 1px solid;
box-sizing: border-box;
}
div {
line-height: 2em;
border: 1px solid;
box-sizing: border-box;
text-align: center;
}
We set the container width to `500px` and specify three col... | [
-0.6324423551559448,
0.4266088306903839,
-0.5661085844039917,
-0.536801815032959,
0.23814234137535095,
-1.0409064292907715,
-0.3379177749156952,
1.6690263748168945,
-0.46374621987342834,
0.6171024441719055,
0.5031232833862305,
0.22856083512306213,
-0.4325804114341736,
0.42443060874938965,
... |
css/reference/properties/justify-content/index.md | CSS - Properties - justify-content - Examples - The safe keyterm:
This example demonstrates the `safe` keyterm. We specify four centered flex items that are not allowed to wrap, and as a result, overflow their single flex-line container. By adding `safe` to `center` in the `justify-content` property, overflowing conte... | [
-0.2221282571554184,
0.054339826107025146,
-0.46075984835624695,
-0.048411086201667786,
0.45859694480895996,
-0.5658437013626099,
-0.3022562563419342,
1.5319132804870605,
-0.5036357641220093,
0.3713758885860443,
0.2744416296482086,
0.26857075095176697,
-1.0352166891098022,
0.19031836092472... |
css/reference/properties/justify-content/index.md | CSS - Properties - justify-content - Examples - Visualizing flex item distribution:
This example includes a multi-line wrapping flex layout. The second flex item has a positive flex growth factor, consuming all the available free space in the first flex line. | [
-1.291619062423706,
-0.4533454477787018,
-0.7042486667633057,
0.22578775882720947,
-1.2324302196502686,
-0.04484110698103905,
-0.44914937019348145,
1.7117269039154053,
0.6508731842041016,
-0.010913576930761337,
-0.4293840825557709,
-0.3415086567401886,
-0.9846463799476624,
-0.0767854899168... |
css/reference/properties/justify-content/index.md | CSS - Properties - justify-content - Examples - Visualizing flex item distribution - CSS:
Example:
#container {
margin: 5px auto;
border: 1px dashed black;
box-sizing: border-box;
}
div {
line-height: 2em;
border: 1px solid;
box-sizing: border-box;
text-align: center;
}
Example:
#container {
displa... | [
-0.9227541089057922,
-0.3452892601490021,
-0.5752993226051331,
-0.2989065647125244,
-0.008558273315429688,
-0.7676426768302917,
-0.4322768449783325,
1.5865554809570312,
-0.26970943808555603,
0.4609285891056061,
0.39245250821113586,
0.34800615906715393,
-0.6163212060928345,
0.58242326974868... |
css/reference/properties/path-length/index.md | CSS - Properties - path-length:
The `path-length` CSS property specifies a total path length, in user units. All path computations are then scaled using the ratio `path-length` / (computed value of path length) — this includes text paths, animation paths, and various stroke operations.
The `path-length` property only... | [
0.009486338123679161,
-0.6421069502830505,
-1.3528978824615479,
0.682384729385376,
0.18327736854553223,
-1.4261500835418701,
0.33131545782089233,
1.2524685859680176,
0.11867742240428925,
-0.2062695026397705,
0.9648115634918213,
0.6065289378166199,
0.6938976645469666,
-0.6296632885932922,
... |
css/reference/properties/path-length/index.md | CSS - Properties - path-length - Syntax:
Example:
/* Keywords */
path-length: none;
/* <length> values */
path-length: 0;
path-length: 70;
path-length: 500;
/* Global values */
path-length: inherit;
path-length: initial;
path-length: revert;
path-length: revert-layer;
path-length: unset; | [
-0.9719653129577637,
0.05149940401315689,
-0.2774645686149597,
0.5894984006881714,
-0.7076173424720764,
-1.1514111757278442,
0.4888063669204712,
1.6554560661315918,
0.22035059332847595,
0.24700847268104553,
-0.5762722492218018,
0.5589408278465271,
0.321155309677124,
-0.308152437210083,
0... |
css/reference/properties/path-length/index.md | CSS - Properties - path-length - Syntax - Values:
- `none`: No author path length is specified and the user agent's own computed path length is used for all path-related calculations.
- `<length>`: A non-negative unitless value representing an author-defined total path length, in user units. | [
-0.8500221371650696,
-0.6113574504852295,
-1.247916340827942,
0.6271129250526428,
-0.5436462163925171,
-1.3287889957427979,
1.346521019935608,
0.7415004372596741,
-0.12302757799625397,
-0.03597395122051239,
-0.2080647349357605,
-0.081029511988163,
0.16243785619735718,
-0.876211941242218,
... |
css/reference/properties/path-length/index.md | CSS - Properties - path-length - Examples - Basic usage:
This example defines a path and shows how to apply a path length to it using the `path-length` CSS property. | [
-0.628567099571228,
-0.06308441609144211,
-1.254642128944397,
0.9795901775360107,
-0.8646650314331055,
-0.6918451189994812,
1.31687593460083,
1.081271767616272,
0.016253747045993805,
-0.09074725210666656,
-0.4494715631008148,
0.2765892744064331,
0.10352528095245361,
-0.6207881569862366,
... |
css/reference/properties/path-length/index.md | CSS - Properties - path-length - Examples - Basic usage - SVG:
Our SVG defines a single curved `path` element with a colored `stroke`. It includes a `stroke-dasharray` attribute that defines a regular dashed pattern for the stroke.
Example:
<svg viewBox="0 0 600 200">
<path
d="M 30 100 C 150 20, 250 180, 380 1... | [
-1.3256477117538452,
-0.6165989637374878,
-0.2926306426525116,
0.021824385970830917,
0.6368939280509949,
-1.18744695186615,
0.37549805641174316,
0.865305483341217,
-0.034246429800987244,
0.15444305539131165,
0.48898226022720337,
0.07476487755775452,
0.5481867790222168,
-0.18577997386455536... |
css/reference/properties/path-length/index.md | CSS - Properties - path-length - Examples - Basic usage - CSS:
We set a `path-length` value on the `<path>`:
Example:
path {
path-length: 500;
} | [
-0.9244047999382019,
-0.13394977152347565,
-1.3855618238449097,
0.4475680887699127,
-0.6890394687652588,
-0.9173309803009033,
1.2747708559036255,
1.0307670831680298,
-0.17001432180404663,
0.19993147253990173,
-0.18821574747562408,
0.13545681536197662,
0.3039853870868683,
-0.616012871265411... |
css/reference/properties/path-length/index.md | CSS - Properties - path-length - Examples - Animating `path-length`:
One major advantage of making `path-length` available as a CSS property is that you can apply standard CSS functionality such as animations and transitions to it. This example builds on the previous one, showing how to animate a `path-length` with a ... | [
-0.7575260400772095,
-0.3564930558204651,
-0.7290973663330078,
1.0671995878219604,
-0.624674379825592,
-1.2541749477386475,
1.077377438545227,
0.7793577313423157,
-0.19379228353500366,
0.5569639205932617,
-0.29089513421058655,
-0.247346892952919,
-0.2750614881515503,
-0.4600691497325897,
... |
css/reference/properties/path-length/index.md | CSS - Properties - path-length - Examples - Animating `path-length` - HTML and SVG:
This example includes the same SVG `<path>` as the previous one. In addition, it includes an `<input type="range">` element that can be used to change the value of `path-length` applied to the `<path>` at runtime. We also include an `o... | [
-1.8330224752426147,
0.05764046311378479,
-0.8981024026870728,
0.7437830567359924,
0.12311428785324097,
-0.9766949415206909,
0.2664787173271179,
0.8953577280044556,
-0.4427690804004669,
0.08808243274688721,
0.3810202479362488,
0.5340555310249329,
-0.12523728609085083,
-0.039186879992485046... |
css/reference/properties/path-length/index.md | CSS - Properties - path-length - Examples - Animating `path-length` - CSS:
On the `:root` element, we define a CSS custom property called `--path-length` and give it an initial value of `200`. We then set the `<path>` element's `path-length` value to the `--path-length` property, and set an `animation` on it that runs... | [
-0.19732753932476044,
0.03451097756624222,
-1.3971314430236816,
0.5461273789405823,
0.3833311200141907,
-1.1065648794174194,
0.11501821875572205,
1.3348867893218994,
-0.8959764242172241,
0.2818887233734131,
0.4703916907310486,
-0.14226004481315613,
0.025052811950445175,
0.36550021171569824... |
css/reference/properties/path-length/index.md | CSS - Properties - path-length - Examples - Animating `path-length` - JavaScript:
We start our script by grabbing references to the `<input type="range">`, `<output>`, and `:root` elements.
Example:
const slider = document.querySelector("input");
const output = document.querySelector("output");
const rootElem = docu... | [
-1.1020663976669312,
-0.38383951783180237,
-1.176140308380127,
0.5908326506614685,
-0.09596431255340576,
-0.3979575037956238,
0.5631824135780334,
0.5638638138771057,
-0.5108704566955566,
0.30862653255462646,
-0.3952103555202484,
0.7584171295166016,
-0.8235254883766174,
-0.3380884528160095,... |
css/reference/properties/text-emphasis-color/index.md | CSS - Properties - text-emphasis-color:
The `text-emphasis-color` CSS property sets the color of emphasis marks. This value can also be set using the `text-emphasis` shorthand.
Example:
text-emphasis-color: currentColor;
Example:
text-emphasis-color: red;
Example:
text-emphasis-color: rgb(90 200 160 / 0.8);
Exa... | [
-0.5850113034248352,
-0.6089086532592773,
-0.2677551805973053,
-0.1984388381242752,
-0.003859125077724457,
-2.3726890087127686,
0.6315802931785583,
1.482069492340088,
0.3090652823448181,
-0.022565968334674835,
-0.24295490980148315,
0.3053460717201233,
0.0713200494647026,
-0.043787986040115... |
css/reference/properties/text-emphasis-color/index.md | CSS - Properties - text-emphasis-color - Syntax:
Example:
/* Initial value */
text-emphasis-color: currentColor;
/* <color> */
text-emphasis-color: #555555;
text-emphasis-color: blue;
text-emphasis-color: rgb(90 200 160 / 80%);
text-emphasis-color: transparent;
/* Global values */
text-emphasis-color: inherit;
text... | [
-0.6906020641326904,
0.2693878412246704,
0.29193729162216187,
-0.03372856602072716,
-0.5628626942634583,
-1.658803939819336,
0.2163844257593155,
2.032869577407837,
0.4649878740310669,
0.11301601678133011,
-0.6167828440666199,
0.18900081515312195,
0.02261129394173622,
-0.2328864336013794,
... |
css/reference/properties/text-emphasis-color/index.md | CSS - Properties - text-emphasis-color - Syntax - Values:
This property is specified as one `<color>` value:
- `<color>`: Defines the color of the emphasis marks. If no color is present, it defaults to `currentColor`. | [
-0.7527580261230469,
-0.4871717691421509,
-0.4726901054382324,
-0.4397326707839966,
-0.47908347845077515,
-1.4761147499084473,
0.8355696797370911,
2.3275301456451416,
0.6891116499900818,
-0.3238900899887085,
-0.012497207149863243,
0.2065325677394867,
0.2797280251979828,
0.04262672364711761... |
css/reference/properties/text-emphasis-color/index.md | CSS - Properties - text-emphasis-color - Examples - Emphasis with a color and custom character - CSS:
Example:
em {
text-emphasis-color: green;
text-emphasis-style: "*";
} | [
-0.46318843960762024,
-0.13223597407341003,
-0.09184011816978455,
-0.4861992597579956,
-0.568904459476471,
-1.9245966672897339,
0.8114215731620789,
1.7652353048324585,
-0.1617119312286377,
0.12538954615592957,
0.3220020532608032,
0.5358662009239197,
0.5023046731948853,
-0.6946936845779419,... |
css/reference/properties/text-emphasis-color/index.md | CSS - Properties - text-emphasis-color - Examples - Emphasis with a color and custom character - HTML:
Example:
<p>Here's an example:</p>
<em>This has emphasis marks!</em> | [
0.043147530406713486,
-0.10612802952528,
-0.15087217092514038,
-0.03379468992352486,
-0.5981777310371399,
-1.8470947742462158,
1.4212676286697388,
1.177069067955017,
-0.1031443327665329,
-0.10885388404130936,
0.009251650422811508,
0.40079864859580994,
-0.06914284825325012,
-0.5876973867416... |
css/reference/properties/view-transition-scope/index.md | CSS - Properties - view-transition-scope:
The `view-transition-scope` CSS property enables the discoverability of elements with `view-transition-name` values set on them (and therefore the creation of view transition snapshots) to be isolated to a specific element subtree. | [
-1.2976481914520264,
-0.8302488327026367,
-1.1628401279449463,
0.6666921377182007,
-0.2311789095401764,
-1.4348866939544678,
0.4958975315093994,
1.407776117324829,
0.22473660111427307,
0.5212620496749878,
-0.050644516944885254,
-0.5932748913764954,
-0.04589008912444115,
0.7918165326118469,... |
css/reference/properties/view-transition-scope/index.md | CSS - Properties - view-transition-scope - Syntax:
Example:
/* Keyword values */
view-transition-scope: none;
view-transition-scope: all;
/* Global values */
view-transition-scope: inherit;
view-transition-scope: initial;
view-transition-scope: revert;
view-transition-scope: revert-layer;
view-transition-scope: unse... | [
-0.7660107612609863,
0.12173594534397125,
-0.23631511628627777,
0.2836028039455414,
-0.39501631259918213,
-0.8297320604324341,
0.1867981255054474,
1.6529680490493774,
0.48482799530029297,
0.331115186214447,
-0.015015441924333572,
-0.23331303894519806,
0.262591689825058,
0.4392813742160797,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.