file stringlengths 16 94 | text stringlengths 32 24.4k | vector list |
|---|---|---|
css/reference/properties/column-rule-color/index.md | CSS - Properties - column-rule-color - Examples - Using the `repeat()` function:
This example demonstrates using the `repeat()` function within the `column-rule-color` property value and how this function can help prevent complex values from becoming unwieldy. | [
-1.7860385179519653,
0.5684754252433777,
-1.2835341691970825,
0.2578039765357971,
-0.619555652141571,
-1.1119968891143799,
1.5611763000488281,
1.8478667736053467,
-0.695688784122467,
0.03701702505350113,
-0.5089817047119141,
0.2698213458061218,
0.16777174174785614,
-0.28367361426353455,
... |
css/reference/properties/column-rule-color/index.md | CSS - Properties - column-rule-color - Examples - Using the `repeat()` function - HTML:
We include a list of authors:
Example:
<ul>
<li>Kimberlé Crenshaw</li>
<li>Angela Y. Davis</li>
<li>Bernardine Evaristo</li>
<li>Audre Lorde</li>
<li>Cathy Park Hong</li>
<li>Zoya Patel</li>
<li>Juno Mac</li>
<li>... | [
-1.6771703958511353,
0.2714667022228241,
-0.6594045758247375,
-0.4149273931980133,
-0.24614624679088593,
-1.655587077140808,
0.767651379108429,
-0.09322546422481537,
-0.3149902820587158,
0.6370571851730347,
0.03898071497678757,
0.6550809144973755,
-0.41142794489860535,
-0.1852700561285019,... |
css/reference/properties/column-rule-color/index.md | CSS - Properties - column-rule-color - Examples - Using the `repeat()` function - CSS:
We start by defining the list as a grid container, creating columns with the `grid-template-columns` property. We include a `gap` of `7px` to provide enough room between the columns to fit our `3px` dashed rule, and remove the bulle... | [
-1.7826405763626099,
0.47469720244407654,
-1.267236590385437,
0.051432833075523376,
0.30738547444343567,
-1.1367043256759644,
0.019099898636341095,
1.580268383026123,
-0.8776534199714661,
0.1996336728334427,
0.06849425286054611,
0.31072428822517395,
0.10386133193969727,
0.991909384727478,
... |
css/reference/properties/column-rule-color/index.md | CSS - Properties - column-rule-color - Examples - Using `auto` within `repeat()`:
This example demonstrates using `auto`, instead of an integer, within the `repeat()` function.
We use the same HTML and CSS as in the previous examples, but override the `column-rule-color` value. Here, we use `repeat(auto, <color>)` to... | [
-1.0239112377166748,
-0.07112811505794525,
-0.3552606701850891,
0.10198974609375,
0.2835666239261627,
-1.0063691139221191,
0.4670363664627075,
1.5370296239852905,
-0.7919014096260071,
0.5021640658378601,
0.060332171618938446,
-0.11562001705169678,
0.1478123813867569,
0.24547222256660461,
... |
css/reference/properties/row-rule/index.md | CSS - Properties - row-rule:
The `row-rule` shorthand CSS property sets the width, style, and color of the line drawn between rows in multi-row grid, flex, and multi-col layouts.
Example:
row-rule: solid;
Example:
row-rule: dotted medium blue;
Example:
row-rule:
dotted medium blue,
repeat(3, dashed magenta 1... | [
-0.7343641519546509,
-0.43901526927948,
-1.0204674005508423,
-0.21858827769756317,
0.26908859610557556,
-1.6027275323867798,
-0.3976214528083801,
1.6569411754608154,
-0.6160245537757874,
-0.03153160214424133,
0.3702870309352875,
-0.2087944746017456,
-0.38207343220710754,
0.1593464910984039... |
css/reference/properties/row-rule/index.md | CSS - Properties - row-rule - Constituent properties:
This property is a shorthand for the following CSS properties:
- `row-rule-color`
- `row-rule-style`
- `row-rule-width` | [
-1.1641159057617188,
0.49498605728149414,
-1.057384967803955,
0.11792978644371033,
-0.46587419509887695,
-1.9081145524978638,
0.9369920492172241,
2.5495574474334717,
0.31570857763290405,
-0.2030961811542511,
-0.7616158127784729,
0.1392456293106079,
-0.08146805316209793,
-0.4818805754184723... |
css/reference/properties/row-rule/index.md | CSS - Properties - row-rule - Syntax:
Example:
/* One value */
row-rule: dotted;
row-rule: solid 8px;
row-rule: solid blue;
row-rule: thick inset blue;
/* Multiple values */
row-rule: groove, dashed, solid;
row-rule:
dotted medium blue,
dashed magenta 1px,
outset green 5px;
row-rule:
solid #0ff,
repeat(3, ... | [
-0.7424252033233643,
-0.2806722819805145,
0.03803906589746475,
-0.2757125794887543,
-0.058777403086423874,
-0.8903356790542603,
0.28179049491882324,
1.8478093147277832,
0.18655815720558167,
-0.3292352557182312,
-0.8006916046142578,
-0.40935730934143066,
0.07303202897310257,
0.3483587503433... |
css/reference/properties/row-rule/index.md | CSS - Properties - row-rule - Syntax - Values:
The `row-rule` property accepts a comma-separated list of values, including:
- `<gap-rule>`: Specified as one, two, or three of the values listed below, in any order.
- `<'line-width'>`: A `<line-width>`: a positive `<length>` or one of the three keywords, ... | [
-1.1833029985427856,
0.05476053059101105,
-0.5708858370780945,
-0.4929332137107849,
0.5469790101051331,
-0.8746777772903442,
0.11432948708534241,
1.7655197381973267,
-0.4333135485649109,
-0.07399509102106094,
-0.36896827816963196,
0.3104393482208252,
-0.4208882749080658,
-0.221201926469802... |
css/reference/properties/row-rule/index.md | CSS - Properties - row-rule - Description:
The `row-rule` property defines the line style of any rule lines drawn in the gaps between rows in multi-column, flex, and grid containers with more than one row.
The `row-rule` is shorthand for `row-rule-color`, `row-rule-style`, and `row-rule-width`. The `row-rule`, along ... | [
-1.161087989807129,
-0.40119993686676025,
-0.5093536376953125,
-0.1796690821647644,
0.7055143117904663,
-0.8575091361999512,
-0.038144681602716446,
1.5730749368667603,
-0.3932439982891083,
0.25444266200065613,
-0.5508111119270325,
0.24385163187980652,
-0.34785735607147217,
0.10237118601799... |
css/reference/properties/row-rule/index.md | CSS - Properties - row-rule - Description - Repeated line styles:
The `repeat()` function, with an integer of `1` or greater as the first argument, can be used to repeat a valid list of CSS `<gap-rule>` values passed as subsequent arguments the specified number of times. This allows the same `<gap-rule>` to be repeate... | [
-0.5303829908370972,
-0.04002803564071655,
-1.2590281963348389,
0.0434003546833992,
1.1241841316223145,
-1.8368861675262451,
-0.6777974963188171,
1.8335604667663574,
-0.3014957904815674,
0.19120261073112488,
0.16851361095905304,
-0.23492126166820526,
-0.01889275386929512,
0.183123633265495... |
css/reference/properties/row-rule/index.md | CSS - Properties - row-rule - Description - Auto-repeating line styles:
The `repeat()` function also accepts `auto` as the first argument instead of a positive integer. With `auto` as the first argument, the `<gap-rule>` values passed as subsequent arguments will be repeated as many times as needed to fill in values f... | [
-0.8671096563339233,
-0.542179524898529,
-0.5104150176048279,
0.2463257908821106,
0.8888412117958069,
-1.1376745700836182,
0.27565041184425354,
1.6831451654434204,
-0.2550138235092163,
0.31243380904197693,
-0.06270577013492584,
0.09475843608379364,
-0.29554471373558044,
0.08187730610370636... |
css/reference/properties/row-rule/index.md | CSS - Properties - row-rule - Examples - Basic example:
In this example, we define a single rule for the lines drawn between flex items. | [
-1.0059541463851929,
-0.15706218779087067,
-1.328432559967041,
-0.07710769772529602,
-0.4531339704990387,
-0.3916795253753662,
0.3098859190940857,
2.5677011013031006,
0.07965011894702911,
-0.1880185604095459,
-0.6350275278091431,
-0.10032777488231659,
-0.23479774594306946,
-0.5354619026184... |
css/reference/properties/row-rule/index.md | CSS - Properties - row-rule - Examples - Basic example - HTML:
We include a list of dynamic sports duos:
Example:
<ul>
<li>Simone Biles + Jonathan Owens</li>
<li>Serena Williams + Venus Williams</li>
<li>Aaron Judge + Giancarlo Stanton</li>
<li>LeBron James + Dwyane Wade</li>
<li>Xavi Hernandez + Andres In... | [
-1.430885910987854,
0.09540979564189911,
-1.3193422555923462,
0.005823999643325806,
-0.30072179436683655,
-0.6507703065872192,
1.111089825630188,
0.9404531717300415,
0.602920413017273,
0.10801605135202408,
0.24661222100257874,
0.5458311438560486,
-0.006180295720696449,
-0.9061263799667358,... |
css/reference/properties/row-rule/index.md | CSS - Properties - row-rule - Examples - Basic example - CSS:
We define the list to be a flex container, creating rows by setting the `flex-direction` to `column` using the `flex-flow` shorthand. We include a `gap` of `5px` to provide enough room between the rows to fit our `3px dashed red` rule:
Example:
ul {
dis... | [
-1.7299704551696777,
-0.6640810966491699,
-0.8396280407905579,
-0.3900689482688904,
0.17795956134796143,
-0.9836935997009277,
0.46672219038009644,
1.9647983312606812,
-0.5258125066757202,
0.6300750374794006,
-0.23130449652671814,
0.08782215416431427,
-0.3804154694080353,
-0.044484205543994... |
css/reference/properties/row-rule/index.md | CSS - Properties - row-rule - Examples - Repeating values:
This example demonstrates how the values are repeated when there are fewer values in the list of styles than row rules. It also demonstrates the default values for the width, color, and style of `medium`, `currentcolor` and `none`, respectively.
Using the sam... | [
-1.4503544569015503,
0.3095896244049072,
-0.8147218823432922,
-0.23437027633190155,
0.07004214823246002,
-0.4752505421638489,
1.5604180097579956,
2.043909788131714,
-1.1008455753326416,
-0.24468016624450684,
-0.8884934186935425,
0.2995312511920929,
-0.23879046738147736,
-0.4403697252273559... |
css/reference/properties/row-rule/index.md | CSS - Properties - row-rule - Examples - Using the `repeat()` function:
This example demonstrates using the `repeat()` function within the `row-rule` property value. We use the same HTML and CSS as in the previous examples. We include a `repeat()` function, setting the list of two `<gap-rule>` values to repeat 3 times... | [
-2.2634949684143066,
0.033319029957056046,
-1.002959966659546,
0.13964802026748657,
0.16875183582305908,
-1.371932864189148,
1.4010555744171143,
1.8516805171966553,
-1.3403071165084839,
-0.22621670365333557,
-0.38928061723709106,
0.9771785736083984,
-0.31424546241760254,
-0.185373216867446... |
css/reference/properties/row-rule/index.md | CSS - Properties - row-rule - Examples - Using `auto` within `repeat()`:
This example demonstrates using the `auto` argument instead of an integer in the `repeat()` function.
Using `repeat(auto, <gap-rule>)`, we set all row rules to `1px dotted` and default to the current color, except the first and last, which we se... | [
-1.3599820137023926,
-0.05779677629470825,
-0.3037925958633423,
-0.17964375019073486,
0.4110676646232605,
-0.8332220315933228,
0.6322967410087585,
1.5254778861999512,
-0.22630739212036133,
-0.18267573416233063,
0.09376311302185059,
0.3020815849304199,
-0.09031456708908081,
0.05545023083686... |
css/reference/properties/forced-color-adjust/index.md | CSS - Properties - forced-color-adjust:
The `forced-color-adjust` CSS property allows authors to opt certain elements out of forced colors mode. This then restores the control of those values to CSS. | [
-0.24716432392597198,
-0.6847207546234131,
-0.6998308300971985,
-0.24052760004997253,
-0.16403082013130188,
-1.591863751411438,
0.8698644042015076,
1.7554038763046265,
0.16335073113441467,
0.48629966378211975,
-0.8324044346809387,
-0.3359184265136719,
-1.3220231533050537,
0.040364809334278... |
css/reference/properties/forced-color-adjust/index.md | CSS - Properties - forced-color-adjust - Syntax:
Example:
forced-color-adjust: auto;
forced-color-adjust: none;
forced-color-adjust: preserve-parent-color;
/* Global values */
forced-color-adjust: inherit;
forced-color-adjust: initial;
forced-color-adjust: revert;
forced-color-adjust: revert-layer;
forced-color-adju... | [
-0.3566032946109772,
-0.04481647163629532,
-0.5997553467750549,
-0.29973104596138,
-1.0021827220916748,
-0.7533925771713257,
1.0178325176239014,
2.45888090133667,
-0.10584753751754761,
0.3300592303276062,
-0.9006664156913757,
-0.25044578313827515,
-0.8359866142272949,
0.3124706745147705,
... |
css/reference/properties/forced-color-adjust/index.md | CSS - Properties - forced-color-adjust - Syntax - Values:
This property is specified as one of the following keyword values:
- `auto`: The element's colors are adjusted by the `user agent` in forced colors mode. This is the default value.
- `none`: The element's colors are not automatically adjusted by the `user agen... | [
-0.49758806824684143,
-0.37221136689186096,
-0.6713095307350159,
-0.19980892539024353,
-0.28503698110580444,
-0.48101845383644104,
1.1177399158477783,
2.0680577754974365,
-0.28631827235221863,
0.20834137499332428,
-0.5123720169067383,
-0.32323524355888367,
-0.3017738461494446,
0.3679870963... |
css/reference/properties/forced-color-adjust/index.md | CSS - Properties - forced-color-adjust - Usage notes:
This property should only be used to makes changes that will support a user's color and contrast requirements. For example, if you become aware that the color optimizations made by the `user agent` result in a poor experience when in a high contrast or dark mode. U... | [
-0.919741153717041,
-0.7563454508781433,
-0.523155927658081,
0.10839676856994629,
-0.04423423111438751,
-0.6628279685974121,
0.9123352766036987,
1.1973388195037842,
0.1215166300535202,
0.29997920989990234,
-0.415336549282074,
0.17008255422115326,
0.12732413411140442,
-0.4900110960006714,
... |
css/reference/properties/forced-color-adjust/index.md | CSS - Properties - forced-color-adjust - Examples - Preserving colors:
In the example below the first box will use the color scheme that the user has set. For example in Windows High Contrast mode black scheme it will have a black background and white text. The second box will preserve the site colors set on the `.box... | [
-1.1316215991973877,
-0.25711899995803833,
0.63718581199646,
-0.06406718492507935,
0.5241584777832031,
-0.228868767619133,
0.7024717330932617,
1.717140793800354,
0.04594678431749344,
0.1383787989616394,
-0.35548311471939087,
-0.456617146730423,
-0.14445462822914124,
0.6652876734733582,
-... |
css/reference/properties/forced-color-adjust/index.md | CSS - Properties - forced-color-adjust - Examples - Preserving colors - CSS:
Example:
.box {
border: 5px solid grey;
background-color: #cccccc;
width: 300px;
margin: 20px;
padding: 10px;
}
@media (forced-colors: active) {
.forced {
forced-color-adjust: none;
}
} | [
-0.2571002244949341,
0.3040422201156616,
-0.4553895592689514,
-0.48250046372413635,
0.15265998244285583,
-1.3118195533752441,
0.09113337844610214,
1.6838558912277222,
-0.7727192640304565,
-0.012004291638731956,
0.205974280834198,
-0.42518964409828186,
-0.6192996501922607,
0.576354622840881... |
css/reference/properties/forced-color-adjust/index.md | CSS - Properties - forced-color-adjust - Examples - Preserving colors - HTML:
Example:
<div class="box">
<p>This is a box which should use your color preferences.</p>
</div>
<div class="box forced">
<p>This is a box which should stay the colors set by the site.</p>
</div> | [
-1.0088013410568237,
-0.35554033517837524,
-0.9176612496376038,
-0.005037996917963028,
-0.4682687819004059,
-1.569674015045166,
1.37090265750885,
1.8403699398040771,
-0.21786917746067047,
0.1758049875497818,
-0.6748114228248596,
-0.28068989515304565,
-1.0692243576049805,
0.1151346564292907... |
css/reference/properties/aspect-ratio/index.md | CSS - Properties - aspect-ratio:
The `aspect-ratio` CSS property allows you to define the desired width-to-height ratio of an element's box.
Example:
aspect-ratio: auto;
Example:
aspect-ratio: 1 / 1;
Example:
aspect-ratio: 16 / 9;
Example:
aspect-ratio: 0.5;
Example:
<section id="default-example">
<img
... | [
-0.24889345467090607,
-0.19496700167655945,
-0.11099910736083984,
-0.2826089859008789,
0.2080090045928955,
-1.6204664707183838,
0.6531891226768494,
0.3938659131526947,
0.08725444972515106,
0.4430769979953766,
-0.008358202874660492,
0.06997588276863098,
-1.011683464050293,
0.515894711017608... |
css/reference/properties/aspect-ratio/index.md | CSS - Properties - aspect-ratio - Syntax:
Example:
aspect-ratio: 1 / 1;
aspect-ratio: 1;
/* fallback to 'auto' for replaced elements */
aspect-ratio: auto 3/4;
aspect-ratio: 9/6 auto;
/* Global values */
aspect-ratio: inherit;
aspect-ratio: initial;
aspect-ratio: revert;
aspect-ratio: revert-layer;
aspect-ratio: un... | [
-0.42969605326652527,
0.5805988311767578,
-0.37258386611938477,
0.014617867767810822,
-0.9741036295890808,
-0.8083443641662598,
0.8385630249977112,
2.0887653827667236,
-0.027321934700012207,
0.3523952066898346,
-1.0516153573989868,
0.1916230022907257,
-0.31076565384864807,
0.77593171596527... |
css/reference/properties/aspect-ratio/index.md | CSS - Properties - aspect-ratio - Syntax - Values:
This property is specified as one or both of the keyword `auto` or a `<ratio>`.
- `auto`: `Replaced elements` with an intrinsic aspect ratio use that aspect ratio, otherwise the box has no preferred aspect ratio. Size calculations involving intrinsic aspect ratio alw... | [
-0.34254294633865356,
-0.25187036395072937,
-0.509884238243103,
0.5398890376091003,
-0.148248091340065,
-0.8048105835914612,
1.4686640501022339,
1.1548793315887451,
0.5280702710151672,
0.3552601635456085,
-0.5276657342910767,
-0.0835343599319458,
-0.5466593503952026,
0.5832006931304932,
... |
css/reference/properties/aspect-ratio/index.md | CSS - Properties - aspect-ratio - Description:
The `aspect-ratio` property defines a desired width-to-height ratio of an element's box. This means that even if the parent container or viewport size changes, the browser will adjust the element's dimensions to maintain the specified width-to-height ratio. The specified ... | [
-0.021034779027104378,
-0.588470995426178,
-0.5336929559707642,
-0.14603227376937866,
-0.22625650465488434,
-0.7276471257209778,
1.4343738555908203,
1.0159988403320312,
0.17962321639060974,
-0.06040646880865097,
-0.34355565905570984,
0.30237191915512085,
-1.0692312717437744,
0.682787001132... |
css/reference/properties/aspect-ratio/index.md | CSS - Properties - aspect-ratio - Examples - Exploring aspect-ratio effects with fixed width:
In this example, the width of the `<div>` elements has been set to `100px` and height to `auto`. Since the width value is fixed here, the `aspect-ratio` property affects only the height of the `<div>` elements to maintain the... | [
-0.3098074197769165,
-0.15540052950382233,
-0.3041447103023529,
-0.42987164855003357,
0.4807313084602356,
-0.7297632694244385,
0.6199885010719299,
1.1775007247924805,
-0.3366081416606903,
0.23291797935962677,
-0.28376057744026184,
0.2903763949871063,
-0.9958683848381042,
0.6496775150299072... |
css/reference/properties/aspect-ratio/index.md | CSS - Properties - aspect-ratio - Examples - Fallback to natural aspect ratio:
In this example we are using two `<img>` elements. The first element does not have its `src` attribute set to an image file.
Example:
<img src="" /> <img src="plumeria.jpg" />
The following code sets `3/2` as the preferred aspect ratio a... | [
-1.3973745107650757,
0.1925741732120514,
-0.3969971239566803,
0.05612844228744507,
-0.15967202186584473,
-0.2553861141204834,
0.6053591966629028,
1.2385603189468384,
-0.5026348829269409,
0.7660756707191467,
-0.769449770450592,
-0.37295785546302795,
-0.8366507291793823,
0.5984364748001099,
... |
css/reference/properties/user-modify/index.md | CSS - Properties - user-modify:
Non-standard: This feature is not standardized. Deprecated: This feature is no longer recommended.
The `user-modify` property has no effect in Firefox. It was originally planned to determine whether or not the content of an element can be edited by a user.
Warning: This property has b... | [
-0.36231499910354614,
0.06681878864765167,
-0.49608588218688965,
-0.6717456579208374,
-0.14112912118434906,
-1.673572301864624,
1.3853449821472168,
1.2732130289077759,
0.49878251552581787,
-0.13851428031921387,
-0.5437461137771606,
-0.12391297519207001,
-0.6547532081604004,
-0.917861402034... |
css/reference/properties/user-modify/index.md | CSS - Properties - user-modify - Syntax:
Example:
/* Keyword values */
user-modify: read-only;
user-modify: read-write;
user-modify: write-only;
/* Global values */
user-modify: inherit;
user-modify: initial;
user-modify: revert;
user-modify: unset; | [
-0.7891228199005127,
0.3384382724761963,
0.14764435589313507,
0.04651567339897156,
-0.4089210331439972,
-1.5256303548812866,
0.7663908004760742,
1.579854130744934,
0.8221703171730042,
-0.31173962354660034,
-0.2370327115058899,
-0.3304370045661926,
0.08189334720373154,
-0.9169119596481323,
... |
css/reference/properties/user-modify/index.md | CSS - Properties - user-modify - Syntax - Values:
This property is specified as one of the following keyword values:
- `read-only`: Default value. Contents are read-only.
- `read-write`: The user is able to read and write contents.
- `read-write-plaintext-only`: Same as `read-write`, but rich text formatting will be ... | [
-0.8049088716506958,
0.3006330728530884,
-0.23428894579410553,
-0.08172593265771866,
0.09178926050662994,
-1.2380502223968506,
0.7842877507209778,
2.3429059982299805,
0.5294117331504822,
-0.5760894417762756,
-0.5321063995361328,
-0.20335397124290466,
-0.6691527366638184,
-0.650881409645080... |
css/reference/properties/user-modify/index.md | CSS - Properties - user-modify - Examples - HTML:
Example:
<div class="readwrite">The user is able to change this text.</div> | [
-1.1924495697021484,
0.2080579400062561,
0.21462762355804443,
-0.4815128743648529,
-0.5852917432785034,
-1.1380040645599365,
1.3939927816390991,
1.8054358959197998,
0.7224456071853638,
-0.5224564671516418,
-0.1599326878786087,
0.021899357438087463,
-0.3053910434246063,
-0.8170582056045532,... |
css/reference/properties/user-modify/index.md | CSS - Properties - user-modify - Examples - CSS:
Example:
.readwrite {
-moz-user-modify: read-write;
-webkit-user-modify: read-write;
} | [
-0.8690481781959534,
0.332835853099823,
-0.2849576473236084,
-0.6727728843688965,
-0.16628563404083252,
-1.5220383405685425,
0.9574710726737976,
0.5345235466957092,
0.2901632785797119,
-0.3295898139476776,
0.3085041344165802,
-1.0227739810943604,
-0.2609313428401947,
-0.6993057131767273,
... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape:
The `border-shape` CSS property defines an element's border shape using `basic-shape` values. | [
-0.2966470420360565,
-0.08008231967687607,
-1.1598374843597412,
-0.19169214367866516,
-0.08457001298666,
-0.9016992449760437,
1.1477078199386597,
1.4780213832855225,
0.6035395264625549,
-0.0850304588675499,
-0.6459485292434692,
0.3659111261367798,
-0.5545666813850403,
0.14620229601860046,
... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Syntax:
Example:
/* Keyword */
border-shape: none;
/* Single <basic-shape> value */
border-shape: circle(50%);
border-shape: rect(10px 460px 130px 20px round 20px);
border-shape: shape(
from 5% 0.5rem,
arc to 80px 1pt of 10% ccw large rotate 25deg
);
/* Two <basic-shape> values... | [
-0.8911424875259399,
0.5612426996231079,
-0.24169428646564484,
-0.3869452476501465,
0.48945027589797974,
-0.5556483268737793,
0.212919220328331,
0.7238894701004028,
0.3871314823627472,
-0.5254241824150085,
-0.2662970721721649,
0.4548646807670593,
-0.45456117391586304,
0.5239958763122559,
... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Syntax - Values:
- `none`: Specifies that no border shape is defined. This is the initial value.
- `basic-shape`: Defines the shape of the border using one of the `<basic-shape>` functions.
- `<geometry-box>` (optional): Defines the reference box relative to which the border shape is ... | [
-0.8225922584533691,
0.41209906339645386,
-0.5898274183273315,
-0.10792360454797745,
0.8144808411598206,
-0.38469648361206055,
0.888661801815033,
1.368853211402893,
0.07458852231502533,
-0.21011114120483398,
0.16776743531227112,
0.11243058741092682,
-0.7090283632278442,
0.5632474422454834,... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Description:
The `border-shape` property can be applied to elements to create precisely-shaped containers such as speech bubbles, as shown here, or abstract tooltip designs, without having to use workarounds.
Example:
<img src="https://mdn.github.io/shared-assets/images/examples/leo... | [
-0.7471649050712585,
0.6179693341255188,
-0.8362765312194824,
-0.0779462605714798,
0.10307605564594269,
-0.8243967294692993,
-0.3392595946788788,
1.6491962671279907,
-0.09256350994110107,
-0.2808915376663208,
0.008820302784442902,
-0.07150590419769287,
-0.5922088623046875,
0.29510039091110... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Description - Supported shape functions:
You can define an element's `border-shape` (including that of an inline or pseudo-element) using one of the `basic-shape` functions. These functions include:
- `inset()`, `rect()`, and `xywh()`: Provide different ways to define basic rectangle... | [
-0.20323829352855682,
0.39317333698272705,
-0.9598809480667114,
0.20701324939727783,
0.510246217250824,
-1.032357931137085,
0.7992004752159119,
1.2159273624420166,
0.13630461692810059,
-0.25367578864097595,
0.29901403188705444,
0.4215739369392395,
-0.001979595050215721,
0.5573623776435852,... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Description - Stroke and fill modes:
The `border-shape` property has the following two modes:
- If a single `<basic-shape>` is provided in the value, that shape defines the shape of the element's border, with the defined border styles drawn as a stroke around the shape, as shown in t... | [
-0.4172033369541168,
-0.3669443130493164,
-1.0828279256820679,
-0.04226025566458702,
0.5084028840065002,
-0.26574981212615967,
0.7669312357902527,
2.2100133895874023,
0.3404419720172882,
-0.03401973471045494,
-0.46148908138275146,
0.9374351501464844,
0.020443003624677658,
-0.34841689467430... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Description - Effect on layout and rendering:
The `border-shape` property creates a purely visual effect — the element's layout is still computed using the underlying rectangular box definition, and the content flow is not affected.
The element's content and background are clipped by... | [
-0.22521404922008514,
0.11752484738826752,
-1.1925185918807983,
-0.008275724947452545,
-0.05311835929751396,
-0.5866987705230713,
1.3353031873703003,
2.425286054611206,
0.2402641475200653,
-0.2979460656642914,
-0.6559065580368042,
0.4963496923446655,
-0.640997588634491,
0.0809781402349472,... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Description - Limitations on border styles applied to border shapes:
Not all border styles are applied to elements with a `border-shape` property set. The following list explains how each property is affected:
- `border-color`: This property is applied. However, when multiple element... | [
-0.07321244478225708,
0.40940332412719727,
-0.899485170841217,
-0.23203857243061066,
0.20398765802383423,
-1.251924753189087,
-0.0030294861644506454,
1.4440399408340454,
0.23114585876464844,
-0.13692045211791992,
-0.2592507004737854,
0.16747726500034332,
-0.400747686624527,
0.4748743772506... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Description - Interaction with `border-radius` and `corner-shape`:
The `border-radius` and `corner-shape` properties are incompatible with `border-shape`. When a `border-shape` is set on an element, any set `border-radius` is ignored, therefore `corner-shape` will also have no effect.... | [
0.755705714225769,
0.42821425199508667,
-1.3291505575180054,
-0.8936246633529663,
-0.07449137419462204,
-0.6412851214408875,
1.061617136001587,
1.958288550376892,
0.7792062759399414,
-0.5737034678459167,
-0.34692108631134033,
0.024602368474006653,
-0.45626020431518555,
-0.10962997376918793... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Description - `border-shape` versus `clip-path`:
The `clip-path` property takes values similar to `border-shape` and produces similar effects. Both properties can be used to change the shape of an element and therefore the element's hit area, altering the boundary inside which `:hover... | [
-0.7265845537185669,
0.3564791977405548,
-0.3876384496688843,
-0.1435362845659256,
0.5250994563102722,
-0.8958655595779419,
0.4261739253997803,
1.4955906867980957,
0.2175750732421875,
-0.035108715295791626,
0.18257500231266022,
0.143204003572464,
0.07893272489309311,
-0.20719186961650848,
... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Description - Handling border-shapes larger than the element's background:
As mentioned earlier, one issue with `border-shape` is that when you define a shape that is larger than the element's content/background, you can end up with a gap between the background and the border.
The re... | [
-0.17644710838794708,
0.1076132133603096,
-0.7775452136993408,
-0.25407272577285767,
0.7311021089553833,
-0.4939761757850647,
0.4278499186038971,
1.192331314086914,
-0.1788836121559143,
0.1724366694688797,
0.03699988126754761,
-0.2085612267255783,
-0.4395937919616699,
0.6579219698905945,
... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Examples - Basic `border-shape` stroke usage:
This example shows how to use `border-shape` in stroke mode. | [
0.4434661567211151,
0.4833715260028839,
-1.0424453020095825,
-0.24312929809093475,
-0.18676677346229553,
0.32275980710983276,
1.4904659986495972,
1.9604140520095825,
1.1688454151153564,
-0.19849933683872223,
-0.3617269694805145,
0.2826317250728607,
-0.18329450488090515,
-0.4003352224826813... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Examples - Basic `border-shape` stroke usage - HTML:
The markup for this example contains a single `p` element.
Example:
<p>Circle</p> | [
-0.2956199645996094,
0.24891579151153564,
-0.7910901308059692,
-0.0540805459022522,
0.0427088737487793,
-0.23743489384651184,
1.248706340789795,
1.5140100717544556,
0.24239197373390198,
-0.09629102796316147,
-0.2873300611972809,
0.4863535165786743,
0.20312097668647766,
-0.643711268901825,
... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Examples - Basic `border-shape` stroke usage - CSS:
Example:
html {
height: 100%;
}
body {
margin: 0;
height: inherit;
display: flex;
justify-content: center;
align-items: center;
}
p {
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
font-size: ... | [
-0.4687168002128601,
0.7446584701538086,
-0.4334442913532257,
-0.6394018530845642,
0.8394016027450562,
-0.9056070446968079,
0.2543061673641205,
1.3559738397598267,
0.009005986154079437,
0.018431074917316437,
0.357114315032959,
0.047789067029953,
-0.4872841536998749,
0.3859997093677521,
-... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Examples - Basic `border-shape` fill usage:
This example builds on the previous one, showing how to use `border-shape` in fill mode to create an irregular filled border.
The HTML is the same as in the previous example. | [
-0.09430603682994843,
0.5926132798194885,
-0.8279903531074524,
0.17144836485385895,
-0.17978700995445251,
-0.3170956075191498,
1.8741542100906372,
1.9123131036758423,
-0.18764175474643707,
-0.2038135677576065,
-0.59578537940979,
0.41166409850120544,
-0.4160120487213135,
-0.2168124616146087... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Examples - Basic `border-shape` fill usage - CSS:
The CSS is the same as in the previous example, except this time we color the border `hotpink`, and we include two `<basic-shape>` definitions inside the `border-shape` value. There's an outer rectangle that covers the whole area of th... | [
-0.3142469823360443,
0.12402154505252838,
-1.0337620973587036,
-0.062308840453624725,
1.3166587352752686,
-1.6403173208236694,
0.4527817964553833,
1.3870675563812256,
-0.34730303287506104,
-0.0823168009519577,
0.737892746925354,
-0.05869331955909729,
-0.2723321318626404,
0.0324924588203430... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Examples - Comparing `border-shape` values:
In this example, we let you select from different `border-shape` values to apply to an element, so you can compare and contrast how they render. | [
0.07133868336677551,
0.1093585416674614,
-0.961148202419281,
-0.3039803206920624,
-0.3333452045917511,
-0.3601447641849518,
1.4100018739700317,
2.1431736946105957,
0.9247462749481201,
0.07921501994132996,
-0.2274778038263321,
-0.0233345627784729,
-0.33326295018196106,
-0.3022080659866333,
... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Examples - Comparing `border-shape` values - HTML:
The HTML is similar to that in the previous example, except this time we include a bit more text in the `<p>` element. We've also included a `select` element so you can choose different classes to apply to the `<p>` via JavaScript (we... | [
-0.9192655086517334,
0.3826958239078522,
-0.6826669573783875,
0.4130088984966278,
0.4784610867500305,
-1.2127833366394043,
0.6734360456466675,
0.9391196370124817,
-0.7477428317070007,
0.11594320833683014,
0.4094071090221405,
0.03376803547143936,
-0.30030184984207153,
0.2759665548801422,
... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Examples - Comparing `border-shape` values - CSS:
In the CSS, we give the box a `width` of `550px`, a thick black `border`, and a `box-shadow`.
Example:
p {
width: 550px;
border: 15px solid black;
box-shadow: 5px 5px 10px rgb(0 0 0 / 0.5);
}
Next, we define the rules for each... | [
0.21305908262729645,
0.23164361715316772,
-0.9544512033462524,
-0.5283386707305908,
0.4748765826225281,
-0.9992154836654663,
0.31262513995170593,
1.8815724849700928,
-0.011916205286979675,
-0.24243173003196716,
0.20117896795272827,
0.16467954218387604,
-0.06811853498220444,
0.5073684453964... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Examples - Animating a `border-shape`:
This example demonstrates how you can animate the `border-shape` property. | [
0.5858975052833557,
0.49676668643951416,
-0.36746227741241455,
-0.0780416876077652,
-0.7029803991317749,
0.02233128622174263,
1.4942444562911987,
2.0497236251831055,
0.4963057041168213,
-0.34139227867126465,
-0.46901145577430725,
0.015565916895866394,
-0.898194432258606,
-0.369491904973983... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Examples - Animating a `border-shape` - HTML:
The same `<p>` element is used as in the previous example, except this time we've included a `tabindex` attribute so it can be focused via the keyboard.
Example:
<p tabindex="0">Blessed are the cheesemakers.</p> | [
-0.40747180581092834,
0.527022659778595,
-0.8210311532020569,
0.6125525236129761,
-0.4108917713165283,
-0.6726512312889099,
1.6078590154647827,
1.2005223035812378,
0.261575847864151,
0.4134017527103424,
-0.5786842703819275,
0.03887762874364853,
-0.17955414950847626,
-0.44345396757125854,
... |
css/reference/properties/border-shape/index.md | CSS - Properties - border-shape - Examples - Animating a `border-shape` - CSS:
For this example, we apply a `polygon()` `border-shape` to the `<p>`.
Example:
p {
width: 550px;
border: 15px solid black;
box-shadow: 5px 5px 10px rgb(0 0 0 / 0.5);
border-shape: polygon(0% 60%, 0% 85%, 8% 100%, 18% 88%, 30% 100%... | [
-0.21586665511131287,
0.4029989242553711,
-0.7013413310050964,
-0.13561297953128815,
0.08871042728424072,
-1.2669743299484253,
0.725749671459198,
1.685917854309082,
-0.36323320865631104,
0.041608069092035294,
0.16447098553180695,
0.09327264130115509,
-1.027877688407898,
0.6220782399177551,... |
css/reference/properties/border-right-color/index.md | CSS - Properties - border-right-color:
The `border-right-color` CSS property sets the color of an element's right border. It can also be set with the shorthand CSS properties `border-color` or `border-right`.
Example:
border-right-color: red;
Example:
border-right-color: #32a1ce;
Example:
border-right-color: rgb... | [
-1.0013071298599243,
-0.2795117497444153,
-0.8207173943519592,
-0.5629713535308838,
-0.2061331570148468,
-1.9544317722320557,
-0.15540102124214172,
2.1181838512420654,
0.4936821460723877,
-0.028060749173164368,
-1.051405429840088,
0.7466745972633362,
0.12844222784042358,
0.326102614402771,... |
css/reference/properties/border-right-color/index.md | CSS - Properties - border-right-color - Syntax:
Example:
/* <color> values */
border-right-color: red;
border-right-color: #ffbb00;
border-right-color: rgb(255 0 0);
border-right-color: hsl(100deg 50% 25% / 75%);
border-right-color: currentColor;
border-right-color: transparent;
/* Global values */
border-right-colo... | [
-1.2116904258728027,
0.4192318618297577,
0.034380536526441574,
-0.2510862350463867,
-0.6113121509552002,
-1.2452524900436401,
-0.10898611694574356,
2.580146551132202,
0.811080813407898,
-0.23469947278499603,
-1.2792298793792725,
1.220071792602539,
0.5250903964042664,
0.08915168046951294,
... |
css/reference/properties/border-right-color/index.md | CSS - Properties - border-right-color - Syntax - Values:
This property is specified as one value:
- `<color>`: The color of the right border. | [
-0.530882716178894,
0.35157307982444763,
-1.2764804363250732,
0.1598748415708542,
-0.8617613911628723,
-1.1521375179290771,
0.14148369431495667,
2.9927124977111816,
0.825408399105072,
-0.6695663332939148,
-0.998049259185791,
0.6285703778266907,
0.27155762910842896,
-0.13665102422237396,
... |
css/reference/properties/border-right-color/index.md | CSS - Properties - border-right-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.3886297941207886,
-0.07203130424022675,
-0.3619999289512634,
-0.27090567350387573,
-0.45885801315307617,
-0.2895950675010681,
0.33034548163414,
2.5667355060577393,
0.7496548295021057,
-0.0665111169219017,
-1.0612529516220093,
0.5427294373512268,
-0.7283035516738892,
-0.13359840214252472... |
css/reference/properties/border-right-color/index.md | CSS - Properties - border-right-color - Examples - A div with a border - CSS:
Example:
.my-box {
border: solid 0.3em gold;
border-right-color: red;
width: auto;
}
.red-text {
color: red;
} | [
-1.275315284729004,
-0.10228140652179718,
-0.42839276790618896,
-0.5694015026092529,
-0.33067601919174194,
-0.35723376274108887,
0.19475814700126648,
2.299943685531616,
0.5070909261703491,
-0.026899687945842743,
-0.588470458984375,
0.726612389087677,
-0.5440759658813477,
0.0512551814317703... |
css/reference/properties/container-name/index.md | CSS - Properties - container-name:
The container-name CSS property specifies a list of query container names used by the @container at-rule in a container query. | [
-1.1865789890289307,
-0.4158580005168915,
-1.4927260875701904,
0.6257547736167908,
-0.4495178759098053,
-1.632673740386963,
-0.4187581241130829,
1.2868884801864624,
-0.7878198027610779,
0.58154296875,
0.12439440190792084,
0.11160856485366821,
-0.884284496307373,
0.06949983537197113,
-1.0... |
css/reference/properties/container-name/index.md | CSS - Properties - container-name - Syntax:
Example:
container-name: none;
/* A single name */
container-name: my-layout;
/* Multiple names */
container-name: my-page-layout my-component-library;
/* Global Values */
container-name: inherit;
container-name: initial;
container-name: revert;
container-name: revert-la... | [
-1.7556097507476807,
-0.2807163596153259,
0.5404114723205566,
0.12477767467498779,
0.2525106370449066,
-1.5067389011383057,
0.023204918950796127,
1.1865712404251099,
-0.10546097159385681,
-0.19663497805595398,
-0.696277379989624,
-0.001795407384634018,
-0.3162788152694702,
0.14698001742362... |
css/reference/properties/container-name/index.md | CSS - Properties - container-name - Syntax - Values:
- `none`: The default value. The query container has no name.
- `custom-ident`: A case-sensitive string that is used to identify the container. The following conditions apply:
- The name must not equal `or`, `and`, `not`, or `default`.
- The name value must not ... | [
-1.2738407850265503,
-0.06862931698560715,
-0.33562856912612915,
-0.0051666200160980225,
0.7499364018440247,
-1.1820271015167236,
0.4219886362552643,
0.9273765087127686,
0.20530766248703003,
0.3293047845363617,
0.2754044830799103,
-0.26679301261901855,
-0.8838624358177185,
-0.2057360261678... |
css/reference/properties/container-name/index.md | CSS - Properties - container-name - Description:
With no name specified, a container query will apply styles to elements based on attributes such as the size or scroll-state of the nearest ancestor with a containment context.
Note: Size containers' descendants can be sized using container query length units.
When a ... | [
-0.5419313311576843,
-0.5061653256416321,
-1.3461350202560425,
0.6938985586166382,
-0.6607958078384399,
-0.9077396392822266,
0.5859751105308533,
0.6390053629875183,
-0.9512528777122498,
0.03704044222831726,
0.14257390797138214,
0.1944085955619812,
-1.2457505464553833,
0.26066675782203674,
... |
css/reference/properties/container-name/index.md | CSS - Properties - container-name - Examples - Using a container name:
Given the following HTML example which is a card component with a title and some text:
Example:
<div class="card">
<div class="post-meta">
<h2>Card title</h2>
<p>My post details.</p>
</div>
<div class="post-excerpt">
<p>
A... | [
-0.8590576648712158,
-0.5018714666366577,
-1.1447697877883911,
0.9106652140617371,
0.6659539937973022,
-1.9837021827697754,
-0.37411168217658997,
1.4920003414154053,
-0.5315184593200684,
0.18985693156719208,
0.4757886528968811,
0.11588014662265778,
-0.6062455177307129,
0.5821846127510071,
... |
css/reference/properties/container-name/index.md | CSS - Properties - container-name - Examples - Using multiple container names:
You can also provide multiple names to a container context separated by a space:
Example:
.post-meta {
container-type: inline-size;
container-name: meta card;
}
This will allow you to target the container using either name in the `@c... | [
-1.0088046789169312,
-0.1002570241689682,
-0.7063633799552917,
-0.02863413840532303,
0.4607400894165039,
-1.5880779027938843,
0.0839322954416275,
0.9844930171966553,
-0.010641984641551971,
-0.03581514582037926,
0.5720795392990112,
0.47800588607788086,
-0.22004307806491852,
0.04651167243719... |
css/reference/properties/container-name/index.md | CSS - Properties - container-name - Examples - Using a name-only container query:
This example demonstrates how to use a name-only container query. | [
-0.4806039035320282,
0.14037956297397614,
-1.0652868747711182,
0.4190371036529541,
-0.9489084482192993,
-0.7559371590614319,
0.9068635106086731,
1.9537112712860107,
-0.7703068852424622,
-0.35051268339157104,
0.1530023217201233,
-0.09063930064439774,
-0.9558382630348206,
-0.7320306897163391... |
css/reference/properties/container-name/index.md | CSS - Properties - container-name - Examples - Using a name-only container query - HTML:
We include a `div` with an `id` of `container`, and three `p` elements, two inside the container, and one outside the container:
Example:
<div id="container">
<p>I'm in the container.</p>
<p>I'm also in the container.</p>
</... | [
-1.2389088869094849,
-0.2228768914937973,
-1.1977235078811646,
0.3266347348690033,
-0.6091766953468323,
-0.8470746874809265,
0.13813017308712006,
1.2725671529769897,
-0.6896806359291077,
0.17903807759284973,
-0.6454222798347473,
-0.18831989169120789,
-0.7091683745384216,
-0.940101802349090... |
css/reference/properties/container-name/index.md | CSS - Properties - container-name - Examples - Using a name-only container query - CSS:
We assign a name to the container:
Example:
#container {
container-name: my-container;
}
We can then selectively apply styles only to elements inside containers with that name set, as shown in the next snippet.
Example:
@con... | [
-0.7434346675872803,
-0.053683627396821976,
-0.6220890879631042,
-0.4383294880390167,
0.5178277492523193,
-1.4152671098709106,
0.02096707746386528,
1.5427939891815186,
-0.6824188232421875,
0.611245334148407,
-0.05427316948771477,
-0.22626753151416779,
-0.3374262750148773,
-0.07330732047557... |
css/reference/properties/font-optical-sizing/index.md | CSS - Properties - font-optical-sizing:
The `font-optical-sizing` CSS property sets whether text rendering is optimized for viewing at different sizes.
Example:
font-optical-sizing: auto;
Example:
font-optical-sizing: none;
Example:
<section id="default-example">
<div id="example-element">
<h2>Chapter 3</h... | [
-2.00860595703125,
0.13993555307388306,
-0.6304065585136414,
-0.5109856128692627,
-0.21890975534915924,
-1.7321574687957764,
0.08275418728590012,
0.3439960479736328,
0.04398583620786667,
0.3788457214832306,
-0.10127244144678116,
-0.4176051914691925,
-0.09437274187803268,
-0.253934144973754... |
css/reference/properties/font-optical-sizing/index.md | CSS - Properties - font-optical-sizing - Syntax:
Example:
/* keyword values */
font-optical-sizing: none;
font-optical-sizing: auto; /* default */
/* Global values */
font-optical-sizing: inherit;
font-optical-sizing: initial;
font-optical-sizing: revert;
font-optical-sizing: revert-layer;
font-optical-sizing: unset... | [
-1.1539995670318604,
0.40893518924713135,
-0.10655292868614197,
-0.2349669635295868,
-0.46725064516067505,
-1.0313043594360352,
0.6220466494560242,
1.8838750123977661,
0.8834782838821411,
0.1610739380121231,
-0.4923533499240875,
0.1770765632390976,
0.31640949845314026,
-0.33649662137031555... |
css/reference/properties/font-optical-sizing/index.md | CSS - Properties - font-optical-sizing - Syntax - Values:
This property is specified as one of the following keyword values:
- `none`: The browser will not modify the shape of glyphs for optimal viewing.
- `auto`: The browser will modify the shape of glyphs for optimal viewing. | [
-1.965402364730835,
0.07035268843173981,
-0.09525391459465027,
-0.6768285632133484,
-0.5799627900123596,
-0.9130274653434753,
1.265443205833435,
1.1587272882461548,
0.8241233825683594,
-0.2981180250644684,
-0.08004654198884964,
-0.2124897986650467,
0.08273115754127502,
-0.7018218636512756,... |
css/reference/properties/font-optical-sizing/index.md | CSS - Properties - font-optical-sizing - Description:
Optical sizing is enabled by default for fonts that have an optical size variation axis. The optical size variation axis is represented by `opsz` in `font-variation-settings`.
When optical sizing is used, small text sizes are often rendered with thicker strokes an... | [
-1.5141966342926025,
-0.08030439168214798,
-0.853142261505127,
-0.13669919967651367,
-0.03999035805463791,
-0.7236717343330383,
0.8540485501289368,
0.7503553628921509,
0.9525432586669922,
0.1211676076054573,
-0.37786048650741577,
-0.24473929405212402,
0.5973162055015564,
0.3559824228286743... |
css/reference/properties/font-optical-sizing/index.md | CSS - Properties - font-optical-sizing - Examples - Disabling optical sizing:
Example:
<p class="optical-sizing">
This paragraph is optically sized. This is the default across browsers.
</p>
<p class="no-optical-sizing">
This paragraph is not optically sized. You should see a difference in
supporting browsers.... | [
-1.2296565771102905,
0.2731037139892578,
-0.3918597996234894,
-0.6833516359329224,
0.3764174282550812,
-0.9039422869682312,
0.18319490551948547,
1.4666794538497925,
0.9435757398605347,
-0.29033443331718445,
0.537162721157074,
0.01060117781162262,
-0.6876373291015625,
-0.30805811285972595,
... |
css/reference/properties/backface-visibility/index.md | CSS - Properties - backface-visibility:
The `backface-visibility` CSS property sets whether the back face of an element is visible when turned towards the user.
An element's back face is a mirror image of its front face. Though invisible in 2D, the back face can become visible when a transformation causes the element... | [
-1.1026041507720947,
-0.17696651816368103,
-0.28880608081817627,
-0.6861320734024048,
0.22531047463417053,
-1.1985845565795898,
0.25228941440582275,
1.48087477684021,
0.4964575171470642,
0.6782016158103943,
-0.1886468529701233,
-0.017614156007766724,
0.30286940932273865,
0.4017737507820129... |
css/reference/properties/backface-visibility/index.md | CSS - Properties - backface-visibility - Syntax:
Example:
/* Keyword values */
backface-visibility: visible;
backface-visibility: hidden;
/* Global values */
backface-visibility: inherit;
backface-visibility: initial;
backface-visibility: revert;
backface-visibility: revert-layer;
backface-visibility: unset; | [
-0.6200499534606934,
0.3050386607646942,
-0.08157721161842346,
-0.03249364346265793,
-0.4366110563278198,
-0.7544313669204712,
1.1251455545425415,
2.0146982669830322,
0.92613685131073,
0.5293472409248352,
-0.9630016088485718,
0.5967222452163696,
0.118940070271492,
0.09857843816280365,
0.... |
css/reference/properties/backface-visibility/index.md | CSS - Properties - backface-visibility - Syntax - Values:
This property is specified as one of the following keywords:
- `visible`: The back face is visible when turned towards the user.
- `hidden`: The back face is hidden, effectively making the element invisible when turned away from the user. | [
-0.31629055738449097,
0.49938803911209106,
-0.7260615229606628,
-0.2687937021255493,
-0.02901247888803482,
-0.7731727361679077,
1.311558723449707,
1.8937609195709229,
1.0402158498764038,
0.5286865234375,
-0.5951393842697144,
0.4105001986026764,
0.05392581224441528,
-0.13261108100414276,
... |
css/reference/properties/backface-visibility/index.md | CSS - Properties - backface-visibility - Examples - Cube with transparent and opaque faces:
This example shows a cube with transparent faces, and one with opaque faces. | [
-0.03526754304766655,
0.7255895137786865,
-0.6166366338729858,
-0.5977959632873535,
0.022552967071533203,
-0.17460891604423523,
0.5730804800987244,
1.8436509370803833,
0.7533673644065857,
0.40922456979751587,
0.05696253478527069,
0.13720457255840302,
0.7607254981994629,
-0.4422175288200378... |
css/reference/properties/backface-visibility/index.md | CSS - Properties - backface-visibility - Examples - Cube with transparent and opaque faces - HTML:
Example:
<table>
<thead>
<tr>
<th><code>backface-visibility: visible;</code></th>
<th><code>backface-visibility: hidden;</code></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<div clas... | [
-0.8709293603897095,
0.33142033219337463,
-0.6571584939956665,
-0.8484973311424255,
-0.05931684747338295,
-0.19617946445941925,
0.8218320608139038,
1.1476792097091675,
0.15809042751789093,
1.0383853912353516,
-0.4088052809238434,
-0.09100957214832306,
-0.22482120990753174,
-0.2607127428054... |
css/reference/properties/backface-visibility/index.md | CSS - Properties - backface-visibility - Examples - Cube with transparent and opaque faces - CSS:
Example:
/* Classes that will show or hide the
three back faces of the "cube" */
.show-bf div {
backface-visibility: visible;
}
.hide-bf div {
backface-visibility: hidden;
}
/* Define the container div, the cube... | [
-0.6310399770736694,
0.3751963675022125,
-0.6948193907737732,
-0.6673598885536194,
0.40981656312942505,
-0.8859387040138245,
-0.13575127720832825,
1.5066032409667969,
0.04785904288291931,
0.4054460823535919,
0.16478611528873444,
-0.2810206413269043,
0.27964532375335693,
0.42826148867607117... |
css/reference/properties/overscroll-behavior-x/index.md | CSS - Properties - overscroll-behavior-x:
The `overscroll-behavior-x` CSS property sets the browser's behavior when the horizontal boundary of a scrolling area is reached.
See `overscroll-behavior` for a full explanation. | [
-1.9348722696304321,
-0.5992290377616882,
-1.4663039445877075,
0.3353351354598999,
-0.5524558424949646,
-0.7536606192588806,
-0.02612226828932762,
0.6306377649307251,
-0.057770729064941406,
0.1813988834619522,
-0.12721949815750122,
-0.21668319404125214,
-0.3323196768760681,
0.1107706725597... |
css/reference/properties/overscroll-behavior-x/index.md | CSS - Properties - overscroll-behavior-x - Syntax:
Example:
/* Keyword values */
overscroll-behavior-x: auto; /* default */
overscroll-behavior-x: contain;
overscroll-behavior-x: none;
/* Global values */
overscroll-behavior-x: inherit;
overscroll-behavior-x: initial;
overscroll-behavior-x: revert;
overscroll-behavi... | [
-1.257402777671814,
-0.26025813817977905,
-0.4878401458263397,
0.07510069012641907,
-0.431422621011734,
-0.7455204129219055,
0.7071301341056824,
1.7501192092895508,
-0.15500782430171967,
-0.16578379273414612,
-0.34960368275642395,
-0.23029018938541412,
-0.28580400347709656,
0.3005955517292... |
css/reference/properties/overscroll-behavior-x/index.md | CSS - Properties - overscroll-behavior-x - Syntax - Values:
This property is specified as one of the following keyword values:
- `auto`: The default scroll overflow behavior occurs as normal.
- `contain`: Default scroll overflow behavior (e.g., "bounce" effects) is observed inside the element where this value is set.... | [
-1.4867125749588013,
-0.26457056403160095,
-1.1162465810775757,
-0.1994415521621704,
0.2831254005432129,
-0.529891848564148,
-0.26994651556015015,
1.7891566753387451,
-0.12581607699394226,
0.07985169440507889,
0.4947652220726013,
-0.14426130056381226,
0.3730853497982025,
-0.187218278646469... |
css/reference/properties/overscroll-behavior-x/index.md | CSS - Properties - overscroll-behavior-x - Examples - Preventing an underlying element from scrolling horizontally:
In our overscroll-behavior-x example (see source code also), we have two block-level boxes, one inside the other. The outer box has a large `width` set on it so the page will scroll horizontally. The inn... | [
-0.9305816292762756,
-0.08204936236143112,
-0.9304749369621277,
-0.024272238835692406,
0.40011322498321533,
-0.4001539647579193,
0.31945326924324036,
1.0205860137939453,
-0.07905984669923782,
0.1284463256597519,
0.30017346143722534,
0.07783354818820953,
-0.5408937335014343,
0.2950173318386... |
css/reference/properties/row-rule-style/index.md | CSS - Properties - row-rule-style:
The `row-rule-style` CSS property defines the line style of the lines drawn between rows in multi-row grid, flex, and multi-col layouts.
Example:
row-rule-style: solid;
Example:
row-rule-style: inset, outset;
Example:
row-rule-style: repeat(2, dashed, dotted), solid;
Example:
... | [
-1.6809253692626953,
-0.6248763203620911,
-1.519466757774353,
-0.3093525469303131,
0.18947815895080566,
-0.6597636342048645,
0.005701538175344467,
2.3125507831573486,
-0.7041863203048706,
-0.3298151195049286,
-0.3144342601299286,
0.7201617956161499,
-0.36460229754447937,
-0.086434856057167... |
css/reference/properties/row-rule-style/index.md | CSS - Properties - row-rule-style - Syntax:
Example:
/* One value */
row-rule-style: none;
row-rule-style: hidden;
row-rule-style: dotted;
/* Multiple values */
row-rule-style: groove, dashed, solid;
row-rule-style: double, repeat(5, ridge), double;
row-rule-style: solid, repeat(auto, inset, outset), solid;
/* Glob... | [
-0.9372358918190002,
0.555007815361023,
-0.3039715588092804,
0.00532512366771698,
-0.3865359127521515,
-0.6788270473480225,
0.5122979283332825,
2.9804768562316895,
0.08303335309028625,
-0.6110386252403259,
-0.7687841653823853,
0.6903719305992126,
-0.1641296148300171,
-0.5577284693717957,
... |
css/reference/properties/row-rule-style/index.md | CSS - Properties - row-rule-style - Syntax - Values:
The `row-rule-style` property accepts a comma-separated list of values, including:
- `<line-style>`: A `<line-style>`: one of `none`, `hidden`, `dotted`, `dashed`, `solid`, `double`, `groove`, `ridge`, `inset`, or `outset`. The default value is `none`.
- `<re... | [
-1.1953085660934448,
0.0016829883679747581,
-0.9245911836624146,
-0.1392112374305725,
0.892128050327301,
-0.6430249810218811,
0.14620371162891388,
2.070614814758301,
-0.27613186836242676,
-0.19646936655044556,
-0.03921019658446312,
0.11893768608570099,
-0.24126631021499634,
-0.211987301707... |
css/reference/properties/row-rule-style/index.md | CSS - Properties - row-rule-style - Description:
The `row-rule-style` property defines the line style of any row rule lines drawn in the gaps between rows in multi-column, flex, and grid containers with more than one row.
The value is a comma-separated list of components, which can include `<line-style>`, `<repeat-li... | [
-1.1660841703414917,
-0.033877551555633545,
-0.3902433514595032,
-0.027070026844739914,
0.6403032541275024,
-0.6285315752029419,
-0.2985435724258423,
1.7532840967178345,
-0.12953588366508484,
-0.08665162324905396,
-0.4400652050971985,
0.20692023634910583,
-0.0845530778169632,
0.02139765024... |
css/reference/properties/row-rule-style/index.md | CSS - Properties - row-rule-style - Description - Repeated line styles:
The `repeat()` function, with an integer of `1` or greater as the first argument, can be used to repeat a valid list of CSS `<line-style>` values passed as subsequent arguments the specified number of times. This allows the same style to be ... | [
-1.2552988529205322,
0.22847028076648712,
-1.3712594509124756,
0.4883173108100891,
0.1402720808982849,
-1.8819761276245117,
0.31913381814956665,
1.5065821409225464,
-1.087180256843567,
-0.2316313534975052,
-0.472813218832016,
0.7456133961677551,
-0.4098150134086609,
-0.05963822081685066,
... |
css/reference/properties/row-rule-style/index.md | CSS - Properties - row-rule-style - Description - Auto-repeating line styles:
The `repeat()` function also accepts `auto` as the first argument instead of a positive integer. With `auto` as the first argument, the `<line-style>` values passed as subsequent parameters will be repeated as many times as needed to fill in... | [
-0.856634259223938,
-0.4570293426513672,
-1.2821542024612427,
0.7039244771003723,
-0.20741069316864014,
-1.376600742340088,
0.8286428451538086,
2.032128095626831,
-0.7013089656829834,
-0.14670251309871674,
-0.8103436231613159,
-0.07571950554847717,
-0.07543040812015533,
-0.6491978168487549... |
css/reference/properties/row-rule-style/index.md | CSS - Properties - row-rule-style - Examples - Basic example:
In this example, we define a single style for the lines drawn between flex items. | [
-1.1971229314804077,
-0.4800392985343933,
-1.3503307104110718,
-0.20087185502052307,
-0.37023836374282837,
-0.07934490591287613,
-0.03723851963877678,
2.6503231525421143,
0.21017441153526306,
-0.35220128297805786,
-0.3579539954662323,
0.10543952882289886,
-0.1506723165512085,
-0.7057818770... |
css/reference/properties/row-rule-style/index.md | CSS - Properties - row-rule-style - Examples - Basic example - HTML:
We include a list of dynamic sports duos:
Example:
<ul>
<li>Simone Biles + Jonathan Owens</li>
<li>Serena Williams + Venus Williams</li>
<li>Aaron Judge + Giancarlo Stanton</li>
<li>LeBron James + Dwyane Wade</li>
<li>Xavi Hernandez + And... | [
-1.766343355178833,
0.11845800280570984,
-0.16813400387763977,
-0.015806877985596657,
0.38005316257476807,
-0.3640815019607544,
0.7716661691665649,
0.8293576240539551,
0.2885795533657074,
-0.22712074220180511,
-0.0037705525755882263,
0.021711550652980804,
0.06874702125787735,
-0.2233447134... |
css/reference/properties/row-rule-style/index.md | CSS - Properties - row-rule-style - Examples - Basic example - CSS:
We define the list to be a flex container, creating rows by setting the `flex-direction` to `column` using the `flex-flow` shorthand. We include a `gap` of `5px` to provide enough room between the rows to fit our `3px` dashed red rule:
Example:
ul {... | [
-0.759163498878479,
-0.47237420082092285,
-0.9218019247055054,
-0.17862607538700104,
0.574629545211792,
-0.8995680212974548,
-0.014417377300560474,
1.6679497957229614,
-0.8226057291030884,
0.16713514924049377,
0.4353899359703064,
-0.07967812567949295,
-0.12710855901241302,
0.26646497845649... |
css/reference/properties/row-rule-style/index.md | CSS - Properties - row-rule-style - Examples - Repeating values:
This example demonstrates how, when there are fewer values in the list of styles than row rules, the values are repeated.
Using the same HTML and CSS as in the previous example, we include three comma-separated styles as the `row-rule-style` value:
Exa... | [
-1.5772708654403687,
0.14748020470142365,
-0.5083781480789185,
-0.5308732390403748,
0.9510406255722046,
-1.134521245956421,
0.5647715926170349,
1.8382865190505981,
-0.6373742818832397,
-0.15591935813426971,
0.5833326578140259,
0.20520231127738953,
-0.1389942467212677,
0.16833247244358063,
... |
css/reference/properties/row-rule-style/index.md | CSS - Properties - row-rule-style - Examples - Using the `repeat()` function:
This example demonstrates using the `repeat()` function within the `row-rule-style` property value. We use the same HTML and CSS as in the previous examples. We include a `repeat()` function, setting the list of two `<line-style>` values to ... | [
-1.5580209493637085,
0.05927841365337372,
-0.9163661003112793,
-0.10134056955575943,
0.7834824919700623,
-0.7624397873878479,
0.5540019273757935,
1.6272342205047607,
-0.8883689641952515,
-0.23324213922023773,
0.38863056898117065,
0.7276253700256348,
-0.1659153401851654,
0.03284322470426559... |
css/reference/properties/row-rule-style/index.md | CSS - Properties - row-rule-style - Examples - Using `auto` within `repeat()`:
This example demonstrates using `auto` instead of an integer within the `repeat()` function.
Using `repeat(auto, <line-style>)` we set all row rules to `dotted`, except the first and last, which we set to `solid`.
Example:
ul {
row-rul... | [
-1.3021240234375,
0.06813932210206985,
-0.5105244517326355,
0.4608357548713684,
-0.4705130457878113,
-0.6705148816108704,
1.2136287689208984,
2.6767778396606445,
-0.8605538606643677,
-0.43883898854255676,
-0.5210150480270386,
0.22787874937057495,
0.13255909085273743,
-0.7498102784156799,
... |
css/reference/properties/row-rule-width/index.md | CSS - Properties - row-rule-width:
The `row-rule-width` CSS property defines the widths of the lines drawn between rows in multi-row grid, flex, and multi-col layouts.
Example:
row-rule-width: thin;
Example:
row-rule-width: thin, thick;
Example:
row-rule-width: repeat(2, thin, thick), 10px;
Example:
row-rule-w... | [
-0.8717644214630127,
-0.42938002943992615,
-1.1553540229797363,
-0.46173095703125,
0.4511159658432007,
-1.860809087753296,
-0.11755141615867615,
1.7198827266693115,
-0.35199758410453796,
-0.2696889042854309,
0.36215487122535706,
0.2919905185699463,
-0.6715537309646606,
0.39124706387519836,... |
css/reference/properties/row-rule-width/index.md | CSS - Properties - row-rule-width - Syntax:
Example:
/* Keyword values */
row-rule-width: thin;
row-rule-width: medium;
row-rule-width: thick;
row-rule-width: thin, medium, thick;
row-rule-width: thick, repeat(5, thin), thick;
row-rule-width: thick, repeat(auto, thin, medium), thick;
/* Length values */
row-rule-wid... | [
-0.9169186353683472,
0.2645612955093384,
-0.47222983837127686,
-0.2963070571422577,
0.6185389757156372,
-0.9879621267318726,
-0.04392087087035179,
1.409067153930664,
-0.08442755043506622,
-0.3674524426460266,
-0.3600921928882599,
0.5109230875968933,
-0.622256338596344,
0.2164948582649231,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.