file stringlengths 16 94 | text stringlengths 32 24.4k | vector list |
|---|---|---|
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Description - Understanding overflow values - The `clip` value:
With `clip`, content that overflows is by default hidden, there are no scroll bars, and programmatic scrolling is not possible. The element is not a scroll container and no new formatting context is created. If the clipped co... | [
-0.8862420320510864,
-0.29309579730033875,
-0.1243581771850586,
-0.059148773550987244,
0.5290253162384033,
-1.2470940351486206,
0.4243282973766327,
1.9301047325134277,
-0.4572560489177704,
0.3880106806755066,
0.41702160239219666,
0.24183309078216553,
-0.2378082573413849,
0.2590841948986053... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Description - Understanding overflow values - With scroll-driven animations:
When creating scroll-driven animations using the `scroll()` function, consider using `clip` instead of `hidden` if there is no interactive content within the clipped area, unless you explicitly want to create a s... | [
-1.26746666431427,
-0.44558924436569214,
-0.2744605839252472,
-0.5006850957870483,
0.5764581561088562,
-1.094801664352417,
-0.1230243369936943,
1.5427528619766235,
-0.44287699460983276,
0.4080508053302765,
0.7615832686424255,
-0.043267007917165756,
0.16914978623390198,
0.3938952684402466,
... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Description - Overflowing replaced elements:
Setting `overflow` on images and other `replaced elements` works as expected in browsers that support CSS Overflow Module Level 4; in previous versions of the specification, replaced elements were always clipped to the bounding container.
See ... | [
-0.8844200372695923,
-0.15745759010314941,
-1.4450751543045044,
0.2520619332790375,
0.5285559892654419,
-1.3439747095108032,
1.111913800239563,
1.3706862926483154,
-0.27150899171829224,
-0.21263985335826874,
0.1773887723684311,
-0.5437320470809937,
0.364563912153244,
0.5278801321983337,
... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Accessibility:
In some browsers, scrolling content areas are not keyboard-focusable, so they cannot be scrolled by a keyboard-only user. To ensure all keyboard-only users can scroll the container, enable the element to receive focus by setting `tabindex="0"` on the container. To give scre... | [
-1.095908522605896,
-0.033184513449668884,
-0.34765106439590454,
-0.1776387095451355,
0.5084775686264038,
-0.6959397792816162,
-0.3115348219871521,
1.0806958675384521,
0.3426310420036316,
0.009528763592243195,
0.5104781985282898,
-0.56034255027771,
0.004158329218626022,
0.3178063631057739,... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Examples - Demonstrating results of various overflow keywords - HTML:
Example:
<div>
<code>visible</code>
<p class="visible">
Maya Angelou: "I've learned that people will forget what you said, people
will forget what you did, but people will never forget how you made them
... | [
-0.8380327820777893,
-0.15419214963912964,
0.16217036545276642,
-0.2586985230445862,
0.7556513547897339,
-1.672528862953186,
0.593860924243927,
1.2529164552688599,
0.09186187386512756,
0.08632732927799225,
-0.1338108479976654,
0.26734814047813416,
0.19605998694896698,
-0.1497330516576767,
... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Examples - Demonstrating results of various overflow keywords - CSS:
Example:
body {
display: flex;
flex-wrap: wrap;
justify-content: start;
}
div {
margin: 2em;
font-size: 1.2em;
}
p {
width: 5em;
height: 5em;
border: dotted;
margin-top: 0.5em;
}
div:nth-of-type(5),... | [
-0.45145654678344727,
0.586651086807251,
-0.42171987891197205,
-0.4337504208087921,
0.64778733253479,
-1.0094401836395264,
-0.21396349370479584,
1.2860535383224487,
-1.0294435024261475,
-0.22654885053634644,
0.7021139860153198,
-0.32673659920692444,
-0.5736038684844971,
0.20490464568138123... |
css/reference/properties/animation-direction/index.md | CSS - Properties - animation-direction:
The `animation-direction` CSS property sets whether an animation should play forward, backward, or alternate back and forth between playing the sequence forward and backward.
It is often convenient to use the shorthand property `animation` to set all animation properties at onc... | [
-0.3365635573863983,
-0.25618356466293335,
-0.78228759765625,
-0.03373992070555687,
0.19502201676368713,
-1.4103376865386963,
-0.7116420269012451,
1.4710564613342285,
-0.5702766180038452,
-0.08573335409164429,
0.662257969379425,
-0.4915508031845093,
-0.5923117995262146,
0.3052308261394501,... |
css/reference/properties/animation-direction/index.md | CSS - Properties - animation-direction - Syntax:
Example:
/* Single animation */
animation-direction: normal;
animation-direction: reverse;
animation-direction: alternate;
animation-direction: alternate-reverse;
/* Multiple animations */
animation-direction: normal, reverse;
animation-direction: alternate, reverse, ... | [
-1.5964329242706299,
-0.613175094127655,
0.0921286940574646,
0.1614253968000412,
-0.9146175384521484,
-0.6196540594100952,
-0.1237708330154419,
1.7075996398925781,
0.440421998500824,
-0.2947968542575836,
-0.5187603831291199,
-0.78377765417099,
-0.28536930680274963,
0.10714749991893768,
-... |
css/reference/properties/animation-direction/index.md | CSS - Properties - animation-direction - Syntax - Values:
This property is specified as a comma-separated list of the following keyword values:
- `normal`: The animation plays forwards each cycle. In other words, each time the animation cycles, the animation will reset to the beginning state and start over again. Thi... | [
-0.4679163098335266,
-0.04916424676775932,
-1.3414639234542847,
0.7048551440238953,
0.4530603289604187,
-0.8459904789924622,
-0.25064119696617126,
1.0054636001586914,
-0.7235678434371948,
0.10350044071674347,
-0.1538669764995575,
-0.06207165867090225,
-0.1185910701751709,
0.577797055244445... |
css/reference/properties/animation-direction/index.md | CSS - Properties - animation-direction - Examples - Reversing the animation direction - HTML:
Example:
<div class="box"></div> | [
-1.5489503145217896,
-0.26034826040267944,
0.03027290850877762,
0.16017238795757294,
-0.9245367050170898,
-0.1796596199274063,
0.5059395432472229,
1.4255841970443726,
-0.168557271361351,
-0.1005110889673233,
-0.3641612231731415,
-0.6272176504135132,
-0.5608990788459778,
-0.3973252177238464... |
css/reference/properties/animation-direction/index.md | CSS - Properties - animation-direction - Examples - Reversing the animation direction - CSS:
Example:
.box {
background-color: rebeccapurple;
border-radius: 10px;
width: 100px;
height: 100px;
}
.box:hover {
animation-name: rotate;
animation-duration: 0.7s;
animation-direction: reverse;
}
@keyframes ro... | [
-1.4270448684692383,
0.26512211561203003,
-0.14579233527183533,
-0.17978328466415405,
-0.3833511769771576,
-0.23137781023979187,
0.19006194174289703,
0.5391400456428528,
-0.49657508730888367,
0.5374913215637207,
-0.35711345076560974,
-0.8335917592048645,
-0.3203929662704468,
0.606353878974... |
css/reference/properties/all/index.md | CSS - Properties - all:
The `all` shorthand CSS property resets all of an element's properties except `unicode-bidi`, `direction`, and CSS Custom Properties. It can set properties to their initial or inherited values, or to the values specified in another cascade layer or stylesheet origin.
Example:
/* no all proper... | [
0.12681598961353302,
0.3895479440689087,
-1.1928389072418213,
-0.2550849914550781,
0.1405200958251953,
-1.667088508605957,
0.10969759523868561,
1.89716374874115,
0.059822335839271545,
0.002112114802002907,
0.19148415327072144,
0.6413019299507141,
-0.19416077435016632,
-0.00322689488530159,... |
css/reference/properties/all/index.md | CSS - Properties - all - Constituent properties:
This property is a shorthand for all CSS properties except for `unicode-bidi`, `direction`, and custom properties. | [
-1.2857129573822021,
-0.00690657552331686,
-1.3206837177276611,
1.2398327589035034,
-0.2038278877735138,
-2.4921886920928955,
0.7481966614723206,
1.0988318920135498,
0.8572787046432495,
0.011936826631426811,
-0.5887765288352966,
0.1542782485485077,
0.41299402713775635,
-0.07779879868030548... |
css/reference/properties/all/index.md | CSS - Properties - all - Syntax:
Example:
/* Global values */
all: initial;
all: inherit;
all: unset;
all: revert;
all: revert-layer; | [
-0.04376743361353874,
0.9771544933319092,
-0.26784706115722656,
0.42482492327690125,
-1.0248830318450928,
-1.5294876098632812,
1.0664842128753662,
1.7868951559066772,
0.3226982355117798,
-0.21967938542366028,
-0.7886016964912415,
0.7981170415878296,
0.04073183983564377,
0.24394413828849792... |
css/reference/properties/all/index.md | CSS - Properties - all - Syntax - Values:
The `all` property is specified as one of the CSS global keyword values. Note that none of these values affect the `unicode-bidi` and `direction` properties.
- `initial`: Specifies that all the element's properties should be changed to their initial values.
- `inherit`: Speci... | [
-0.0779014527797699,
0.7314226627349854,
-1.5572268962860107,
-0.00011473149061203003,
0.19201186299324036,
-2.1418871879577637,
-0.20382662117481232,
1.4998583793640137,
0.2771335244178772,
-0.5934760570526123,
0.3079918920993805,
-0.048367634415626526,
-0.15359485149383545,
0.38812780380... |
css/reference/properties/all/index.md | CSS - Properties - all - Examples:
In this example, the CSS file contains styling for the `blockquote` element in addition to some styling for the parent `<body>` element. Various outputs in the Results subsection demonstrate how the styling of the `<blockquote>` element is affected when different values are applied t... | [
-1.2558541297912598,
0.33542686700820923,
-1.4458998441696167,
0.5608492493629456,
-0.5973033308982849,
-1.9017868041992188,
0.5617404580116272,
1.1054338216781616,
0.3943418562412262,
0.01361135859042406,
0.12404473125934601,
0.8233341574668884,
-0.18685749173164368,
0.3725884258747101,
... |
css/reference/properties/all/index.md | CSS - Properties - all - Examples - HTML:
Example:
<blockquote id="quote">
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</blockquote>
Phasellus eget velit sagittis. | [
-0.4585144817829132,
0.6791302561759949,
-0.2871469557285309,
-0.3408488929271698,
-0.5566157698631287,
-1.3595315217971802,
0.7257336378097534,
0.8506928086280823,
0.21520745754241943,
-0.42802879214286804,
0.7791191339492798,
0.6167830228805542,
-0.3457958698272705,
-0.47175687551498413,... |
css/reference/properties/all/index.md | CSS - Properties - all - Examples - CSS:
Example:
body {
font-size: small;
background-color: #f0f0f0;
color: blue;
margin: 0;
padding: 0;
}
blockquote {
background-color: skyblue;
color: red;
} | [
-1.3465105295181274,
1.0318907499313354,
-0.4015255570411682,
-0.8900842070579529,
-0.11454170197248459,
-1.094050645828247,
1.2151914834976196,
1.187589406967163,
0.36845633387565613,
0.34677737951278687,
-0.4000917375087738,
-0.03987915813922882,
0.47536057233810425,
-0.17827194929122925... |
css/reference/properties/all/index.md | CSS - Properties - all - Examples - CSS - A. No `all` property:
Example:
<blockquote id="quote">
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</blockquote>
Phasellus eget velit sagittis.
Example:
body {
font-size: small;
background-color: #f0f0f0;
color: blue;
}
blockquote {
background-color: ... | [
-0.7809999585151672,
0.7039251327514648,
-0.12468132376670837,
0.024177975952625275,
-0.18857944011688232,
-1.445344090461731,
0.7914342880249023,
1.4396027326583862,
0.5943260192871094,
-0.05979520082473755,
0.056937187910079956,
0.23489072918891907,
-0.3243343234062195,
-0.18145726621150... |
css/reference/properties/all/index.md | CSS - Properties - all - Examples - CSS - B. `all: initial`:
Example:
<blockquote id="quote">
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</blockquote>
Phasellus eget velit sagittis.
Example:
body {
font-size: small;
background-color: #f0f0f0;
color: blue;
}
blockquote {
background-color: sky... | [
-0.5736854076385498,
0.692676842212677,
-0.1431903839111328,
-0.6703795790672302,
-0.2874123454093933,
-1.7670261859893799,
0.6878647804260254,
1.2934136390686035,
0.7016973495483398,
0.16571269929409027,
-0.30902957916259766,
-0.06240368261933327,
-0.26495394110679626,
-0.4500765800476074... |
css/reference/properties/all/index.md | CSS - Properties - all - Examples - CSS - C. `all: inherit`:
Example:
<blockquote id="quote">
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</blockquote>
Phasellus eget velit sagittis.
Example:
body {
font-size: small;
background-color: #f0f0f0;
color: blue;
}
blockquote {
background-color: sky... | [
-0.9045982360839844,
0.40673166513442993,
-0.2710728347301483,
-0.3918641209602356,
0.22587326169013977,
-1.5474562644958496,
0.336670845746994,
1.6973930597305298,
0.049399375915527344,
-0.005376195535063744,
0.4491976201534271,
-0.08730803430080414,
-0.13148294389247894,
0.40939649939537... |
css/reference/properties/all/index.md | CSS - Properties - all - Examples - CSS - D. `all: unset`:
Example:
<blockquote id="quote">
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</blockquote>
Phasellus eget velit sagittis.
Example:
body {
font-size: small;
background-color: #f0f0f0;
color: blue;
}
blockquote {
background-color: skybl... | [
-0.6600011587142944,
0.6342801451683044,
-0.4756318926811218,
-0.588486909866333,
0.002841770648956299,
-1.3391449451446533,
0.16773706674575806,
1.7622954845428467,
0.31474053859710693,
0.1673094928264618,
0.31549620628356934,
0.15198634564876556,
-0.02027997188270092,
0.3546430766582489,... |
css/reference/properties/all/index.md | CSS - Properties - all - Examples - CSS - E. `all: revert`:
Example:
<blockquote id="quote">
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</blockquote>
Phasellus eget velit sagittis.
Example:
body {
font-size: small;
background-color: #f0f0f0;
color: blue;
}
blockquote {
background-color: skyb... | [
-1.0911953449249268,
1.0750746726989746,
-0.20374250411987305,
-0.31867262721061707,
-0.1886337846517563,
-1.8710229396820068,
0.9567642211914062,
1.2717602252960205,
0.7736137509346008,
-0.04837572202086449,
-0.5381262302398682,
0.7634882926940918,
-0.31083664298057556,
0.1989725828170776... |
css/reference/properties/all/index.md | CSS - Properties - all - Examples - CSS - F. `all: revert-layer`:
Example:
<blockquote id="quote">
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</blockquote>
Phasellus eget velit sagittis.
Example:
body {
font-size: small;
background-color: #f0f0f0;
color: blue;
}
blockquote {
background-color... | [
-0.3445431590080261,
0.4220496416091919,
-0.6500019431114197,
-0.5999727845191956,
0.6434053778648376,
-2.2681145668029785,
-0.00528714619576931,
1.3725550174713135,
-0.007512688636779785,
0.04905396327376366,
0.42895373702049255,
-0.2126208245754242,
-0.3355061113834381,
0.643008887767791... |
css/reference/properties/scroll-marker-group/index.md | CSS - Properties - scroll-marker-group:
The `scroll-marker-group` CSS property controls whether a `scroll container` element has a `::scroll-marker-group` pseudo-element generated. If present, the property also specifies whether the scroll marker group should be placed `before` or `after` the contents of the scroll gr... | [
-0.9073237776756287,
0.04438289999961853,
-0.7412823438644409,
0.04907703399658203,
0.6784834265708923,
-1.6176183223724365,
-0.11316953599452972,
1.293128252029419,
-0.0490264892578125,
0.46289050579071045,
0.5496055483818054,
0.3553085923194885,
-0.43701183795928955,
0.42080703377723694,... |
css/reference/properties/scroll-marker-group/index.md | CSS - Properties - scroll-marker-group - Syntax:
Example:
/* Single values */
scroll-marker-group: before;
scroll-marker-group: after;
scroll-marker-group: none;
/* Global values */
scroll-marker-group: inherit;
scroll-marker-group: initial;
scroll-marker-group: revert;
scroll-marker-group: revert-layer;
scroll-mark... | [
-1.927515983581543,
0.7415578961372375,
0.08894513547420502,
-0.12239769101142883,
0.37735918164253235,
-0.5531789064407349,
0.11851686239242554,
0.998254656791687,
-0.31817930936813354,
-0.31714919209480286,
-0.060057464987039566,
-0.3329530656337738,
0.010182034224271774,
0.0069131404161... |
css/reference/properties/scroll-marker-group/index.md | CSS - Properties - scroll-marker-group - Syntax - Values:
This property is specified as one of the following keyword values:
- `after`: A `::scroll-marker-group` pseudo-element is generated as a sibling of the scroll container's child DOM elements, immediately preceding them, and any generated `::scroll-button()` pse... | [
-0.6128217577934265,
-0.19051304459571838,
-0.8125713467597961,
0.1494329571723938,
0.7694655656814575,
-0.901131808757782,
0.08423737436532974,
1.1838229894638062,
-0.3166869282722473,
0.4198305606842041,
0.7166485786437988,
0.6986997723579407,
-0.2758678197860718,
0.4327731430530548,
-... |
css/reference/properties/scroll-marker-group/index.md | CSS - Properties - scroll-marker-group - Examples:
See Creating CSS carousels for full examples that use the `scroll-marker-group` property. | [
-1.5818543434143066,
0.6109392642974854,
-0.9967371225357056,
0.5633971691131592,
-0.08491593599319458,
-0.4884733557701111,
0.65362149477005,
1.3980698585510254,
0.3583553731441498,
0.25738006830215454,
0.4370734393596649,
0.672197699546814,
0.0063214972615242004,
-0.2916446030139923,
0... |
css/reference/properties/scroll-marker-group/index.md | CSS - Properties - scroll-marker-group - Examples - Placement of the scroll markers:
In this example, we demonstrate the three values of the `scroll-marker-group` property. | [
-1.5593600273132324,
0.17692658305168152,
-1.4491883516311646,
-0.06368201971054077,
-0.415029913187027,
0.13256444036960602,
1.202843427658081,
1.7480213642120361,
0.6027575135231018,
-0.18639187514781952,
0.2638551890850067,
0.9766668081283569,
0.13924303650856018,
-0.7726402282714844,
... |
css/reference/properties/scroll-marker-group/index.md | CSS - Properties - scroll-marker-group - Examples - Placement of the scroll markers - HTML:
We have a basic HTML `ul` list with several `li` list items.
Example:
<fieldset>
<legend>Select <code>scroll-marker-group</code> value:</legend>
<label><input type="radio" name="p" value="before" />before</label>
<label... | [
-1.8627800941467285,
0.05937916785478592,
-1.1112878322601318,
0.32657694816589355,
0.9659643173217773,
-0.4644719064235687,
0.7903332114219666,
1.5308434963226318,
-0.6573543548583984,
0.19126972556114197,
0.4338724613189697,
0.36337780952453613,
0.30048903822898865,
0.03121212124824524,
... |
css/reference/properties/scroll-marker-group/index.md | CSS - Properties - scroll-marker-group - Examples - Placement of the scroll markers - CSS:
We convert our `<ul>` into a carousel by setting the `display` to `flex`, creating a single, non-wrapping row of `<li>` elements. The `overflow-x` property is set to `auto`, meaning if the items overflow their container on the x... | [
-1.2738301753997803,
0.38052481412887573,
-0.6898564100265503,
0.148487851023674,
1.0950828790664673,
-0.8169981837272644,
-0.4347095489501953,
2.0014262199401855,
-0.14863452315330505,
0.16317738592624664,
0.7013569474220276,
0.7792975306510925,
-0.03240101784467697,
0.4507700800895691,
... |
css/reference/properties/background-attachment/index.md | CSS - Properties - background-attachment:
The `background-attachment` CSS property sets whether a background image's position is fixed within the `viewport`, or scrolls with its containing block.
Example:
background-attachment: scroll;
Example:
background-attachment: fixed;
Example:
background-attachment: local;... | [
-1.6167196035385132,
-0.16035406291484833,
-0.5385356545448303,
-0.6898338794708252,
0.3937876224517822,
-1.849784016609192,
0.6389227509498596,
1.4052735567092896,
0.005126066505908966,
0.09394148737192154,
-0.5209498405456543,
0.41662994027137756,
0.20649337768554688,
0.868226170539856,
... |
css/reference/properties/background-attachment/index.md | CSS - Properties - background-attachment - Syntax:
Example:
/* Keyword values */
background-attachment: scroll;
background-attachment: fixed;
background-attachment: local;
/* Global values */
background-attachment: inherit;
background-attachment: initial;
background-attachment: revert;
background-attachment: revert-... | [
-1.381555438041687,
0.28679025173187256,
-0.15483321249485016,
-0.1501990109682083,
-0.38374021649360657,
-1.5066090822219849,
0.983916163444519,
1.6960889101028442,
0.04553428292274475,
-0.10593231767416,
-0.819232702255249,
0.4835989475250244,
-0.22084636986255646,
0.3761959969997406,
... |
css/reference/properties/background-attachment/index.md | CSS - Properties - background-attachment - Syntax - Values:
This property is specified as one or more comma-separated keyword values:
- `fixed`: The background is fixed relative to the viewport. Even if an element has a scrolling mechanism, the background doesn't move with the element. If set, the `background-origin`... | [
-1.0176506042480469,
-0.17991051077842712,
-1.0102437734603882,
-0.7962749600410461,
-0.08337479829788208,
-1.1958749294281006,
1.1751158237457275,
1.7439289093017578,
0.2700677514076233,
0.08634185791015625,
-0.6372960209846497,
0.4253661036491394,
0.007118672132492065,
0.648697018623352,... |
css/reference/properties/background-attachment/index.md | CSS - Properties - background-attachment - Examples - Basic example - HTML:
We include an unordered list (`ul`) with some list items ((`li`).
Example:
<ul>
<li>One fish</li>
<li>Two fish</li>
<li>Red fish</li>
<li>Blue fish</li>
<li>Black fish</li>
<li>Blue fish</li>
<li>Old fish</li>
<li>New fish.</... | [
-1.3231651782989502,
-0.04849328473210335,
-0.8226280212402344,
-0.2940262258052826,
0.4776555895805359,
-0.41964641213417053,
0.7576420307159424,
1.3026808500289917,
-1.071223258972168,
0.4328952431678772,
0.4998365640640259,
-0.30419567227363586,
-0.1405421793460846,
0.25918295979499817,... |
css/reference/properties/background-attachment/index.md | CSS - Properties - background-attachment - Examples - Basic example - CSS:
We define a `background-image` and set the `background-attachment` to `fixed`. We also include a `height`, `width`, and `overflow` to ensure the element scrolls.
Example:
ul {
background-image: url("star-solid.gif");
background-attachment... | [
-0.6049509644508362,
0.8576993346214294,
-1.0402400493621826,
-0.907896101474762,
0.5980188846588135,
-1.2378798723220825,
0.1637791246175766,
1.7418245077133179,
-0.9723941087722778,
-0.3838616609573364,
0.17468960583209991,
-0.3298054337501526,
-0.11283359676599503,
0.6438210606575012,
... |
css/reference/properties/background-attachment/index.md | CSS - Properties - background-attachment - Examples - Multiple background images:
This property supports multiple background images. You can specify a different `<attachment>` for each background, separated by commas. Each image is matched with the corresponding `<attachment>` type, from first specified to last. | [
-0.5831554532051086,
-0.22562915086746216,
-0.9431189298629761,
0.053217366337776184,
-0.4411175847053528,
-0.5967752933502197,
0.9257320165634155,
1.2827807664871216,
0.17944297194480896,
-1.0242501497268677,
-1.0800721645355225,
0.47196048498153687,
0.04881088435649872,
0.119971886277198... |
css/reference/properties/background-attachment/index.md | CSS - Properties - background-attachment - Examples - Multiple background images - HTML:
We include all of Dr. Seuss's poem.
Example:
<div>
<ul>
<li>One fish</li>
<li>Two fish</li>
<li>Red fish</li>
<li>Blue fish</li>
<li>Black fish</li>
<li>Blue fish</li>
<li>Old fish</li>
<li>New ... | [
-1.547226905822754,
0.695752739906311,
-0.28930342197418213,
-0.616525411605835,
0.2424798309803009,
-1.072917103767395,
0.13489072024822235,
1.5413668155670166,
-0.11127336323261261,
0.010657628998160362,
-0.39601996541023254,
-0.2485017329454422,
-0.17543533444404602,
0.2811008393764496,... |
css/reference/properties/background-attachment/index.md | CSS - Properties - background-attachment - Examples - Multiple background images - CSS:
We include a `height`, `width`, and `overflow` on the parent `div` to ensure the contents scroll.
We define two comma-separated background images on the list, and set the `background-attachment` to `fixed, scroll`, meaning the fir... | [
-1.4058246612548828,
0.46966105699539185,
-0.7678470611572266,
-0.3304402828216553,
1.0025488138198853,
-1.0839041471481323,
0.007343146950006485,
1.6743202209472656,
-0.7987581491470337,
-0.16805154085159302,
0.2273978888988495,
-0.3612857460975647,
-0.2007998526096344,
1.348306655883789,... |
css/reference/properties/word-spacing/index.md | CSS - Properties - word-spacing:
The `word-spacing` CSS property sets the spacing between words and between tags.
Example:
word-spacing: normal;
Example:
word-spacing: 1rem;
Example:
word-spacing: 4px;
Example:
word-spacing: 50%;
Example:
word-spacing: -0.4ch;
Example:
<section id="default-example">
<p i... | [
-0.5747973918914795,
0.15914307534694672,
-0.4516473412513733,
-0.6423504948616028,
0.5622965693473816,
-2.1473608016967773,
-0.5333823561668396,
1.1435154676437378,
0.052724629640579224,
-0.46126314997673035,
0.7143306732177734,
-0.29581019282341003,
-0.41899019479751587,
0.04927947372198... |
css/reference/properties/word-spacing/index.md | CSS - Properties - word-spacing - Syntax:
Example:
/* Keyword value */
word-spacing: normal;
/* <length> values */
word-spacing: 3px;
word-spacing: 0.3em;
word-spacing: 65%;
word-spacing: -1ex;
/* Global values */
word-spacing: inherit;
word-spacing: initial;
word-spacing: revert;
word-spacing: revert-layer;
word-s... | [
-1.4927071332931519,
0.44572994112968445,
0.3680109679698944,
-0.8502281308174133,
0.2180088758468628,
-1.5058554410934448,
0.2276093065738678,
1.532629132270813,
0.579218864440918,
-0.3095536231994629,
-0.9410486817359924,
0.36675143241882324,
-0.5043072700500488,
-0.43652722239494324,
... |
css/reference/properties/word-spacing/index.md | CSS - Properties - word-spacing - Syntax - Values:
This property is specified as the keyword `normal` or a `<length-percentage>`:
- `normal`: The normal inter-word spacing, as defined by the current font and/or the browser.
- `length-percentage`: Specifies extra spacing in addition to the intrinsic inter-word spacing... | [
-1.8124178647994995,
-0.7736068964004517,
-0.1414479911327362,
-0.795805811882019,
-0.12454637885093689,
-1.0810350179672241,
0.9416248202323914,
1.1991873979568481,
1.1750643253326416,
-0.35289931297302246,
-0.5782239437103271,
0.6230448484420776,
-0.4434332251548767,
0.008740603923797607... |
css/reference/properties/word-spacing/index.md | CSS - Properties - word-spacing - Accessibility:
A large positive or negative `word-spacing` value will make the sentences the styling is applied to unreadable. For text styled with a very large positive value, the words will be so far apart that it will no longer appear to be a sentence. For text styled with a large ... | [
-1.4730983972549438,
0.0810643881559372,
-0.29601049423217773,
-0.6120567917823792,
0.4658551812171936,
-1.6689969301223755,
0.57461017370224,
1.0119194984436035,
0.6728457808494568,
0.024948369711637497,
-0.8264573812484741,
-0.44121479988098145,
-0.3549952507019043,
-0.4454222619533539,
... |
css/reference/properties/word-spacing/index.md | CSS - Properties - word-spacing - Examples - Basic usage:
This example demonstrates basic usage of `word-spacing`. | [
0.14819711446762085,
0.4002257287502289,
-0.6751710176467896,
-0.4379027187824249,
-0.4731404781341553,
-0.636288046836853,
1.4329614639282227,
1.6420034170150757,
0.9978750944137573,
-0.5983917713165283,
-0.8006727695465088,
-0.32020458579063416,
-0.8629735708236694,
-0.5379096269607544,
... |
css/reference/properties/word-spacing/index.md | CSS - Properties - word-spacing - Examples - Basic usage - HTML:
Our HTML contains two paragraphs of text:
Example:
<p id="mozdiv1">Lorem ipsum dolor sit amet.</p>
<p id="mozdiv2">Lorem ipsum dolor sit amet.</p> | [
-0.7409296631813049,
-0.15181869268417358,
-0.14615729451179504,
0.3748530149459839,
-0.2330266535282135,
-1.6726667881011963,
0.20980949699878693,
0.03909285366535187,
-0.06423147767782211,
-0.014320025220513344,
-0.4073113799095154,
0.3191993534564972,
-0.08436284214258194,
-1.2419950962... |
css/reference/properties/word-spacing/index.md | CSS - Properties - word-spacing - Examples - Basic usage - CSS:
Our CSS applies a different `word-spacing` to each paragraph:
Example:
#mozdiv1 {
word-spacing: 15px;
}
#mozdiv2 {
word-spacing: 5em;
} | [
-0.5739096403121948,
-0.3922615647315979,
-0.37371182441711426,
-0.6559767127037048,
0.303335040807724,
-2.081381320953369,
0.6459736824035645,
0.43867215514183044,
0.04300537705421448,
-0.07055863738059998,
-0.7833213210105896,
-0.45320022106170654,
-0.7937827110290527,
-0.513127565383911... |
css/reference/properties/word-spacing/index.md | CSS - Properties - word-spacing - Examples - Comparing word-spacing set with length and percentage:
This example demonstrates that percentage `word-spacing` values are useful for responsive text sizing.
The code displays several paragraphs that have the same `word-spacing` set on text with increasing font size. We pr... | [
-1.9261621236801147,
0.1587543487548828,
0.5994479060173035,
-0.4041007161140442,
0.4649915099143982,
-1.15824294090271,
1.317212700843811,
1.061521053314209,
0.5655533671379089,
-0.21508565545082092,
-0.3962230086326599,
-0.07783012837171555,
-0.3539693355560303,
-0.02803591638803482,
-... |
css/reference/properties/word-spacing/index.md | CSS - Properties - word-spacing - Examples - Comparing word-spacing set with length and percentage - HTML:
The HTML contains several `p` elements containing text content, and an `<input type="checkbox">` that we'll use to toggle between a length `word-spacing` and a percentage `word-spacing` value.
Example:
<p class... | [
-1.4236516952514648,
-0.34489747881889343,
-0.1972927302122116,
0.039772748947143555,
0.3081966042518616,
-1.493806004524231,
0.7254578471183777,
1.0094534158706665,
-0.17521578073501587,
-0.1292976588010788,
-0.5003868341445923,
0.017325513064861298,
-0.7524627447128296,
-0.58876937627792... |
css/reference/properties/word-spacing/index.md | CSS - Properties - word-spacing - Examples - Comparing word-spacing set with length and percentage - CSS:
Our CSS starts by applying increasing `font-size` values to each successive paragraph:
Example:
html {
font-family: "Arial", sans-serif;
}
Example:
.x-small {
font-size: 0.8em;
}
.small {
font-size: 1.3... | [
-0.7585368156433105,
0.033363454043865204,
-0.6065654158592224,
-0.8368109464645386,
0.03714236617088318,
-1.6495752334594727,
0.8959308862686157,
1.2731726169586182,
0.2858006954193115,
0.09412417560815811,
0.2454487681388855,
-0.3048352897167206,
-0.7815196514129639,
-0.4290751814842224,... |
css/reference/properties/font-variant-east-asian/index.md | CSS - Properties - font-variant-east-asian:
The `font-variant-east-asian` CSS property controls the use of alternate glyphs for East Asian scripts, like Japanese and Chinese.
Example:
font-variant-east-asian: normal;
Example:
font-variant-east-asian: ruby;
Example:
font-variant-east-asian: jis78;
Example:
font... | [
-0.29260215163230896,
0.3373318314552307,
-0.3868899345397949,
-0.0634092316031456,
0.6052897572517395,
-1.8064690828323364,
-0.3024780750274658,
1.640773057937622,
-0.12804073095321655,
-0.016861671581864357,
0.8886513710021973,
0.020678892731666565,
-0.22015251219272614,
0.29315903782844... |
css/reference/properties/font-variant-east-asian/index.md | CSS - Properties - font-variant-east-asian - Syntax:
Example:
font-variant-east-asian: normal;
font-variant-east-asian: ruby;
font-variant-east-asian: jis78; /* <east-asian-variant-values> */
font-variant-east-asian: jis83; /* <east-asian-variant-values> */
font-variant-east-asian: jis90; /* <east-asian-variant-value... | [
-0.6633130311965942,
0.8118374943733215,
0.0000391397625207901,
-0.044013068079948425,
0.24732249975204468,
-0.7757939696311951,
-0.12889394164085388,
1.4630215167999268,
-0.09688374400138855,
0.07684959471225739,
0.3896319568157196,
-0.18361052870750427,
-0.6581118106842041,
0.22828575968... |
css/reference/properties/font-variant-east-asian/index.md | CSS - Properties - font-variant-east-asian - Syntax - Values:
This property is specified either as `normal` or `ruby` or as a space-separated list of the following values:
- `normal`: This keyword leads to the deactivation of the use of such alternate glyphs.
- `ruby`: This keyword forces the use of special glyphs fo... | [
-1.5745247602462769,
-0.01114061288535595,
-0.016879718750715256,
-0.13695135712623596,
0.22983509302139282,
-1.3470972776412964,
0.31344345211982727,
0.8328351974487305,
0.8844475746154785,
-0.3893674612045288,
-0.7120485901832581,
0.677149772644043,
0.22538414597511292,
-0.26194569468498... |
css/reference/properties/font-variant-east-asian/index.md | CSS - Properties - font-variant-east-asian - Examples - Setting East Asian glyph variants:
This example require font "Yu Gothic" installed in your OS, other fonts may not support OpenType features. | [
-0.7474900484085083,
0.13973598182201385,
-0.45042264461517334,
0.010719288140535355,
-0.16062086820602417,
-1.8099702596664429,
0.3440544307231903,
1.1911200284957886,
0.2192765474319458,
-0.41050824522972107,
0.5960582494735718,
0.1952274739742279,
0.31869956851005554,
-0.088636294007301... |
css/reference/properties/font-variant-east-asian/index.md | CSS - Properties - font-variant-east-asian - Examples - Setting East Asian glyph variants - HTML:
Example:
<table>
<thead></thead>
<tbody>
<tr>
<th>normal/jis78:</th>
<td>麹町</td>
<td class="jis78">麹町</td>
</tr>
<tr>
<th>normal/ruby:</th>
<td>しんかんせん</td>
<td class="r... | [
-1.324285626411438,
-0.22172634303569794,
0.07776354253292084,
-0.4550814628601074,
0.09181815385818481,
-1.3220142126083374,
0.7709616422653198,
0.55189448595047,
-0.3938192129135132,
0.2492154985666275,
0.08771097660064697,
0.29047051072120667,
0.3927161693572998,
0.3407452702522278,
0... |
css/reference/properties/font-variant-east-asian/index.md | CSS - Properties - font-variant-east-asian - Examples - Setting East Asian glyph variants - CSS:
Example:
tbody {
border: 0;
}
td {
font-family: "Yu Gothic", fantasy;
font-size: 20px;
}
th {
color: grey;
padding-right: 10px;
}
.ruby {
font-variant-east-asian: ruby;
}
.jis78 {
font-variant-east-asian:... | [
-0.9831098318099976,
0.5362706184387207,
-0.577653169631958,
-0.6651591658592224,
0.49268651008605957,
-1.2225829362869263,
0.2648279368877411,
1.3360246419906616,
-0.361481636762619,
-0.08500538021326065,
0.6672535538673401,
0.024292737245559692,
-0.10453566163778305,
-0.03050206787884235... |
css/reference/properties/border-top-width/index.md | CSS - Properties - border-top-width:
The `border-top-width` CSS property sets the width of the top border of an element.
Example:
border-top-width: thick;
Example:
border-top-width: 2em;
Example:
border-top-width: 4px;
Example:
border-top-width: 2ex;
Example:
border-top-width: 0;
Example:
<section class="d... | [
-0.320551335811615,
0.32567787170410156,
-0.9642854332923889,
-0.24490505456924438,
0.4107637405395508,
-1.7046294212341309,
0.5544883608818054,
1.4872561693191528,
-0.21145537495613098,
0.31777575612068176,
-0.5242455005645752,
0.8114702701568604,
-1.0278462171554565,
0.007103189826011658... |
css/reference/properties/border-top-width/index.md | CSS - Properties - border-top-width - Syntax:
Example:
/* Keyword values */
border-top-width: thin;
border-top-width: medium;
border-top-width: thick;
/* <length> values */
border-top-width: 10em;
border-top-width: 3vmax;
border-top-width: 6px;
/* Global keywords */
border-top-width: inherit;
border-top-width: init... | [
-1.3492728471755981,
0.6912766098976135,
0.0604042187333107,
-0.627720057964325,
0.5175354480743408,
-1.2997732162475586,
0.2352016568183899,
1.1117076873779297,
-0.15992656350135803,
-0.13142335414886475,
-1.0001516342163086,
0.44695746898651123,
-0.8876853585243225,
0.14849592745304108,
... |
css/reference/properties/border-top-width/index.md | CSS - Properties - border-top-width - Syntax - Values:
- `<line-width>`: Defines the width of the border, either as an explicit non-negative `<length>` or the keywords: `thin`, `medium`, or `thick`. The default is `medium`. | [
-0.7005370855331421,
-0.3828866481781006,
-1.0545778274536133,
-0.6918350458145142,
0.02644696831703186,
-0.5641002655029297,
0.07255040854215622,
1.6965972185134888,
0.5062394142150879,
-0.06325516849756241,
-1.0572766065597534,
0.9416021108627319,
-0.9130666851997375,
-0.3467909097671509... |
css/reference/properties/border-top-width/index.md | CSS - Properties - border-top-width - Examples - HTML:
Example:
<div>Element 1</div>
<div>Element 2</div> | [
-0.3936186134815216,
0.28196975588798523,
-0.13158193230628967,
-0.26132383942604065,
-0.5075186491012573,
-0.5545451641082764,
0.8218816518783569,
1.5482699871063232,
-0.0030016079545021057,
-0.5509203672409058,
-0.5250364542007446,
0.9029558300971985,
-0.7181400656700134,
-0.584095239639... |
css/reference/properties/border-top-width/index.md | CSS - Properties - border-top-width - Examples - CSS:
Example:
div {
border: 1px solid red;
margin: 1em 0;
}
div:nth-child(1) {
border-top-width: thick;
}
div:nth-child(2) {
border-top-width: 2em;
} | [
-0.915023148059845,
0.3441767692565918,
-0.298284649848938,
-0.8395710587501526,
-0.11247601360082626,
-0.6400810480117798,
1.0617649555206299,
1.5884387493133545,
-0.3733314275741577,
0.21642787754535675,
-0.008537627756595612,
1.1016968488693237,
-1.2837917804718018,
-0.20326420664787292... |
css/reference/properties/widows/index.md | CSS - Properties - widows:
The `widows` CSS property sets the minimum number of lines in a block container that must be shown at the top of a page, region, or column.
In typography, a widow is the last line of a paragraph that appears alone at the top of a page. (The paragraph is continued from a prior page.) | [
-1.1179841756820679,
-0.06071591377258301,
-1.0240974426269531,
-0.128789022564888,
0.09702208638191223,
-0.8593044281005859,
0.1645784080028534,
1.382534146308899,
-0.40741321444511414,
0.9103730320930481,
-0.6674945950508118,
-0.02010573074221611,
0.0003450196236371994,
0.876887202262878... |
css/reference/properties/widows/index.md | CSS - Properties - widows - Syntax:
Example:
/* <integer> values */
widows: 2;
widows: 3;
/* Global values */
widows: inherit;
widows: initial;
widows: revert;
widows: revert-layer;
widows: unset; | [
-0.424523264169693,
0.879430890083313,
-0.6355703473091125,
0.6244281530380249,
-0.594138503074646,
-1.0444846153259277,
0.7531022429466248,
2.2245802879333496,
-0.21780076622962952,
0.4745664894580841,
-1.1467061042785645,
0.4558151364326477,
0.04876121133565903,
-0.06890643388032913,
0... |
css/reference/properties/widows/index.md | CSS - Properties - widows - Syntax - Values:
This property is specified as one `<integer>`:
- `<integer>`: The minimum number of lines that can stay by themselves at the top of a new fragment after a fragmentation break. The value must be positive. | [
-0.7703602910041809,
0.01733463443815708,
-0.6355687975883484,
0.17295192182064056,
0.40743815898895264,
-1.0430585145950317,
0.7835264801979065,
1.4383740425109863,
-0.36587706208229065,
0.17506924271583557,
-1.0051765441894531,
0.31852903962135315,
0.29886841773986816,
0.3690390884876251... |
css/reference/properties/widows/index.md | CSS - Properties - widows - Examples - Controlling column widows - HTML:
Example:
<div>
<p>This is the first paragraph containing some text.</p>
<p>
This is the second paragraph containing some more text than the first one.
It is used to demonstrate how widows work.
</p>
<p>
This is the third para... | [
-1.1114192008972168,
0.20836123824119568,
-0.9613605737686157,
0.7835667133331299,
-0.37532588839530945,
-1.2783714532852173,
1.6600303649902344,
2.1500930786132812,
-0.2130124717950821,
0.9663684964179993,
-0.5467371940612793,
-0.30855661630630493,
-0.1931961178779602,
-0.1482590138912201... |
css/reference/properties/widows/index.md | CSS - Properties - widows - Examples - Controlling column widows - CSS:
Example:
div {
background-color: #8cffa0;
columns: 3;
widows: 2;
}
p {
background-color: #8ca0ff;
}
p:first-child {
margin-top: 0;
} | [
-1.3255616426467896,
0.030032500624656677,
-0.8969761729240417,
0.07354719936847687,
-0.5019181370735168,
-0.2814190089702606,
1.3557372093200684,
2.05814790725708,
-0.5328966379165649,
1.2786122560501099,
-0.6390218138694763,
-0.2500459551811218,
-0.3365628123283386,
-0.04460923373699188,... |
css/reference/properties/position-visibility/index.md | CSS - Properties - position-visibility:
The `position-visibility` CSS property enables conditionally hiding an anchor-positioned element depending on, for example, whether it is overflowing its containing element or the viewport. | [
-0.9576107859611511,
-1.2068488597869873,
-0.007220586761832237,
0.3354409635066986,
-0.19061654806137085,
-2.0215682983398438,
1.120105266571045,
1.3521456718444824,
0.4321194887161255,
0.4836801290512085,
-0.1998549848794937,
-0.49408623576164246,
-0.017259355634450912,
0.181835219264030... |
css/reference/properties/position-visibility/index.md | CSS - Properties - position-visibility - Syntax:
Example:
/* Single values */
position-visibility: always;
position-visibility: anchors-valid;
position-visibility: anchors-visible;
position-visibility: no-overflow;
/* Global values */
position-visibility: inherit;
position-visibility: initial;
position-visibility: r... | [
-0.5632356405258179,
0.08468176424503326,
-0.07073010504245758,
0.1647411733865738,
-0.5806705951690674,
-1.409311056137085,
0.7911045551300049,
1.5080947875976562,
0.9798973798751831,
-0.07886145263910294,
-0.12691739201545715,
-0.18798479437828064,
0.6966260671615601,
0.17262038588523865... |
css/reference/properties/position-visibility/index.md | CSS - Properties - position-visibility - Syntax - Values:
This property is specified as one of the following keyword values:
- `always`: The positioned element is always displayed.
- `anchors-valid`: If the positioned element's `position-anchor` value doesn't point to a valid anchor element, the positioned element wi... | [
-0.25216060876846313,
-0.6942988634109497,
-0.2581334710121155,
-0.15788257122039795,
-0.23691129684448242,
-1.8983083963394165,
1.5392297506332397,
1.6747665405273438,
0.35311317443847656,
0.22089533507823944,
0.5381362438201904,
-0.06141850724816322,
-0.2513754963874817,
0.61972600221633... |
css/reference/properties/position-visibility/index.md | CSS - Properties - position-visibility - Description:
In some situations, you might not want to display an anchor-positioned element. For example, if its associated anchor has been scrolled offscreen but the anchor-positioned element would otherwise still be partially or fully visible, it might be unclear what it refe... | [
-0.0754350945353508,
0.09266935288906097,
-0.41417044401168823,
-0.20498095452785492,
0.2899896800518036,
-1.2239326238632202,
0.3171457052230835,
1.3192312717437744,
-0.5228370428085327,
0.40296608209609985,
0.39118462800979614,
-0.37340688705444336,
-0.2347010374069214,
0.885245382785797... |
css/reference/properties/position-visibility/index.md | CSS - Properties - position-visibility - Examples - Basic usage:
This example enables changing the value of an anchor positioned element's `position-visibility` property to demonstrate the effects of each value. | [
0.053461991250514984,
-0.6189649105072021,
-0.20990484952926636,
0.05230817198753357,
-0.8689737319946289,
-1.0299742221832275,
1.663398265838623,
1.5926907062530518,
1.1152247190475464,
-0.3644987642765045,
0.19405511021614075,
-0.49287867546081543,
-0.15897993743419647,
-0.24187445640563... |
css/reference/properties/position-visibility/index.md | CSS - Properties - position-visibility - Examples - Basic usage - HTML:
We specify two `div` elements: an anchor element with a class of `anchor` and a positioned element with a class of `infobox`.
Example:
<p>
Malesuada nunc vel risus commodo viverra maecenas accumsan lacus. Vel elit
scelerisque mauris pellente... | [
-1.1179325580596924,
-0.11410729587078094,
-0.45914942026138306,
0.14929600059986115,
0.37440821528434753,
-1.1674046516418457,
0.24752330780029297,
1.293065071105957,
-0.6655969023704529,
0.6092506051063538,
0.2988014221191406,
0.3995296061038971,
-0.4094199538230896,
0.21912983059883118,... |
css/reference/properties/position-visibility/index.md | CSS - Properties - position-visibility - Examples - Basic usage - CSS:
We style an `anchor` `<div>` as an anchor element and tether the `infobox` `<div>` to it. The relevant CSS is as follows:
Example:
body {
width: 50%;
margin: 0 auto;
}
.anchor {
font-size: 1.8rem;
color: white;
text-shadow: 1px 1px 1px... | [
-0.04617243632674217,
0.20506691932678223,
-0.5292078852653503,
-0.8975592851638794,
-0.028449520468711853,
-1.2256648540496826,
0.10270810127258301,
2.151108980178833,
-0.3349955976009369,
0.06132502853870392,
0.30640745162963867,
-0.28235024213790894,
-0.11144313216209412,
0.736686229705... |
css/reference/properties/position-visibility/index.md | CSS - Properties - position-visibility - Examples - Basic usage - JavaScript:
We include a `change` event handler on the radio buttons so that, when a new value is selected, we update the infobox's `position-visibility` property value.
Example:
const infobox = document.querySelector(".infobox");
const radios = docum... | [
-1.2211161851882935,
-0.39392057061195374,
-0.36836379766464233,
0.8026151657104492,
0.07041330635547638,
-1.485573649406433,
1.0021040439605713,
1.6897168159484863,
-0.5317693948745728,
0.34755218029022217,
-0.21839699149131775,
0.21644753217697144,
-0.15137863159179688,
-0.02901963144540... |
css/reference/properties/transform/index.md | CSS - Properties - transform:
The `transform` CSS property lets you rotate, scale, skew, or translate an element. It modifies the coordinate space of the CSS visual formatting model.
If the property has a value different from `none`, a stacking context will be created. In that case, the element will act as a containi... | [
0.6252353191375732,
-0.4930649995803833,
-1.051088809967041,
0.3995526134967804,
0.811226487159729,
-1.4872432947158813,
0.00877290964126587,
1.903761863708496,
-0.20782586932182312,
0.25077491998672485,
1.3286833763122559,
0.35103198885917664,
0.26957565546035767,
0.19250690937042236,
-... |
css/reference/properties/transform/index.md | CSS - Properties - transform - Syntax:
Example:
/* Keyword values */
transform: none;
/* Function values */
transform: matrix(1, 2, 3, 4, 5, 6);
transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
transform: perspective(17px);
transform: rotate(0.5turn);
transform: rotate3d(1, 2, 3, 10deg);
transfor... | [
-0.7922430038452148,
0.5100314021110535,
-0.7315592765808105,
-0.10714997351169586,
0.29482340812683105,
-0.30915364623069763,
0.506266176700592,
1.7360317707061768,
-0.11058156192302704,
0.27180078625679016,
-0.09663333743810654,
-0.038332901895046234,
-0.3938017189502716,
0.1919071674346... |
css/reference/properties/transform/index.md | CSS - Properties - transform - Syntax - Values:
This property is specified as either the keyword value `none` or as a space-separated list of `<transform-function>` values:
- `<transform-function>`: One or more of the CSS transform functions to be applied. The transform functions are combined from left to right... | [
-0.01516897976398468,
0.3624838888645172,
-1.6260480880737305,
-0.038891326636075974,
0.6992464661598206,
-0.8851081132888794,
0.2984701097011566,
1.978304147720337,
0.046043142676353455,
0.022111671045422554,
0.9513860940933228,
-0.5892232060432434,
-0.5000468492507935,
0.4192939698696136... |
css/reference/properties/transform/index.md | CSS - Properties - transform - Accessibility:
Scaling/zooming animations are problematic for accessibility, as they are a common trigger for certain types of migraine. If you need to include such animations on your website, you should provide a control to allow users to turn off animations, preferably site-wide.
Also... | [
-0.7342261075973511,
-0.5613440871238708,
-0.7062244415283203,
-0.06477268040180206,
-0.45944541692733765,
-1.0882705450057983,
0.9729604721069336,
1.0238674879074097,
-0.41640663146972656,
0.4963887333869934,
-0.42657801508903503,
-0.028249308466911316,
-0.26564279198646545,
-0.5006284713... |
css/reference/properties/transform/index.md | CSS - Properties - transform - Examples - Translating and rotating an element - HTML:
Example:
<div>Transformed element</div> | [
-0.6002844572067261,
0.31765609979629517,
-0.23859325051307678,
0.3491258919239044,
-0.5881156921386719,
-0.20118403434753418,
1.3246244192123413,
1.5491529703140259,
0.3218088746070862,
0.002091187983751297,
-0.1785130500793457,
-0.09775417298078537,
-0.8826311230659485,
-0.14975932240486... |
css/reference/properties/transform/index.md | CSS - Properties - transform - Examples - Translating and rotating an element - CSS:
Example:
div {
border: solid red;
transform: translate(30px, 20px) rotate(20deg);
width: 140px;
height: 60px;
} | [
-1.113292932510376,
0.12593184411525726,
-0.5702025890350342,
0.08817988634109497,
-0.4141181707382202,
0.4623546004295349,
1.19694983959198,
0.9757785797119141,
0.21117612719535828,
0.09703923761844635,
-0.11708798259496689,
0.7877367734909058,
-0.7316836714744568,
0.3354267477989197,
0... |
css/reference/properties/transform/index.md | CSS - Properties - transform - Examples - Comparing the order of transform functions:
The order of transform functions matters.
In this example, two boxes are rotated and translated by the same values, but the functions are in the opposite order. The dotted lines mark the X-axis before and after rotation. | [
-0.11839017271995544,
-0.29608824849128723,
-1.6312673091888428,
0.5641563534736633,
-0.5139837265014648,
0.2878211438655853,
0.42982301115989685,
1.3226391077041626,
0.21006324887275696,
0.16320301592350006,
-0.3265654742717743,
-1.3198295831680298,
-0.39950287342071533,
0.109586670994758... |
css/reference/properties/transform/index.md | CSS - Properties - transform - Examples - Comparing the order of transform functions - HTML:
Example:
<div class="original"></div>
<div class="one">1</div>
<div class="two">2</div> | [
-1.0463268756866455,
0.19688847661018372,
-0.8232706189155579,
0.13996633887290955,
-0.5887320041656494,
0.2271472066640854,
0.8086816072463989,
1.4756073951721191,
0.2130870819091797,
0.33039990067481995,
-0.6309852600097656,
-0.5421425104141235,
-0.3071078956127167,
-0.4092639684677124,
... |
css/reference/properties/transform/index.md | CSS - Properties - transform - Examples - Comparing the order of transform functions - CSS:
Example:
div {
height: 200px;
width: 200px;
position: absolute;
left: 200px;
top: 50px;
font-size: 4rem;
line-height: 200px;
text-align: center;
}
.original {
border: 1px dashed;
}
.original::before,
.origina... | [
-1.1236003637313843,
0.40353456139564514,
-1.0665028095245361,
-0.1866995394229889,
-0.48168301582336426,
-0.1416674554347992,
0.7874523401260376,
0.7160137891769409,
-0.055205315351486206,
0.45756256580352783,
-0.049734458327293396,
0.010935932397842407,
-0.6188751459121704,
0.74670255184... |
css/reference/properties/overflow-clip-margin/index.md | CSS - Properties - overflow-clip-margin:
The `overflow-clip-margin` CSS property determines how far outside its bounds an element with `overflow: clip` may be painted before being clipped. The bound defined by this property is called the overflow clip edge of the box. | [
-1.771405816078186,
-0.2355240434408188,
-0.6166106462478638,
-0.6228266954421997,
0.28769996762275696,
-1.9185993671417236,
-0.2525574266910553,
1.421981692314148,
-0.6867837309837341,
0.37952131032943726,
-0.2861923277378082,
0.3974413573741913,
-0.5137102603912354,
0.20020192861557007,
... |
css/reference/properties/overflow-clip-margin/index.md | CSS - Properties - overflow-clip-margin - Syntax:
Example:
/* <length> values */
overflow-clip-margin: 20px;
overflow-clip-margin: 1em;
/* <visual-box> | <length> */
overflow-clip-margin: content-box 5px;
/* Global values */
overflow-clip-margin: inherit;
overflow-clip-margin: initial;
overflow-clip-margin: revert;... | [
-1.6340725421905518,
0.3590923249721527,
-0.11264246702194214,
-0.5841408371925354,
-0.072231225669384,
-1.339186191558838,
0.31624266505241394,
1.9408609867095947,
-0.8447077870368958,
0.06772255897521973,
-0.29156193137168884,
0.5319847464561462,
-0.12538346648216248,
0.12293536961078644... |
css/reference/properties/overflow-clip-margin/index.md | CSS - Properties - overflow-clip-margin - Examples - HTML:
Example:
<div class="box">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
co... | [
-2.694366455078125,
0.12441255152225494,
0.40773338079452515,
-0.20644395053386688,
-0.25039243698120117,
-0.8826488852500916,
0.09901933372020721,
1.8282712697982788,
-0.598858118057251,
0.24071305990219116,
0.6451985239982605,
0.10898950695991516,
-0.44927966594696045,
-0.592247009277343... |
css/reference/properties/overflow-clip-margin/index.md | CSS - Properties - overflow-clip-margin - Examples - CSS:
Example:
.box {
border: 3px solid black;
width: 250px;
height: 100px;
overflow: clip;
overflow-clip-margin: 20px;
} | [
-1.428896427154541,
0.28198933601379395,
-0.3675277829170227,
-1.1664810180664062,
0.39408499002456665,
-0.38454291224479675,
0.8280256390571594,
1.4094161987304688,
-0.9397159814834595,
-0.03246655687689781,
0.04992382228374481,
0.3747234642505646,
0.0750945582985878,
0.07409970462322235,... |
css/reference/properties/border-block-start-width/index.md | CSS - Properties - border-block-start-width:
The `border-block-start-width` CSS property defines the width of the logical block-start border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width`, `bor... | [
-0.1270260065793991,
0.4953669309616089,
-0.7489838004112244,
-0.22418899834156036,
0.34108203649520874,
-1.0518814325332642,
-0.39622578024864197,
1.2830084562301636,
0.45979374647140503,
-0.5023077130317688,
-0.03630853816866875,
0.2703164517879486,
-0.6638442277908325,
0.782269537448883... |
css/reference/properties/border-block-start-width/index.md | CSS - Properties - border-block-start-width - Syntax:
Example:
/* <'line-width'> values */
border-block-start-width: 5px;
border-block-start-width: thick;
/* Global values */
border-block-start-width: inherit;
border-block-start-width: initial;
border-block-start-width: revert;
border-block-start-width: revert-layer... | [
0.35197189450263977,
1.2914847135543823,
-0.9332513213157654,
-0.5023276805877686,
-0.3764382004737854,
-0.8402690887451172,
0.033871471881866455,
2.0416977405548096,
0.7021121978759766,
-0.16467279195785522,
-1.1612582206726074,
0.9167505502700806,
-0.9295915961265564,
0.5130599141120911,... |
css/reference/properties/border-block-start-width/index.md | CSS - Properties - border-block-start-width - Syntax - Values:
- `<line-width>`: Defines the width of the border, either as an explicit non-negative `<length>` or the keywords: `thin`, `medium`, or `thick`. The default is `medium`. | [
-0.45869180560112,
-0.22456912696361542,
-1.215340256690979,
-0.8977142572402954,
-0.33803126215934753,
-0.3806173503398895,
-0.18010543286800385,
1.775651216506958,
0.9290359020233154,
-0.06749758869409561,
-0.9711468815803528,
0.8497730493545532,
-0.9658399224281311,
0.25890979170799255,... |
css/reference/properties/border-block-start-width/index.md | CSS - Properties - border-block-start-width - Examples - Border width with vertical text - HTML:
Example:
<div>
<p class="exampleText">Example text</p>
</div> | [
-0.7761032581329346,
0.5577241778373718,
-0.5489231944084167,
-0.19190363585948944,
-1.0794219970703125,
-0.2792823910713196,
0.8582515120506287,
1.8218413591384888,
0.5243147611618042,
-0.6454899311065674,
-0.5393946170806885,
0.7408768534660339,
-0.573529839515686,
0.06583215296268463,
... |
css/reference/properties/border-block-start-width/index.md | CSS - Properties - border-block-start-width - Examples - Border width with vertical text - CSS:
Example:
div {
background-color: yellow;
width: 120px;
height: 120px;
}
.exampleText {
writing-mode: vertical-lr;
border: 1px solid blue;
border-block-start-width: 5px;
} | [
-1.2757920026779175,
0.30575594305992126,
-0.6215532422065735,
-0.4555158317089081,
-0.4815978705883026,
0.2896668016910553,
0.30113229155540466,
1.426234483718872,
0.18545570969581604,
-0.3687962293624878,
-0.44902387261390686,
0.5617361068725586,
-0.04238913580775261,
0.544376015663147,
... |
css/reference/properties/box-orient/index.md | CSS - Properties - box-orient:
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. See flexbox for information about the current standard.
The `b... | [
-1.6042044162750244,
-0.9061000943183899,
-1.1080130338668823,
-0.3790914714336395,
-0.5984814763069153,
-1.357200026512146,
0.4798653721809387,
1.2812867164611816,
0.4864528775215149,
0.13451173901557922,
-0.10171166807413101,
-0.16139405965805054,
0.0166882686316967,
0.5962271690368652,
... |
css/reference/properties/box-orient/index.md | CSS - Properties - box-orient - Syntax:
Example:
/* Keyword values */
box-orient: horizontal;
box-orient: vertical;
box-orient: inline-axis;
box-orient: block-axis;
/* Global values */
box-orient: inherit;
box-orient: initial;
box-orient: unset; | [
-0.8808268308639526,
0.21208766102790833,
-0.5178964138031006,
-0.1149408295750618,
-0.9278028011322021,
-0.7969385385513306,
0.23469668626785278,
1.392678141593933,
0.8404106497764587,
-0.26844558119773865,
-0.3162159025669098,
-0.029231999069452286,
0.22395414113998413,
0.365321308374404... |
css/reference/properties/box-orient/index.md | CSS - Properties - box-orient - Syntax - Values:
This property is specified as one of the following keyword values:
- `horizontal`: The box lays out its contents horizontally.
- `vertical`: The box lays out its contents vertically.
- `inline-axis` (HTML): The box displays its children along the inline axis.
- `block-... | [
-1.365533471107483,
-0.6426371335983276,
-0.2507826089859009,
-0.13190332055091858,
-0.5315642356872559,
-0.5063400268554688,
0.566566526889801,
1.7074345350265503,
0.4190046489238739,
-0.34733131527900696,
-0.5872467756271362,
0.7635248899459839,
-0.3232302963733673,
0.543437123298645,
... |
css/reference/properties/box-orient/index.md | CSS - Properties - box-orient - Description:
HTML DOM elements lay out their contents along the inline-axis by default. This CSS property will only apply to HTML elements with a CSS `display` value of `box` or `inline-box`. | [
-0.9760472178459167,
-0.501114010810852,
-1.174448013305664,
-0.072968490421772,
-0.720753014087677,
-0.6346939206123352,
0.13914650678634644,
0.9836359024047852,
-0.16134032607078552,
0.16276265680789948,
-0.5387741327285767,
0.3749811351299286,
-0.43685147166252136,
0.3117571473121643,
... |
css/reference/properties/box-orient/index.md | CSS - Properties - box-orient - Examples - Setting horizontal box orientation:
Here, the `box-orient` property will cause the two `p` sections in the example to display in the same line. | [
-1.2523341178894043,
-0.36428162455558777,
-1.194900393486023,
0.35250794887542725,
-0.7275411486625671,
-0.0474444255232811,
0.20496390759944916,
1.9295434951782227,
0.9813406467437744,
-0.029951319098472595,
-0.8101549744606018,
0.05972057580947876,
0.23949337005615234,
0.205322831869125... |
css/reference/properties/box-orient/index.md | CSS - Properties - box-orient - Examples - Setting horizontal box orientation - HTML:
Example:
<div class="example">
<p>I will be to the left of my sibling.</p>
<p>I will be to the right of my sibling.</p>
</div> | [
-1.9525370597839355,
0.12777908146381378,
-0.5271608829498291,
0.3818245232105255,
-1.0000395774841309,
-0.925199031829834,
0.893530011177063,
1.2185802459716797,
1.2495027780532837,
-0.11791177093982697,
-0.3308084309101105,
-0.46166858077049255,
-0.16082479059696198,
-0.00415252521634101... |
css/reference/properties/box-orient/index.md | CSS - Properties - box-orient - Examples - Setting horizontal box orientation - CSS:
Example:
div.example {
display: -moz-box; /* Mozilla */
display: -webkit-box; /* WebKit */
display: box; /* As specified */
/* Children should be oriented vertically */
-moz-box-orient: horizontal; /* Mozilla */
-webkit-... | [
-1.319329023361206,
-0.07078644633293152,
-0.6251550912857056,
-0.31080466508865356,
-0.827522873878479,
-1.016248106956482,
1.297165036201477,
0.5285219550132751,
0.427919864654541,
-0.06442435830831528,
-0.16754081845283508,
-0.6894689202308655,
-0.2321258932352066,
0.6235594749450684,
... |
css/reference/properties/border-inline-start-style/index.md | CSS - Properties - border-inline-start-style:
The `border-inline-start-style` CSS property defines the style of the logical inline start border of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-style`, `... | [
-1.1713240146636963,
0.2486216127872467,
-1.0845868587493896,
0.1638903170824051,
0.6922746300697327,
-0.8000472784042358,
-0.17527510225772858,
1.6358366012573242,
0.7179100513458252,
-0.41443851590156555,
-0.277615487575531,
0.4716531038284302,
0.1578340381383896,
0.47203463315963745,
... |
css/reference/properties/border-inline-start-style/index.md | CSS - Properties - border-inline-start-style - Syntax:
Example:
/* Keyword values */
border-inline-start-style: dashed;
border-inline-start-style: dotted;
border-inline-start-style: groove;
/* Global values */
border-inline-start-style: inherit;
border-inline-start-style: initial;
border-inline-start-style: revert;
... | [
-0.08550281822681427,
0.7777069211006165,
-0.671704888343811,
-0.15705734491348267,
-0.17528373003005981,
-0.38992634415626526,
0.006847739219665527,
2.575873851776123,
0.3179088234901428,
0.14242562651634216,
-0.761276364326477,
0.9798904657363892,
-0.3838460445404053,
0.05030039697885513... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.