file stringlengths 16 94 | text stringlengths 32 24.4k | vector list |
|---|---|---|
css/reference/properties/align-content/index.md | CSS - Properties - align-content - Syntax - Values:
This property is specified as one or two of the following keyword values:
- `normal`: The items are packed in their default position as if no `align-content` value was set.
- `start`: The items are packed flush to each other against the start edge of the alignment c... | [
-0.21753470599651337,
-0.15414686501026154,
-0.7638723850250244,
0.5635077357292175,
0.8480509519577026,
-0.3947817087173462,
-0.5067299604415894,
1.7435001134872437,
-0.2976917028427124,
0.15651145577430725,
-0.18275311589241028,
0.46754467487335205,
-0.7216716408729553,
0.451858937740325... |
css/reference/properties/align-content/index.md | CSS - Properties - align-content - Examples - Effects of different align-content values:
In this example, you can switch between three different `display` property values, including `flex`, `grid`, and `block`. You can also switch between the different values for `align-content`. | [
-0.5124813914299011,
-0.37787380814552307,
-1.1589975357055664,
-0.22082801163196564,
-0.8926379084587097,
-0.6456311345100403,
0.5616676807403564,
1.1709675788879395,
0.19809430837631226,
-1.0585768222808838,
0.33929207921028137,
0.5116593837738037,
-1.1648119688034058,
-0.229810357093811... |
css/reference/properties/align-content/index.md | CSS - Properties - align-content - Examples - Effects of different align-content values - HTML:
Example:
<section>
<div class="olive">Olive</div>
<div class="coral">Coral</div>
<div class="deepskyblue">Deep<br />sky<br />blue</div>
<div class="orchid">Orchid</div>
<div class="slateblue">Slateblue</div>
<d... | [
-1.4763141870498657,
-0.018618391826748848,
-0.38496989011764526,
-0.2789230942726135,
0.016951285302639008,
-1.1209194660186768,
0.5049639940261841,
0.6241258382797241,
-0.6795867681503296,
0.38668352365493774,
-0.13680818676948547,
-0.4130086302757263,
-0.25655364990234375,
0.99511051177... |
css/reference/properties/align-content/index.md | CSS - Properties - align-content - Examples - Effects of different align-content values - CSS:
Example:
body {
font-size: 1.25rem;
display: flex;
gap: 1rem;
}
section div {
font-family: monospace;
padding: 3px;
}
Example:
section {
border: solid 1.5px tomato;
height: 300px;
width: 300px;
flex-wrap... | [
-0.40029972791671753,
0.36841312050819397,
-0.825065553188324,
-0.21296928822994232,
0.4425075054168701,
-1.4134703874588013,
-0.3197043538093567,
1.6426857709884644,
-1.1128191947937012,
0.27937281131744385,
0.3741241991519928,
-0.43830201029777527,
-1.110325574874878,
0.6444732546806335,... |
css/reference/properties/text-overflow/index.md | CSS - Properties - text-overflow:
The `text-overflow` CSS property sets how hidden overflow content is signaled to users.
Example:
text-overflow: clip;
Example:
text-overflow: ellipsis;
Example:
text-overflow: "-";
Example:
text-overflow: "";
Example:
<section id="default-example">
<div id="example-element... | [
-1.226227879524231,
-0.5858064293861389,
-0.5181700587272644,
-0.4267207980155945,
0.7181258797645569,
-2.052333116531372,
0.5595073103904724,
1.4456946849822998,
-0.24212856590747833,
0.30987194180488586,
0.20103822648525238,
-0.004940386861562729,
-0.6571358442306519,
-0.4081833660602569... |
css/reference/properties/text-overflow/index.md | CSS - Properties - text-overflow - Syntax:
Example:
text-overflow: clip;
text-overflow: ellipsis ellipsis;
text-overflow: ellipsis " [..]";
/* Global values */
text-overflow: inherit;
text-overflow: initial;
text-overflow: revert;
text-overflow: revert-layer;
text-overflow: unset; | [
-1.270218014717102,
0.359097421169281,
-0.01358265895396471,
0.17090418934822083,
-0.3424866497516632,
-1.7417696714401245,
0.5775241255760193,
1.884232759475708,
0.24350368976593018,
0.016623007133603096,
-0.05309411138296127,
0.2742825746536255,
-0.13701944053173065,
-0.3883455991744995,... |
css/reference/properties/text-overflow/index.md | CSS - Properties - text-overflow - Syntax - Values:
This property is specified as one or two space-separated values, including:
- `clip`: The default for this property. This keyword value will truncate the text at the limit of the content area, therefore the truncation can happen in the middle of a character. To clip... | [
-1.4589225053787231,
0.011912649497389793,
0.03352493792772293,
0.1888325959444046,
0.7102931141853333,
-0.701105535030365,
0.024282347410917282,
1.0302417278289795,
-0.5678824782371521,
-0.004934530705213547,
0.02382616326212883,
-0.7421743869781494,
0.1461915373802185,
0.0341657027602195... |
css/reference/properties/text-overflow/index.md | CSS - Properties - text-overflow - Description:
The `text-overflow` property sets how hidden overflow content is signaled to users. It can be clipped, display an ellipsis (`…`), or display a custom string.
The `text-overflow` property doesn't force an overflow to occur. To make text overflow its container, you have t... | [
-0.46639296412467957,
-0.06134659796953201,
-0.09250202029943466,
0.15617039799690247,
0.6801641583442688,
-1.3952205181121826,
-0.19856508076190948,
2.5320589542388916,
0.14162671566009521,
0.2195499837398529,
-0.12751652300357819,
-0.10499977320432663,
-0.5469239950180054,
-0.19611911475... |
css/reference/properties/text-overflow/index.md | CSS - Properties - text-overflow - Examples - One-value syntax:
This example shows different values for `text-overflow` applied to a paragraph, for left-to-right and right-to-left text. | [
-0.5082401633262634,
0.5180630087852478,
-0.43759480118751526,
-0.03577082231640816,
-0.19997663795948029,
-1.4750137329101562,
1.108074426651001,
2.9773731231689453,
0.3211042284965515,
-0.34456491470336914,
-0.47922438383102417,
0.016477175056934357,
-0.17896173894405365,
-1.029125928878... |
css/reference/properties/text-overflow/index.md | CSS - Properties - text-overflow - Examples - One-value syntax - HTML:
Example:
<div class="ltr">
<h2>Left to right text</h2>
<pre>clip</pre>
<p class="overflow-clip">
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
</p>
<pre>ellipsis</pre>
<p class="overflow-ellipsis">
Lorem ipsum dolor... | [
-2.1037354469299316,
0.01319621130824089,
0.1974894106388092,
-0.32097092270851135,
0.05582910776138306,
-1.9208117723464966,
0.7154738903045654,
0.9932423830032349,
-0.6245076060295105,
0.007721357047557831,
0.37508517503738403,
0.20496109127998352,
-0.21711011230945587,
-0.36906993389129... |
css/reference/properties/text-overflow/index.md | CSS - Properties - text-overflow - Examples - One-value syntax - CSS:
Example:
p {
width: 200px;
border: 1px solid;
padding: 2px 5px;
/* Both of the following are required for text-overflow */
white-space: nowrap;
overflow: hidden;
}
.overflow-clip {
text-overflow: clip;
}
.overflow-ellipsis {
text... | [
-1.3835854530334473,
0.647775411605835,
-0.5760878920555115,
-0.2284708470106125,
0.4195546507835388,
-1.3898483514785767,
0.4665561318397522,
1.357696294784546,
-0.6040668487548828,
0.1419467031955719,
0.1828332543373108,
-0.13077303767204285,
-0.28977644443511963,
-0.43474361300468445,
... |
css/reference/properties/text-overflow/index.md | CSS - Properties - text-overflow - Examples - Two-value syntax:
This example shows the two-value syntax for `text-overflow`, where you can define different overflow behavior for the start and end of the text. To show the effect we have to scroll the line so the start of the line is also hidden. | [
-0.9648737907409668,
0.5371143817901611,
-0.3865121603012085,
0.04344294220209122,
0.24333280324935913,
-0.5599616765975952,
0.5985769033432007,
2.5338778495788574,
0.31256863474845886,
0.17925074696540833,
-0.44032979011535645,
0.09696352481842041,
-0.6203609704971313,
-0.6990718841552734... |
css/reference/properties/text-overflow/index.md | CSS - Properties - text-overflow - Examples - Two-value syntax - HTML:
Example:
<pre>clip clip</pre>
<p class="overflow-clip-clip">
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
</p>
<pre>clip ellipsis</pre>
<p class="overflow-clip-ellipsis">
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
<... | [
-1.9410169124603271,
-0.022747421637177467,
0.09820374846458435,
0.0590803399682045,
0.16720053553581238,
-2.0779497623443604,
0.7008737921714783,
1.2624073028564453,
-0.6759814023971558,
0.14385035634040833,
0.5011035799980164,
0.35169699788093567,
-0.03199951350688934,
-0.336066186428070... |
css/reference/properties/text-overflow/index.md | CSS - Properties - text-overflow - Examples - Two-value syntax - CSS:
Example:
p {
width: 200px;
border: 1px solid;
padding: 2px 5px;
/* Both of the following are required for text-overflow */
white-space: nowrap;
overflow: scroll;
}
.overflow-clip-clip {
text-overflow: clip clip;
}
.overflow-clip-el... | [
-1.0204694271087646,
0.42700085043907166,
-0.5402867197990417,
-0.2822268009185791,
0.6194440722465515,
-1.2733383178710938,
0.04462067782878876,
1.5429199934005737,
-0.45058563351631165,
0.44972091913223267,
0.4460401237010956,
-0.2292187511920929,
-0.1511780321598053,
-0.2937807738780975... |
css/reference/properties/text-overflow/index.md | CSS - Properties - text-overflow - Examples - Two-value syntax - JavaScript:
Example:
// Scroll each paragraph so the start is also hidden
const paras = document.querySelectorAll("p");
for (const para of paras) {
para.scroll(100, 0);
} | [
-0.7099433541297913,
0.16031955182552338,
-0.39576026797294617,
0.7733356356620789,
-0.08126446604728699,
-0.561428964138031,
1.342971682548523,
1.7076621055603027,
0.04898416996002197,
0.30876943469047546,
-0.5265211462974548,
0.36301401257514954,
-0.48662906885147095,
-0.3755283951759338... |
css/reference/properties/background-image/index.md | CSS - Properties - background-image:
The `background-image` CSS property sets one or more background images on an element.
Example:
background-image: url("/shared-assets/images/examples/lizard.png");
Example:
background-image:
url("/shared-assets/images/examples/lizard.png"),
url("/shared-assets/images/example... | [
-0.895878791809082,
0.07940816134214401,
-1.063664197921753,
-0.3349902033805847,
0.23667684197425842,
-1.361697793006897,
-0.037227287888526917,
1.6735442876815796,
-0.8660165071487427,
-0.26028457283973694,
0.07136210054159164,
0.23697099089622498,
-0.9420580267906189,
0.5867182612419128... |
css/reference/properties/background-image/index.md | CSS - Properties - background-image - Syntax:
Example:
/* single image */
background-image: linear-gradient(black, white);
background-image: url("cat-front.png");
/* multiple images */
background-image:
radial-gradient(circle, transparent 45%, black 48%),
radial-gradient(ellipse farthest-corner, #fc1c14 20%, #cf... | [
-1.6223475933074951,
0.16964025795459747,
-0.2073899805545807,
-0.9550929069519043,
-0.2646291255950928,
-1.059004783630371,
-0.47170278429985046,
2.405742645263672,
0.22254037857055664,
-0.13259664177894592,
-0.9040277600288391,
0.6044629216194153,
-0.2626107931137085,
0.5959583520889282,... |
css/reference/properties/background-image/index.md | CSS - Properties - background-image - Syntax - Values:
This property is specified as the keyword `none` or as a comma-separated list of `image` values.
- `none`: Is a keyword denoting the absence of images.
- `<image>`: Is an `image` denoting the image to display. | [
-0.9624108672142029,
-0.0968061164021492,
-0.321510910987854,
-0.6812044382095337,
0.10739690065383911,
-0.9910622239112854,
1.273152232170105,
3.0069241523742676,
0.24482068419456482,
-0.3250344693660736,
-0.3968586325645447,
0.03786207735538483,
-0.6836391687393188,
0.42190665006637573,
... |
css/reference/properties/background-image/index.md | CSS - Properties - background-image - Description:
The `background-image` property sets background images on an element.
You can define multiple backgrounds on an element by specifying a list of comma-separated image. The background images are drawn on stacking context layers on top of each other. The first layer spe... | [
-0.1487342119216919,
-0.5873886942863464,
-1.1558752059936523,
-0.4176980257034302,
-0.005628898739814758,
-0.6225310564041138,
0.9262098073959351,
2.0041658878326416,
-0.1931503415107727,
-0.16373291611671448,
-0.9414860010147095,
0.5132929086685181,
0.08001861721277237,
0.308294296264648... |
css/reference/properties/background-image/index.md | CSS - Properties - background-image - Accessibility:
Browsers do not provide any special information on background images to assistive technology. This is important primarily for screen readers, as a screen reader will not announce its presence and therefore convey nothing to its users. If the image contains informati... | [
-1.230015754699707,
0.294599324464798,
-0.83807772397995,
-1.205190896987915,
-0.23071417212486267,
-0.9375178813934326,
0.31822317838668823,
0.8955210447311401,
-0.472210556268692,
0.06743486225605011,
-0.9686270356178284,
0.10242016613483429,
-0.20514200627803802,
0.3869963586330414,
-... |
css/reference/properties/background-image/index.md | CSS - Properties - background-image - Examples - Layering background images:
Note that the star image is partially transparent and is layered over the cat image. | [
-0.8852351307868958,
0.56260085105896,
-1.334822416305542,
-0.33525413274765015,
0.24278929829597473,
-0.5245420932769775,
-0.21691375970840454,
2.626772165298462,
-0.36473602056503296,
-0.37943342328071594,
-0.29026105999946594,
0.1493983119726181,
-0.5415577292442322,
0.03849875181913376... |
css/reference/properties/background-image/index.md | CSS - Properties - background-image - Examples - Layering background images - HTML:
Example:
<div>
<p class="cats-and-stars">This paragraph is full of cats<br />and stars.</p>
<p>This paragraph is not.</p>
<p class="cats-and-stars">Here are more cats for you.<br />Look at them!</p>
<p>And no more.</p>
</div> | [
-0.7634747624397278,
0.11693930625915527,
-0.7898003458976746,
0.42197978496551514,
-0.5123490691184998,
-1.7505440711975098,
0.20472195744514465,
2.131991147994995,
-0.07380865514278412,
-0.5823957324028015,
-0.6413110494613647,
0.43167367577552795,
-0.18977956473827362,
-0.17897871136665... |
css/reference/properties/background-image/index.md | CSS - Properties - background-image - Examples - Layering background images - CSS:
Example:
p {
font-weight: bold;
font-size: 1.5em;
color: white;
text-shadow: 0.07em 0.07em 0.05em black;
background-image: none;
background-color: transparent;
}
div {
background-image: url("mdn_logo_only_color.png");
}
... | [
-0.7333153486251831,
0.770554780960083,
-0.9075059294700623,
-0.9486510753631592,
0.5722514390945435,
-1.4801039695739746,
-0.37486520409584045,
2.0212740898132324,
-0.3981318473815918,
-0.23420457541942596,
0.6047578454017639,
-0.4263083040714264,
-0.3167901635169983,
0.022965408861637115... |
css/reference/properties/animation-iteration-count/index.md | CSS - Properties - animation-iteration-count:
The `animation-iteration-count` CSS property sets the number of times an animation sequence should be played before stopping.
It is often convenient to use the shorthand property `animation` to set all animation properties at once.
Example:
animation-iteration-count: 0;... | [
0.45951077342033386,
0.013410784304141998,
-0.6628098487854004,
-0.1612892746925354,
0.27040889859199524,
-1.847952961921692,
0.05023716390132904,
1.230934977531433,
-0.8177711963653564,
-0.007377639412879944,
0.4857305884361267,
-0.6197106838226318,
-0.6002599000930786,
0.7650716304779053... |
css/reference/properties/animation-iteration-count/index.md | CSS - Properties - animation-iteration-count - Syntax:
Example:
/* Keyword value */
animation-iteration-count: infinite;
/* <number> values */
animation-iteration-count: 3;
animation-iteration-count: 2.4;
/* Multiple values */
animation-iteration-count: 2, 0, infinite;
/* Global values */
animation-iteration-count... | [
-0.33727580308914185,
-0.168981671333313,
0.27105215191841125,
0.2847081422805786,
-0.5783828496932983,
-0.9754849076271057,
0.12810735404491425,
1.4665541648864746,
-0.6850395798683167,
-0.3278091549873352,
-0.540824294090271,
0.04653323441743851,
-0.39497944712638855,
0.20783013105392456... |
css/reference/properties/animation-iteration-count/index.md | CSS - Properties - animation-iteration-count - Syntax - Values:
This property is specified as one or more comma-separated values:
- `infinite`: The animation will repeat forever.
- `<number>`: The number of times the animation will repeat; this is `1` by default. You may specify non-integer values to play part ... | [
-0.42074793577194214,
0.010276610031723976,
-0.5329088568687439,
0.23744851350784302,
0.6867642402648926,
-1.1890065670013428,
-0.12623368203639984,
0.9034042954444885,
-0.7797412872314453,
0.05793166160583496,
0.3786942958831787,
-0.3390656113624573,
-0.1796167492866516,
0.516154408454895... |
css/reference/properties/animation-iteration-count/index.md | CSS - Properties - animation-iteration-count - Examples - Setting iteration count:
This animation will run 10 times. | [
-0.3023592233657837,
0.10220281034708023,
-0.45913100242614746,
0.7256584167480469,
-1.2106088399887085,
0.03009406104683876,
1.011197805404663,
1.2981388568878174,
-0.3328200876712799,
-0.2372772991657257,
-0.7905498147010803,
-0.18289855122566223,
0.04551227390766144,
0.5652395486831665,... |
css/reference/properties/animation-iteration-count/index.md | CSS - Properties - animation-iteration-count - Examples - Setting iteration count - HTML:
Example:
<div class="box"></div> | [
-0.6502583026885986,
-0.6074744462966919,
-0.15187543630599976,
0.3578578233718872,
-0.8429251909255981,
-0.36488059163093567,
1.4078342914581299,
1.4041348695755005,
-0.7188857197761536,
-0.23810622096061707,
-0.5476511716842651,
-0.6973015069961548,
-0.306904137134552,
0.6366583108901978... |
css/reference/properties/animation-iteration-count/index.md | CSS - Properties - animation-iteration-count - Examples - Setting iteration count - CSS:
Example:
.box {
background-color: rebeccapurple;
border-radius: 10px;
width: 100px;
height: 100px;
}
.box:hover {
animation-name: rotate;
animation-duration: 0.7s;
animation-iteration-count: 10;
}
@keyframes rotat... | [
-0.9773105382919312,
0.0008550975471735001,
-0.27504783868789673,
-0.26258987188339233,
-0.5777132511138916,
-0.02970757521688938,
0.6866018176078796,
1.1264870166778564,
-0.6532579064369202,
0.1967635452747345,
-0.5674298405647278,
-0.6594298481941223,
-0.12333646416664124,
0.855706810951... |
css/reference/properties/gap/index.md | CSS - Properties - gap:
The `gap` CSS shorthand property sets the gaps (also called `gutters`) between rows and columns on multi-column, flex, and grid containers.
Example:
gap: 0;
Example:
gap: 10%;
Example:
gap: 1em;
Example:
gap: 10px 20px;
Example:
gap: calc(20px + 10%);
Example:
<section class="defaul... | [
-1.3865000009536743,
-0.9524930715560913,
-1.3980417251586914,
-0.24987728893756866,
0.16324064135551453,
-1.5422054529190063,
-0.3784257471561432,
1.6005842685699463,
-0.6830748319625854,
0.6793659925460815,
-0.5733979344367981,
0.42523765563964844,
-1.195517659187317,
0.19306525588035583... |
css/reference/properties/gap/index.md | CSS - Properties - gap - Constituent properties:
This property is a shorthand for the following CSS properties:
- `row-gap`
- `column-gap` | [
-0.7892118692398071,
0.2605306804180145,
-0.9661592245101929,
0.43014800548553467,
-0.07229533046483994,
-2.1166727542877197,
0.7353048920631409,
2.3986406326293945,
-0.3658272624015808,
0.003642202354967594,
-0.32194793224334717,
-0.15618962049484253,
-0.5622761845588684,
-0.3466630578041... |
css/reference/properties/gap/index.md | CSS - Properties - gap - Syntax:
Example:
/* Keyword value */
gap: normal;
/* One value */
gap: 20px;
gap: 1em;
gap: 3vmin;
gap: 0.5cm;
gap: 16%;
gap: 100%;
gap: calc(10% + 20px);
/* Two values */
gap: 20px 10px;
gap: 1em 0.5em;
gap: 3vmin 2vmax;
gap: 0.5cm 2mm;
gap: 16% 100%;
gap: 21px 82%;
gap: calc(20px + 10%) c... | [
-1.309761643409729,
0.663489580154419,
-0.6263695359230042,
-0.7004731893539429,
0.14235977828502655,
-1.1812927722930908,
0.1798701286315918,
1.6107399463653564,
-0.6276090741157532,
0.339335173368454,
-0.3827688992023468,
1.0398566722869873,
-0.895322322845459,
-0.10666213929653168,
0.... |
css/reference/properties/gap/index.md | CSS - Properties - gap - Syntax - Values:
- `normal`: A value of `1em` on multi-column containers and `0` in all other contexts.
- `<length>`: The size of the gap as a non-negative `<length>` value.
- `<percentage>`: The size of the gap as a non-negative `<percentage>` value relative to the con... | [
-1.1029330492019653,
-0.7119795083999634,
-0.46484819054603577,
-0.5265554785728455,
-0.21007174253463745,
-1.2522070407867432,
0.1705341935157776,
1.5045157670974731,
-0.13399621844291687,
-0.12873683869838715,
-0.6629732251167297,
0.3831664025783539,
-0.6175650954246521,
0.71349310874938... |
css/reference/properties/gap/index.md | CSS - Properties - gap - Description:
The `gap` property defines gaps between columns and rows, with the effect of the definition depending on whether the container is a grid container, a flexbox container, or a multi-column layout container.
The shorthand property is specified as a value for `<'row-gap'>`, followed ... | [
-1.1191540956497192,
-0.9125901460647583,
-1.1520600318908691,
0.4564911425113678,
0.6241586804389954,
-1.6298857927322388,
0.16044069826602936,
1.9268592596054077,
-0.27320849895477295,
0.4516516923904419,
-0.7286564111709595,
0.18871629238128662,
-1.2476965188980103,
0.3895368278026581,
... |
css/reference/properties/gap/index.md | CSS - Properties - gap - Description - In grid layouts:
In CSS grid layout, the `gap` property defines the space between rows and columns. The first value defines the gutter between rows, and the second defines the gutter between columns. If only one value is included, that value is used for both dimensions.
Percenta... | [
-0.9088521003723145,
-0.3723370432853699,
-1.4745317697525024,
0.28307318687438965,
0.6720553636550903,
-2.6600899696350098,
-0.7570549845695496,
1.8790221214294434,
-0.49118930101394653,
0.08068477362394333,
0.5506351590156555,
0.16424663364887238,
-0.4027451276779175,
0.7060772776603699,... |
css/reference/properties/gap/index.md | CSS - Properties - gap - Description - In flexbox:
With flex containers, the `gap` property defines the space between both flex items and flex lines. Whether the first value is the gap between flex items or between flex lines depends on the direction. Flex items are laid out in either rows or columns depending on the ... | [
-1.7500823736190796,
-1.2330584526062012,
-1.0240204334259033,
0.5809168815612793,
0.4194037914276123,
-0.7211974263191223,
-0.004568185657262802,
1.9767978191375732,
0.15476089715957642,
0.18882976472377777,
-0.006702713668346405,
-0.13955578207969666,
-0.5125290155410767,
-0.229697167873... |
css/reference/properties/gap/index.md | CSS - Properties - gap - Description - In multi column layouts:
In CSS multi-column layout, the property defines the gutter between columns and rows of columns. The first value defines the gap between adjacent column boxes, while the second value defines the size of the gutter between rows of column boxes, if multiple... | [
-1.1562678813934326,
-0.33577919006347656,
-1.5233300924301147,
0.6511701345443726,
0.733882486820221,
-1.4714186191558838,
-0.6609540581703186,
1.7505815029144287,
-0.32210850715637207,
-0.08076094835996628,
0.38060852885246277,
-0.12117232382297516,
-0.5476813912391663,
0.854335665702819... |
css/reference/properties/gap/index.md | CSS - Properties - gap - Examples - Flex layout - HTML:
Example:
<div id="flexbox">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div> | [
-1.6811343431472778,
0.04954405874013901,
-0.4224173426628113,
-0.2908328175544739,
-0.5146908760070801,
-0.6662282347679138,
1.0477018356323242,
1.3324480056762695,
-0.7329375147819519,
-0.22190240025520325,
-0.3403738737106323,
-0.4555918574333191,
-0.652744710445404,
-0.0952441692352294... |
css/reference/properties/gap/index.md | CSS - Properties - gap - Examples - Flex layout - CSS:
Example:
#flexbox {
display: flex;
flex-wrap: wrap;
width: 300px;
gap: 20px 5px;
}
#flexbox > div {
border: 1px solid green;
background-color: lime;
flex: 1 1 auto;
width: 100px;
height: 50px;
} | [
-1.5700879096984863,
-0.3347013592720032,
-0.5814189314842224,
-0.6985301375389099,
0.019725993275642395,
-0.8173957467079163,
0.21386711299419403,
1.6203763484954834,
-0.7361056208610535,
0.278341144323349,
-0.032006047666072845,
0.17537279427051544,
-0.759369432926178,
0.3471511304378509... |
css/reference/properties/gap/index.md | CSS - Properties - gap - Examples - Grid layout - HTML:
Example:
<div id="grid">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div> | [
-1.7130895853042603,
0.7625072002410889,
-0.29969221353530884,
-0.7531313896179199,
-0.843173623085022,
-0.8656601309776306,
1.0242737531661987,
1.2797530889511108,
-0.6125601530075073,
-0.03273952379822731,
-0.5464015603065491,
0.037176504731178284,
-0.7239850163459778,
-0.179636269807815... |
css/reference/properties/gap/index.md | CSS - Properties - gap - Examples - Grid layout - CSS:
Example:
#grid {
display: grid;
height: 200px;
grid-template: repeat(3, 1fr) / repeat(3, 1fr);
gap: 20px 5px;
}
#grid > div {
border: 1px solid green;
background-color: lime;
} | [
-1.3059579133987427,
0.03531593456864357,
-0.683806300163269,
-1.3161205053329468,
-0.09701624512672424,
-0.7171501517295837,
0.542271077632904,
0.9495619535446167,
-1.1582356691360474,
0.6074468493461609,
-0.41172710061073303,
0.7973319292068481,
-0.651003360748291,
0.7067450284957886,
... |
css/reference/properties/gap/index.md | CSS - Properties - gap - Examples - Multi-column layout - HTML:
Example:
<p class="content-box">
This is some multi-column text with a 40px column gap created with the CSS
<code>gap</code> property. Don't you think that's fun and exciting? I sure do!
</p> | [
-1.3170100450515747,
0.1580350548028946,
-0.22931188344955444,
0.6120743751525879,
0.2256496548652649,
-1.1470692157745361,
0.6854846477508545,
1.580088496208191,
-0.7166500091552734,
0.5997259616851807,
0.055694133043289185,
0.8020642995834351,
-0.6747363805770874,
0.0707438588142395,
-... |
css/reference/properties/gap/index.md | CSS - Properties - gap - Examples - Multi-column layout - CSS:
Example:
.content-box {
column-count: 3;
gap: 40px;
} | [
-0.7754650115966797,
-0.27776893973350525,
-0.6831440925598145,
-0.06152757257223129,
-0.20152738690376282,
-0.39968010783195496,
0.5677357912063599,
1.2210302352905273,
-1.1571173667907715,
0.33431288599967957,
-0.061904773116111755,
0.5228495597839355,
-0.7967907786369324,
0.474201381206... |
css/reference/properties/gap/index.md | CSS - Properties - gap - Examples - Percentage gap value and explicit container size:
If the container has a fixed size set, then gap percentage value calculations are based on the size of the container. Thus, gap behavior is consistent across all layouts. In the following example, there are two containers, one with a... | [
-1.925572156906128,
-0.1702120304107666,
-0.6679871082305908,
-0.2724848985671997,
0.004510045051574707,
-1.0290210247039795,
-0.06297402083873749,
1.5721187591552734,
-0.5791369676589966,
0.2318921536207199,
0.23439639806747437,
0.33591291308403015,
-0.942435085773468,
0.43016496300697327... |
css/reference/properties/gap/index.md | CSS - Properties - gap - Examples - Percentage gap value and implicit container size:
If size is not explicitly set on the container, then the percentage gap behaves differently in case of grid and flex layouts. In the following example the containers don't have height explicitly set.
Example:
<span>Grid</span>
<div... | [
-1.4418227672576904,
-0.22594715654850006,
-0.7971065640449524,
-0.5502709746360779,
0.2565692961215973,
-1.250939965248108,
-0.08239411562681198,
1.8634462356567383,
-0.5772526860237122,
0.49831312894821167,
0.2994391620159149,
0.05102334916591644,
-0.8298842906951904,
0.6069127917289734,... |
css/reference/properties/text-align-last/index.md | CSS - Properties - text-align-last:
The `text-align-last` CSS property sets how the last line of a block or a line, right before a forced line break, is aligned.
Example:
text-align-last: right;
Example:
text-align-last: center;
Example:
text-align-last: left;
Example:
<section id="default-example">
<div>
... | [
-1.112044334411621,
-0.14893800020217896,
-0.48230233788490295,
-0.30654045939445496,
-0.06982117146253586,
-1.1650290489196777,
0.11009164154529572,
0.9389190673828125,
0.047060757875442505,
0.8121303915977478,
0.16531018912792206,
0.1339942365884781,
-0.5662370324134827,
0.57739609479904... |
css/reference/properties/text-align-last/index.md | CSS - Properties - text-align-last - Syntax:
Example:
/* Keyword values */
text-align-last: auto;
text-align-last: start;
text-align-last: end;
text-align-last: left;
text-align-last: right;
text-align-last: center;
text-align-last: justify;
/* Global values */
text-align-last: inherit;
text-align-last: initial;
tex... | [
-0.51555335521698,
0.16776880621910095,
0.036978282034397125,
0.004344698041677475,
-0.5971940159797668,
-0.9360468983650208,
0.4951235055923462,
1.7211860418319702,
0.39787954092025757,
-0.014605110511183739,
-0.2718932032585144,
0.08972245454788208,
-0.47287023067474365,
0.41260153055191... |
css/reference/properties/text-align-last/index.md | CSS - Properties - text-align-last - Syntax - Values:
This property is specified as one of the following keyword values:
- `auto`: The affected line is aligned per the value of `text-align`, unless `text-align` is `justify`, in which case the effect is the same as setting `text-align-last` to `start`.
- `start`: The ... | [
-0.4889078438282013,
0.18661147356033325,
-0.30330702662467957,
-0.30975085496902466,
0.7514396905899048,
-0.9012770652770996,
-0.23458468914031982,
1.5508308410644531,
0.7341858744621277,
0.1868027001619339,
0.04186275601387024,
-0.22221460938453674,
-0.042592085897922516,
0.2476641535758... |
css/reference/properties/text-align-last/index.md | CSS - Properties - text-align-last - Examples - Justifying the last line:
Example:
<p>
Integer elementum massa at nulla placerat varius. Suspendisse in libero risus,
in interdum massa. Vestibulum ac leo vitae metus faucibus gravida ac in neque.
Nullam est eros, suscipit sed dictum quis, accumsan a ligula.
</p> | [
0.3011459708213806,
0.8540183305740356,
-0.3183135390281677,
-0.41872477531433105,
-0.31239938735961914,
-1.1800580024719238,
-0.3332516551017761,
1.0490375757217407,
0.1818726360797882,
0.16272853314876556,
0.8202397227287292,
0.24166488647460938,
-0.7570810317993164,
-0.3748268783092499,... |
css/reference/properties/text-align-last/index.md | CSS - Properties - text-align-last - Examples - Justifying the last line - CSS:
Example:
p {
font-size: 1.4em;
text-align: justify;
text-align-last: center;
} | [
-0.09095180779695511,
0.05936216562986374,
-0.4378257095813751,
-0.8872804641723633,
-0.7090350985527039,
-0.9522566199302673,
0.9989031553268433,
0.6818216443061829,
0.2564884126186371,
0.2701338231563568,
0.1434890329837799,
-0.3415589928627014,
-0.4051564037799835,
-0.10120916366577148,... |
css/reference/properties/math-shift/index.md | CSS - Properties - math-shift:
The `math-shift` property indicates whether superscripts inside MathML formulas should be raised by a normal or compact shift. | [
-1.0334184169769287,
-0.5431569814682007,
-0.9873620271682739,
0.08669905364513397,
0.5478604435920715,
-0.8606662154197693,
0.5717209577560425,
1.5988651514053345,
0.6914910674095154,
-0.14325881004333496,
-1.1818186044692993,
0.2922716438770294,
-0.6662781834602356,
-0.31259024143218994,... |
css/reference/properties/math-shift/index.md | CSS - Properties - math-shift - Syntax:
Example:
/* Keyword values */
math-shift: normal;
math-shift: compact;
/* Global values */
math-shift: inherit;
math-shift: initial;
math-shift: revert;
math-shift: revert-layer;
math-shift: unset; | [
-0.4929446578025818,
0.32500332593917847,
-0.28891390562057495,
0.002864070236682892,
-0.3826029300689697,
-1.2951219081878662,
0.4120735228061676,
2.221621036529541,
1.0436919927597046,
0.09858720004558563,
-0.7282189130783081,
0.5592836737632751,
-0.18528679013252258,
-0.3338556885719299... |
css/reference/properties/math-shift/index.md | CSS - Properties - math-shift - Syntax - Values:
This property is specified as one of the following keyword values:
- `normal`: The initial value, indicates normal rendering. Superscripts in MathML formulas use the superscriptShiftUp parameter from the OpenType MATH table.
- `compact`: Indicates compact rendering. Su... | [
-1.1532384157180786,
0.1324933022260666,
-0.9973199367523193,
-0.05607924237847328,
0.4843060374259949,
-1.1578550338745117,
0.210404172539711,
1.5782591104507446,
0.9010260701179504,
-0.8128034472465515,
-0.3580343425273895,
-0.035541780292987823,
-0.15451058745384216,
-0.1655413657426834... |
css/reference/properties/math-shift/index.md | CSS - Properties - math-shift - Examples - Normal and compact shift:
The following MathML displays two versions of "x squared" using a font with an OpenType MATH table. The `math-shift` property is used to raise the superscripts using the `normal` and `compact` shift. | [
-1.5078942775726318,
0.14231963455677032,
-0.794714629650116,
-0.006973870098590851,
0.4575433135032654,
-0.6662865877151489,
0.8971856236457825,
1.3061214685440063,
0.9201506972312927,
-0.2230946123600006,
-0.8555140495300293,
0.5033766627311707,
-0.618283212184906,
-0.32858186960220337,
... |
css/reference/properties/math-shift/index.md | CSS - Properties - math-shift - Examples - Normal and compact shift - CSS:
Example:
math {
font-size: 64pt;
math-shift: normal;
}
.compact-shift {
math-shift: compact;
} | [
-0.6508758068084717,
0.4497099220752716,
-1.0116384029388428,
-0.5812425017356873,
-0.18712301552295685,
-0.9268717169761658,
0.5694149136543274,
1.5654370784759521,
1.1296887397766113,
0.11583598703145981,
0.27302005887031555,
0.28357598185539246,
-0.21886761486530304,
-0.4416474401950836... |
css/reference/properties/math-shift/index.md | CSS - Properties - math-shift - Examples - Normal and compact shift - MathML:
Example:
<math>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
<msup class="compact-shift">
<mi>x</mi>
<mn>2</mn>
</msup>
</math> | [
-1.559971809387207,
0.20630545914173126,
-1.1082741022109985,
-0.2843908667564392,
-0.3467242419719696,
-0.5607826113700867,
0.24575689435005188,
1.4804543256759644,
0.9965517520904541,
0.02595074474811554,
-0.5268853902816772,
-0.11723652482032776,
-0.5610781311988831,
-0.2197902500629425... |
css/reference/properties/border-block-end/index.md | CSS - Properties - border-block-end:
The `border-block-end` CSS property is a shorthand property for setting the individual logical block-end border property values in a single place in the style sheet.
Example:
border-block-end: solid;
writing-mode: horizontal-tb;
Example:
border-block-end: dashed red;
writing-mo... | [
-0.45323631167411804,
0.5634286403656006,
-0.757662832736969,
-0.17640800774097443,
-0.017709895968437195,
-1.5039721727371216,
0.28242090344429016,
1.7093151807785034,
0.5495383739471436,
0.15427176654338837,
-0.2684539556503296,
0.9041960835456848,
0.0749720111489296,
0.5553577542304993,... |
css/reference/properties/border-block-end/index.md | CSS - Properties - border-block-end - Constituent properties:
This property is a shorthand for the following CSS properties:
- `border-block-end-color`
- `border-block-end-style`
- `border-block-end-width` | [
-0.0025897996965795755,
0.9804039001464844,
-0.950340986251831,
-0.01085490919649601,
-0.3381584882736206,
-1.9893214702606201,
0.3838188946247101,
2.1226415634155273,
0.3447161316871643,
0.09652373194694519,
-0.13060583174228668,
0.5329310297966003,
-0.14885073900222778,
0.011558584868907... |
css/reference/properties/border-block-end/index.md | CSS - Properties - border-block-end - Syntax:
Example:
border-block-end: 1px;
border-block-end: 2px dotted;
border-block-end: medium dashed blue;
/* Global values */
border-block-end: inherit;
border-block-end: initial;
border-block-end: revert;
border-block-end: revert-layer;
border-block-end: unset;
`border-block... | [
-0.008720438927412033,
0.9664503931999207,
-0.7312089204788208,
-0.2965822219848633,
-0.6259595155715942,
-1.1834179162979126,
0.10603010654449463,
1.6416617631912231,
0.629948616027832,
0.01417980995029211,
-0.7661507725715637,
1.2335504293441772,
0.17185893654823303,
0.5291361808776855,
... |
css/reference/properties/border-block-end/index.md | CSS - Properties - border-block-end - Syntax - Values:
The `border-block-end` is specified with one or more of the following, in any order:
- `<line-width>`: The width of the border. See `border-width`.
- `<line-style>`: The line style of the border. See `border-style`.
- `<color>`: The color of the... | [
0.24067160487174988,
0.21783964335918427,
-1.2820326089859009,
-0.928620457649231,
-0.39861682057380676,
-0.6759008169174194,
-0.2822125256061554,
1.884024739265442,
0.6698169112205505,
-0.6402777433395386,
-0.412943959236145,
0.6978371739387512,
-0.4103414714336395,
0.6139466762542725,
... |
css/reference/properties/border-block-end/index.md | CSS - Properties - border-block-end - Examples - Border with vertical text - HTML:
Example:
<div>
<p class="exampleText">Example text</p>
</div> | [
-0.7080760598182678,
0.6688904166221619,
-0.1596233993768692,
-0.03447861969470978,
-1.0010247230529785,
-0.8465048670768738,
0.8608702421188354,
2.0517666339874268,
0.46399760246276855,
-0.44371917843818665,
-0.2308143824338913,
0.7684527039527893,
-0.38281458616256714,
-0.276414036750793... |
css/reference/properties/border-block-end/index.md | CSS - Properties - border-block-end - Examples - Border with vertical text - CSS:
Example:
div {
background-color: yellow;
width: 120px;
height: 120px;
}
.exampleText {
writing-mode: vertical-rl;
border-block-end: 5px dashed blue;
} | [
-1.2513301372528076,
0.42351359128952026,
-0.2046496421098709,
-0.3782918453216553,
-0.5344263315200806,
0.02382178232073784,
0.3635745346546173,
1.5287753343582153,
-0.028096269816160202,
-0.252862811088562,
-0.28996768593788147,
0.7613391876220703,
0.09037234634160995,
0.5006029009819031... |
css/reference/properties/border-left-color/index.md | CSS - Properties - border-left-color:
The `border-left-color` CSS property sets the color of an element's left border. It can also be set with the shorthand CSS properties `border-color` or `border-left`.
Example:
border-left-color: red;
Example:
border-left-color: #32a1ce;
Example:
border-left-color: rgb(170 50... | [
-1.1018840074539185,
-0.4193466603755951,
-0.9031607508659363,
-0.783951461315155,
0.13858811557292938,
-1.8914070129394531,
0.08312958478927612,
2.1542303562164307,
0.41120147705078125,
-0.19875018298625946,
-0.7411819100379944,
0.7384123802185059,
-0.04821871221065521,
0.5425553917884827... |
css/reference/properties/border-left-color/index.md | CSS - Properties - border-left-color - Syntax:
Example:
/* <color> values */
border-left-color: red;
border-left-color: #ffbb00;
border-left-color: rgb(255 0 0);
border-left-color: hsl(100deg 50% 25% / 75%);
border-left-color: currentColor;
border-left-color: transparent;
/* Global values */
border-left-color: inher... | [
-1.155063509941101,
0.5524985790252686,
-0.1690828651189804,
-0.16159826517105103,
-0.4705806374549866,
-1.2432132959365845,
-0.20962117612361908,
2.439764976501465,
0.7172022461891174,
-0.12034562230110168,
-1.0267210006713867,
1.1830894947052002,
0.43197110295295715,
0.2329164743423462,
... |
css/reference/properties/border-left-color/index.md | CSS - Properties - border-left-color - Syntax - Values:
This property is specified as one value:
- `<color>`: The color of the left border. | [
-0.6010259389877319,
0.16357527673244476,
-1.5015877485275269,
0.08662649989128113,
-0.6453324556350708,
-1.171310305595398,
0.25017911195755005,
2.9294533729553223,
0.7938501834869385,
-0.7906774878501892,
-0.6879070401191711,
0.6281190514564514,
0.2614572048187256,
0.04699786752462387,
... |
css/reference/properties/border-left-color/index.md | CSS - Properties - border-left-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.4043811559677124,
-0.015470646321773529,
-0.41939908266067505,
-0.19699738919734955,
-0.46037811040878296,
-0.5473136901855469,
0.2259499430656433,
2.7145235538482666,
0.6647868752479553,
-0.05974036455154419,
-1.0711033344268799,
0.39930006861686707,
-0.6837990880012512,
-0.07965286821... |
css/reference/properties/border-left-color/index.md | CSS - Properties - border-left-color - Examples - A div with a border - CSS:
Example:
.my-box {
border: solid 0.3em gold;
border-left-color: red;
width: auto;
}
.red-text {
color: red;
} | [
-1.3319149017333984,
-0.07734793424606323,
-0.35981595516204834,
-0.7033073902130127,
-0.4511908292770386,
-0.5362306833267212,
0.15509331226348877,
2.3378217220306396,
0.43007445335388184,
-0.07896149158477783,
-0.6321229934692383,
0.61555415391922,
-0.6178073883056641,
0.1912825256586074... |
css/reference/properties/scroll-snap-type/index.md | CSS - Properties - scroll-snap-type:
The `scroll-snap-type` CSS property is set on a `scroll container`, opting it into scroll snapping by setting the direction and strictness of snap point enforcement within the snap port.
Example:
scroll-snap-type: none;
Example:
scroll-snap-type: x mandatory;
Example:
scroll-... | [
-1.4424811601638794,
-0.35681551694869995,
-1.1959304809570312,
-0.5013065934181213,
0.5904074907302856,
-1.430810570716858,
-0.6810824275016785,
2.453258752822876,
0.03188570588827133,
0.2941412031650543,
0.7893087267875671,
-0.04129033535718918,
-0.28695181012153625,
0.3091742694377899,
... |
css/reference/properties/scroll-snap-type/index.md | CSS - Properties - scroll-snap-type - Syntax:
Example:
/* No snapping */
scroll-snap-type: none;
/* Keyword values for snap axes */
scroll-snap-type: x;
scroll-snap-type: y;
scroll-snap-type: block;
scroll-snap-type: inline;
scroll-snap-type: both;
/* Optional keyword values for snap strictness */
/* mandatory | pr... | [
-2.646087169647217,
0.19175352156162262,
-0.5370265245437622,
-0.33768197894096375,
-0.4247117340564728,
-0.5559850931167603,
0.3535621464252472,
2.0358963012695312,
-0.1708146035671234,
-0.19954177737236023,
-0.032343339174985886,
-0.05861796438694,
-0.542644739151001,
-0.1071279048919677... |
css/reference/properties/scroll-snap-type/index.md | CSS - Properties - scroll-snap-type - Syntax - Values:
This property is specified as one or two of the following keyword values:
- `none`: When the visual `viewport` of this scroll container is scrolled, it must ignore snap points.
- `x`: The scroll container snaps to snap positions in its horizontal axis only.
- `y`... | [
-1.8326719999313354,
-0.2380833774805069,
-0.6380195617675781,
-0.07213427126407623,
0.49479544162750244,
-0.5814896821975708,
-0.332165002822876,
1.4743759632110596,
-0.23221564292907715,
0.24516551196575165,
0.6357150673866272,
-0.3616766333580017,
0.04873717576265335,
0.6816170811653137... |
css/reference/properties/scroll-snap-type/index.md | CSS - Properties - scroll-snap-type - Examples - Snapping in different axes - HTML:
Example:
<main>
<section class="x mandatory-scroll-snapping" dir="ltr">
<div>X Mand. LTR</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
</section>
<section class="x proximity-scroll-snapping" dir="... | [
-3.1908092498779297,
-0.09454819560050964,
-0.4457316994667053,
0.06748145073652267,
0.49443209171295166,
0.007443424314260483,
0.2835713326931,
1.1425936222076416,
-0.6489949226379395,
-0.0011031460016965866,
0.3286809027194977,
-0.05763779580593109,
-0.5454574823379517,
0.140498295426368... |
css/reference/properties/scroll-snap-type/index.md | CSS - Properties - scroll-snap-type - Examples - Snapping in different axes - CSS:
Example:
main {
display: flex;
align-items: center;
justify-content: space-between;
flex-flow: column nowrap;
font-family: monospace;
}
section {
display: flex;
margin: 1em auto;
outline: 1px dashed lightgray;
flex: n... | [
-1.216688871383667,
0.10133760422468185,
-0.5266178846359253,
-0.3444117605686188,
0.19687414169311523,
-0.13946545124053955,
-0.2770706117153168,
2.17311954498291,
-0.7809804081916809,
0.3455449640750885,
0.7189763784408569,
-0.1014568954706192,
-0.46534693241119385,
0.6191543936729431,
... |
css/reference/properties/box-direction/index.md | CSS - Properties - box-direction:
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 `-moz-box-direction` will only be used for XUL while the... | [
-2.1544981002807617,
-0.9726632833480835,
-0.9176886677742004,
-0.5765702724456787,
0.10694827139377594,
-1.307246446609497,
0.7162357568740845,
1.1571564674377441,
0.2302665114402771,
0.1438111960887909,
-0.172200009226799,
0.24779808521270752,
-0.3577006161212921,
0.4999504089355469,
-... |
css/reference/properties/box-direction/index.md | CSS - Properties - box-direction - Syntax:
Example:
/* Keyword values */
box-direction: normal;
box-direction: reverse;
/* Global values */
box-direction: inherit;
box-direction: initial;
box-direction: revert;
box-direction: revert-layer;
box-direction: unset; | [
-1.48747980594635,
-0.1323067843914032,
-0.13981296122074127,
0.19124601781368256,
-0.6377156376838684,
-0.8684089183807373,
0.5825716853141785,
1.5486732721328735,
0.8539626002311707,
0.16654115915298462,
-0.6221973299980164,
0.15552276372909546,
-0.08764275163412094,
0.10381558537483215,... |
css/reference/properties/box-direction/index.md | CSS - Properties - box-direction - Syntax - Values:
This property is specified as one of the following keyword values:
- `normal`: The box lays out its contents from the start (the left or top edge).
- `reverse`: The box lays out its contents from the end (the right or bottom edge). | [
-1.0924643278121948,
-0.5068209767341614,
-0.473829060792923,
-0.23397158086299896,
-0.2843620777130127,
-0.5755495429039001,
0.7345415353775024,
1.9313017129898071,
0.5372940301895142,
-0.2660024166107178,
-1.0189939737319946,
0.892027735710144,
-0.9673300385475159,
0.3432892858982086,
... |
css/reference/properties/box-direction/index.md | CSS - Properties - box-direction - Notes:
The edge of the box designated the start for layout 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 direction i... | [
-1.5658259391784668,
-0.38838204741477966,
-0.7987518906593323,
-0.09812931716442108,
-0.22822271287441254,
-0.7471929788589478,
0.2759300470352173,
1.6588464975357056,
0.7866081595420837,
0.014652203768491745,
-0.270603746175766,
-0.11553138494491577,
-1.1083742380142212,
0.34807065129280... |
css/reference/properties/box-direction/index.md | CSS - Properties - box-direction - Examples - Setting box direction:
Example:
.example {
/* bottom-to-top layout */
-moz-box-direction: reverse; /* Mozilla */
-webkit-box-direction: reverse; /* WebKit */
box-direction: reverse; /* As specified */
} | [
-1.7800947427749634,
-0.1571357548236847,
0.15758468210697174,
0.6337170004844666,
-0.6666087508201599,
-0.6753064393997192,
0.8785316944122314,
0.8347999453544617,
0.3799533545970917,
-0.16750723123550415,
-0.251422643661499,
0.10778117179870605,
-0.2025056630373001,
-0.3501560688018799,
... |
css/reference/properties/writing-mode/index.md | CSS - Properties - writing-mode:
The `writing-mode` CSS property sets whether lines of text are laid out horizontally or vertically, as well as the direction in which text flows.
Example:
writing-mode: horizontal-tb;
Example:
writing-mode: vertical-lr;
Example:
writing-mode: vertical-rl;
Example:
writing-mode:... | [
-2.509383201599121,
-0.43851935863494873,
-0.6928405165672302,
0.23795977234840393,
0.019943498075008392,
-0.3240666687488556,
-0.08781406283378601,
1.4709751605987549,
0.20871976017951965,
0.31281226873397827,
-0.3678794503211975,
0.36254656314849854,
0.12409630417823792,
0.02175078541040... |
css/reference/properties/writing-mode/index.md | CSS - Properties - writing-mode - Syntax:
Example:
/* Keyword values */
writing-mode: horizontal-tb;
writing-mode: vertical-rl;
writing-mode: vertical-lr;
writing-mode: sideways-rl;
writing-mode: sideways-lr;
/* Global values */
writing-mode: inherit;
writing-mode: initial;
writing-mode: revert;
writing-mode: revert... | [
-1.9543801546096802,
0.33986157178878784,
0.23765835165977478,
0.6568388938903809,
-0.30365628004074097,
0.08109232038259506,
0.3754441738128662,
1.7244139909744263,
0.6890925168991089,
-0.45751193165779114,
-0.3233668804168701,
0.6790701150894165,
0.39046308398246765,
-0.10607567429542542... |
css/reference/properties/writing-mode/index.md | CSS - Properties - writing-mode - Syntax - Values:
This property is specified as one of the following keywords:
- `horizontal-tb`: For `ltr` scripts, content flows horizontally from left to right. For `rtl` scripts, content flows horizontally from right to left. The next horizontal line is positioned below the previo... | [
-1.720280647277832,
0.2445584535598755,
-0.35031330585479736,
0.10546490550041199,
0.58771151304245,
-0.9869158864021301,
-0.6848123669624329,
1.810372233390808,
0.0562877357006073,
-0.10875783115625381,
-0.07352135330438614,
-0.03635063022375107,
-0.6561541557312012,
0.7480178475379944,
... |
css/reference/properties/writing-mode/index.md | CSS - Properties - writing-mode - Description:
The `writing-mode` property sets whether lines of text are laid out horizontally or vertically. It specifies the block flow direction, which is the direction in which block-level containers are stacked, and the direction in which inline-level content flows within a block ... | [
-1.9047783613204956,
-1.0997575521469116,
-0.6064068078994751,
0.7382901310920715,
-0.23378397524356842,
0.021006368100643158,
-0.2923375070095062,
1.711568832397461,
0.49442189931869507,
0.3869258463382721,
-0.6277280449867249,
0.14287784695625305,
-0.15808342397212982,
-0.070021964609622... |
css/reference/properties/writing-mode/index.md | CSS - Properties - writing-mode - Examples - Using multiple writing modes:
This example demonstrates all of the writing modes, showing each with text in various languages. | [
-0.01902393065392971,
0.01517023891210556,
-0.6704770922660828,
0.37957632541656494,
-0.7993223071098328,
0.34758979082107544,
0.7938150763511658,
1.7465922832489014,
0.8439234495162964,
-0.9238713979721069,
-0.49670785665512085,
0.3566855788230896,
0.3360789120197296,
-0.4649670124053955,... |
css/reference/properties/writing-mode/index.md | CSS - Properties - writing-mode - Examples - Using multiple writing modes - HTML:
The HTML is a `table` with each writing mode in a row with a column showing text in various scripts using that writing mode.
Example:
<table>
<caption>
Using multiple writing modes
</caption>
<thead>
<tr>
<th>Value<... | [
-2.235267162322998,
0.2140098512172699,
-0.11620569974184036,
0.6304793357849121,
-0.4271475374698639,
-0.09764597564935684,
0.5148835778236389,
0.9469397068023682,
-0.3951595425605774,
-0.34546902775764465,
-1.0769848823547363,
0.10490557551383972,
0.3503153920173645,
-0.18943801522254944... |
css/reference/properties/writing-mode/index.md | CSS - Properties - writing-mode - Examples - Using multiple writing modes - CSS:
Example:
table {
border-collapse: collapse;
}
td,
th {
border: 2px black solid;
padding: 4px;
}
th {
background-color: lightgray;
}
.experimental {
display: none;
}
.notice {
display: table-row;
font-weight: bold;
text-... | [
-0.18414555490016937,
0.015346039086580276,
-1.1169525384902954,
0.012127704918384552,
0.054305627942085266,
-0.6482467651367188,
-0.6876553893089294,
2.153583526611328,
-0.14291943609714508,
0.106593556702137,
0.6318802833557129,
-0.4570586085319519,
0.579595685005188,
0.25933143496513367... |
css/reference/properties/writing-mode/index.md | CSS - Properties - writing-mode - Examples - Using writing-mode with transforms:
If your browser doesn't support `sideways-lr`, a workaround is to use `transform` to achieve a similar effect depending on the script direction. The effect of `vertical-rl` is the same as with `sideways-lr`, so no transformation is requir... | [
-2.7151174545288086,
0.4612082242965698,
0.49572157859802246,
0.4076789915561676,
-0.8591468334197998,
0.8067102432250977,
1.2037732601165771,
1.5184286832809448,
0.6430912017822266,
-0.40471163392066956,
0.0227336548268795,
0.17791993916034698,
0.22490715980529785,
-0.44156116247177124,
... |
css/reference/properties/writing-mode/index.md | CSS - Properties - writing-mode - Examples - Using writing-mode with transforms - HTML:
Example:
<table>
<caption>
Using writing-mode with transforms
</caption>
<thead>
<tr>
<th>Vertical LR</th>
<th>Vertical LR with transform</th>
<th>Sideways LR</th>
<th>Only rotate</th>
</t... | [
-1.8426735401153564,
0.6553887724876404,
0.10155349969863892,
0.6543831825256348,
-0.7771292924880981,
0.369213342666626,
1.1240136623382568,
1.3000233173370361,
0.6026973128318787,
-0.10716326534748077,
-0.11154406517744064,
-0.5387881994247437,
-0.11235884577035904,
-0.504867434501648,
... |
css/reference/properties/writing-mode/index.md | CSS - Properties - writing-mode - Examples - Using writing-mode with transforms - CSS:
Example:
.vertical-lr {
writing-mode: vertical-lr;
}
.rotated {
transform: rotate(180deg);
}
.sideways-lr {
writing-mode: sideways-lr;
}
.only-rotate {
inline-size: fit-content;
transform: rotate(-90deg);
}
Example:
... | [
-1.457093358039856,
0.41720134019851685,
-0.3058023154735565,
0.15863977372646332,
0.18174898624420166,
0.14882871508598328,
0.04938586801290512,
0.9673008918762207,
-0.00479067862033844,
0.05313815549015999,
0.2890205383300781,
-0.40029558539390564,
0.10640253126621246,
0.6177238821983337... |
css/reference/properties/interest-delay-end/index.md | CSS - Properties - interest-delay-end:
The `interest-delay-end` CSS property specifies the delay between the user losing interest in an interest invoker element and the `loseinterest` event firing.
The `interest-delay-end` and `interest-delay-start` properties can both be set using the `interest-delay` shorthand. | [
0.20401959121227264,
-0.7954006791114807,
-0.9585428833961487,
-0.010246874764561653,
-0.7507162690162659,
-1.4173232316970825,
0.508328378200531,
1.134947657585144,
-0.06322543323040009,
0.4157211184501648,
0.13521093130111694,
0.20929783582687378,
-0.405795693397522,
-0.22907690703868866... |
css/reference/properties/interest-delay-end/index.md | CSS - Properties - interest-delay-end - Syntax:
Example:
/* Keyword or custom delay */
interest-delay-end: normal;
interest-delay-end: 2s;
interest-delay-end: 250ms;
/* Global values */
interest-delay-end: inherit;
interest-delay-end: initial;
interest-delay-end: revert;
interest-delay-end: revert-layer;
interest-de... | [
-0.038584206253290176,
0.0039253756403923035,
-0.02874145284295082,
-0.18494413793087006,
-1.3073428869247437,
-0.9853374361991882,
-0.3980776071548462,
0.9869288206100464,
-0.009552352130413055,
0.14837534725666046,
-0.4947361648082733,
1.3141812086105347,
-0.23919381201267242,
-0.0428752... |
css/reference/properties/interest-delay-end/index.md | CSS - Properties - interest-delay-end - Syntax - Values:
This property is specified as one `<time>` value or the keyword `normal`:
- `normal`: Sets the delay to the browser's default delay. This is the initial value.
- `<time>`: Sets the delay to a specific duration. The value must be positive, otherwise the prope... | [
-0.2406006157398224,
-0.26126784086227417,
-0.30037111043930054,
0.03423567861318588,
-0.7779180407524109,
-0.606766939163208,
0.8517336249351501,
1.528720736503601,
0.39558103680610657,
-0.40108194947242737,
-0.4092751443386078,
0.49842947721481323,
-0.18730749189853668,
-0.20286230742931... |
css/reference/properties/interest-delay-end/index.md | CSS - Properties - interest-delay-end - Examples - Creating a basic `interest-delay-end` effect:
In this example, we demonstrate how `interest-delay-end` affects interest invoker behavior. | [
0.5872384905815125,
-0.08193706721067429,
-0.4442542493343353,
-0.12025221437215805,
-1.3372303247451782,
-0.8742069602012634,
1.2346761226654053,
1.1096951961517334,
0.07694585621356964,
0.11036476492881775,
-0.19700200855731964,
0.08977177739143372,
-1.0134732723236084,
-0.77515590190887... |
css/reference/properties/interest-delay-end/index.md | CSS - Properties - interest-delay-end - Examples - Creating a basic `interest-delay-end` effect - HTML:
The markup includes a `button`, a `p`, and an `input` of type `checkbox`. We specify the `<button>` as an interest invoker by giving it the `interestfor` attribute, whose value matches the `id` of the `<p>` element.... | [
-0.7641013264656067,
0.4677634835243225,
0.014759290963411331,
-0.3315567970275879,
0.13799571990966797,
-1.6209478378295898,
0.4395553469657898,
0.8509621024131775,
-0.4408387839794159,
0.37517404556274414,
-0.09427491575479507,
0.3369687497615814,
-0.11210569739341736,
0.1807050406932830... |
css/reference/properties/interest-delay-end/index.md | CSS - Properties - interest-delay-end - Examples - Creating a basic `interest-delay-end` effect - CSS:
In the CSS, we specify a rule with a `.delay` selector that applies an `interest-delay-end` value of `2s` to any interest invoker the `delay` class is set on. We will set this on the `<button>` when the checkbox is c... | [
-0.4804792106151581,
-0.3019315004348755,
0.04008648544549942,
-0.4874173104763031,
-0.019700266420841217,
-1.673085331916809,
0.4608878195285797,
0.6492730975151062,
-0.5879929065704346,
0.44460004568099976,
-0.061982616782188416,
0.34054240584373474,
0.21808889508247375,
-0.0408000349998... |
css/reference/properties/interest-delay-end/index.md | CSS - Properties - interest-delay-end - Examples - Creating a basic `interest-delay-end` effect - JavaScript:
In our script, we get references to the `<button>` and the checkbox, then create an event listener that toggles the `delay` class on the `<button>` whenever the checkbox value changes (when it is checked or un... | [
0.2735581398010254,
-1.0418750047683716,
-0.151305690407753,
-0.2197614163160324,
-0.29241055250167847,
-1.475457787513733,
0.622600257396698,
0.8151150345802307,
-0.33892640471458435,
0.5094727277755737,
0.1976957768201828,
0.1700134426355362,
-0.8310421109199524,
-0.2834673821926117,
-... |
css/reference/properties/ruby-position/index.md | CSS - Properties - ruby-position:
The `ruby-position` CSS property defines the position of a ruby element relative to its base element. It can be positioned over the element (`over`), under it (`under`), or to the right (`inter-character`).
Example:
ruby-position: over;
Example:
ruby-position: under;
Example:
<s... | [
-1.129459023475647,
-0.25312936305999756,
-0.4229426980018616,
-0.18159566819667816,
0.16763797402381897,
-2.0242080688476562,
0.28447017073631287,
1.16828191280365,
0.6599521636962891,
0.3002414405345917,
0.18227627873420715,
0.2639187276363373,
0.5215457677841187,
0.3447509706020355,
-... |
css/reference/properties/ruby-position/index.md | CSS - Properties - ruby-position - Syntax:
Example:
/* Keyword values */
ruby-position: over;
ruby-position: under;
ruby-position: alternate;
ruby-position: alternate over;
ruby-position: alternate under;
ruby-position: inter-character;
/* Global values */
ruby-position: inherit;
ruby-position: initial;
ruby-positio... | [
-1.0485695600509644,
0.3985399603843689,
-0.28976064920425415,
0.6012036800384521,
-0.7336945533752441,
-0.7720783948898315,
0.47666478157043457,
2.0178496837615967,
0.8398226499557495,
-0.24311643838882446,
-0.5857240557670593,
0.45355403423309326,
-0.521860659122467,
0.34628719091415405,... |
css/reference/properties/ruby-position/index.md | CSS - Properties - ruby-position - Syntax - Values:
This property is specified as one of the following keyword values:
- `over`: Is a keyword indicating that the ruby has to be placed over the main text for horizontal scripts and right to it for vertical scripts.
- `under`: Is a keyword indicating that the ruby has... | [
-2.2886834144592285,
-0.4846973717212677,
-0.6070970892906189,
0.4950290322303772,
-0.012224376201629639,
-0.5264186263084412,
0.6612142324447632,
1.8470927476882935,
0.5163909196853638,
-0.41190603375434875,
0.21321602165699005,
0.4549850821495056,
-0.4237763583660126,
0.41006287932395935... |
css/reference/properties/ruby-position/index.md | CSS - Properties - ruby-position - Examples - Ruby positioned over the text - HTML:
Example:
<ruby>
<rb>超電磁砲</rb>
<rp>(</rp><rt>レールガン</rt><rp>)</rp>
</ruby> | [
-1.5424726009368896,
0.37909969687461853,
0.21235500276088715,
-0.20511090755462646,
-0.10211801528930664,
-1.1104001998901367,
0.26849713921546936,
1.4126664400100708,
0.48721009492874146,
0.3092424273490906,
-0.07529160380363464,
0.37239065766334534,
-0.12426045536994934,
-0.119982674717... |
css/reference/properties/ruby-position/index.md | CSS - Properties - ruby-position - Examples - Ruby positioned over the text - CSS:
Example:
ruby {
ruby-position: over;
} | [
-0.7736880779266357,
0.4599568247795105,
-0.8002817034721375,
0.2873988151550293,
-0.47525063157081604,
-0.6122675538063049,
0.7445189952850342,
1.994391679763794,
0.8674600720405579,
-0.049114592373371124,
0.21328924596309662,
0.22034740447998047,
-0.14697593450546265,
0.06560094654560089... |
css/reference/properties/ruby-position/index.md | CSS - Properties - ruby-position - Examples - Ruby positioned under the text - HTML:
Example:
<ruby>
<rb>超電磁砲</rb>
<rp>(</rp><rt>レールガン</rt><rp>)</rp>
</ruby> | [
-1.6261347532272339,
0.47187671065330505,
0.10025016963481903,
-0.2147125005722046,
-0.1187603697180748,
-1.1848841905593872,
0.4938141703605652,
1.4998351335525513,
0.44975215196609497,
0.4077412486076355,
0.016087189316749573,
0.4834491014480591,
-0.1196516901254654,
-0.13053050637245178... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.