file
stringlengths
16
94
text
stringlengths
32
24.4k
vector
list
css/reference/values/env/index.md
CSS - Values - env - Examples - Using a fallback value: This example makes use of the optional second parameter of `env()`, which provides a fallback value in case the environment variable is not available.
[ -1.2440520524978638, 0.08117260038852692, -1.02415931224823, 1.07064688205719, -0.9190465211868286, -0.48870915174484253, 1.939892053604126, 1.6889593601226807, 0.09634201228618622, 0.34570935368537903, -0.12427272647619247, 0.22275817394256592, 0.3477478623390198, -0.3028228282928467, 0...
css/reference/values/env/index.md
CSS - Values - env - Examples - Using a fallback value - HTML: We include a paragraph of text: Example: <p> If the <code>env()</code> function is supported in your browser, this paragraph's text will have 50px of padding between it and the left border — but not the top, right and bottom. This is because the ac...
[ -1.7436639070510864, -0.6275075674057007, -0.6964651346206665, 0.013596348464488983, 0.02890653908252716, -1.5153990983963013, 1.673558235168457, 1.3028050661087036, -0.34272462129592896, 0.4557662308216095, -0.2818381190299988, 0.3526668846607208, -0.31624260544776917, 0.06524903327226639...
css/reference/values/env/index.md
CSS - Values - env - Examples - Using a fallback value - CSS: We set a `width` of `300px` and a `border`. We then add `padding`, using the `env()` function with a fallback for the size of the padding on each side. We intentionally set an invalid value for the left padding (remember, environment variable names are case...
[ -1.2493870258331299, 0.7421352863311768, -0.8925279378890991, -0.362460196018219, 0.013677611947059631, -1.1563552618026733, 0.28765591979026794, 1.1658302545547485, -0.3925868570804596, 0.18191629648208618, 0.02150435373187065, 0.3109743297100067, 0.05731690675020218, 0.5506012439727783, ...
css/reference/values/env/index.md
CSS - Values - env - Examples - Using env() to ensure content is not obscured by window control buttons in desktop PWAs: In the following example, `env()` ensures that content displayed in a desktop Progressive Web App that uses the Window Controls Overlay API is not obscured by the operating system's window control b...
[ -1.0729975700378418, -0.2618888020515442, -0.49806496500968933, 0.1453792005777359, -0.03467176482081413, -1.1719627380371094, 0.19302761554718018, 1.6358647346496582, 0.6486467719078064, 0.49854975938796997, 0.17334870994091034, 0.8326555490493774, 0.13980238139629364, 0.3568437695503235,...
css/reference/values/env/index.md
CSS - Values - env - Examples - Viewport segments: The Viewport segment API demo and Using the Viewport Segments API guide provides a demonstration and explanation of using the `env()` function with the `viewport-segments-*` environment variables.
[ -0.7630875706672668, -0.7082157731056213, -0.574690580368042, 0.45153260231018066, -1.3538732528686523, -0.7496138215065002, 0.9360062479972839, 1.1133360862731934, 0.040384188294410706, 0.2148057520389557, 0.9054946899414062, 0.39516931772232056, 0.9678433537483215, 0.05505805462598801, ...
css/reference/values/anchor/index.md
CSS - Values - anchor: The `anchor()` CSS function can be used within an anchor-positioned element's inset property values, returning a length value relative to the position of the edges of its associated anchor element.
[ -0.8227066397666931, -0.37701544165611267, -1.3792377710342407, 0.0814562663435936, -0.5450127124786377, -1.828919529914856, 0.5781403183937073, 1.0362365245819092, -0.6416671872138977, 0.036455608904361725, 0.2531236708164215, 0.45510250329971313, 0.26847824454307556, 0.2921868562698364, ...
css/reference/values/anchor/index.md
CSS - Values - anchor - Syntax: Example: /* side or percentage */ top: anchor(bottom); top: anchor(50%); top: calc(anchor(bottom) + 10px) inset-block-end: anchor(start); /* side of named anchor */ top: anchor(--my-anchor bottom); inset-block-end: anchor(--my-anchor start); /* side of named anchor with fallback */ t...
[ -0.42643141746520996, 0.41812747716903687, -0.4353182017803192, -0.04304938018321991, -0.011750280857086182, -1.5887984037399292, 0.21830575168132782, 1.5152665376663208, -0.4613632559776306, -0.19244766235351562, 0.1649973839521408, -0.33089014887809753, -0.469194620847702, 0.568885445594...
css/reference/values/anchor/index.md
CSS - Values - anchor - Syntax - Parameters: The `anchor()` function's syntax is as follows: Example: anchor(<anchor-name> <anchor-side>, <length-percentage>) The parameters are: - `<anchor-name>` (optional): The `anchor-name` property value of an anchor element you want to position the element's side relative to....
[ -0.6875661611557007, -0.006396705284714699, -0.9863095879554749, -0.11671873927116394, 0.20171210169792175, -1.6650943756103516, 0.12076134979724884, 1.336498498916626, -0.5721209645271301, -0.2582780718803406, -0.08242063969373703, 0.11837171018123627, -0.11608338356018066, 0.754961192607...
css/reference/values/anchor/index.md
CSS - Values - anchor - Syntax - Return value: Returns a `length` value.
[ -0.3603891432285309, -0.1818515509366989, -0.9279173016548157, -0.5456762313842773, -1.3427793979644775, -0.7098404169082642, 0.6287280321121216, 1.5625296831130981, -0.5066047310829163, -0.4947358965873718, 0.09212908148765564, 0.47099584341049194, 0.01648617908358574, 0.655102550983429, ...
css/reference/values/anchor/index.md
CSS - Values - anchor - Description: The `anchor()` function enables positioning an element relative to the edges of an anchor element. It is only valid within `inset property` values set on absolute or fixed position elements. It returns a `<length>` value specifying the distance between the anchor-positioned elemen...
[ -0.0832066610455513, 0.12795694172382355, -1.4622530937194824, -0.26857486367225647, 0.5173618793487549, -2.1406540870666504, 0.18800058960914612, 1.772206425666809, -0.49891579151153564, 0.14555387198925018, 0.8421321511268616, 0.3248779773712158, -0.10921256989240646, 0.4960324764251709,...
css/reference/values/anchor/index.md
CSS - Values - anchor - Description - Properties that accept `anchor()` function values: The CSS `inset properties` that accept an `anchor()` function as a value component include: - `top` - `left` - `bottom` - `right` - `inset` shorthand - `inset-block-start` - `inset-block-end` - `inset-block` shorthand - `inset-in...
[ -0.867870032787323, -0.06896796822547913, -1.2310216426849365, 0.3362106680870056, -0.08979997783899307, -1.679530143737793, 0.7728185057640076, 1.7749724388122559, -0.06080049276351929, 0.17790427803993225, 0.3654472231864929, 0.08533422648906708, 0.37477222084999084, 0.18546441197395325,...
css/reference/values/anchor/index.md
CSS - Values - anchor - Description - Compatibility of inset properties and `<anchor-side>` values: When using an `anchor()` function inside an inset property value, the `<anchor-side>` parameter specified inside the `anchor()` function has to be compatible with the axis on which the inset property resides. This mean...
[ -0.94291752576828, 0.06390358507633209, -0.3004153370857239, 0.8847134709358215, 0.3399350643157959, -0.512718677520752, 0.08819644898176193, 1.972934365272522, 0.3294927477836609, -0.4812372624874115, -0.4463798701763153, 0.31733620166778564, 0.24165406823158264, 0.31102892756462097, -0...
css/reference/values/anchor/index.md
CSS - Values - anchor - Description - Using `anchor()` to position popovers: When using `anchor()` to position popovers, be aware that the default styles for popovers may conflict with the position you're trying to achieve. The usual culprits are the default styles for `margin` and `inset`, so it's advisable to reset ...
[ -1.5935975313186646, -0.9831310510635376, -1.1810393333435059, 0.20687450468540192, -0.5076172351837158, -1.0824718475341797, 0.6330441832542419, 0.8855709433555603, -0.33839601278305054, 0.18192796409130096, 0.04134704917669296, 0.3991647958755493, 0.005120396614074707, -0.513212203979492...
css/reference/values/anchor/index.md
CSS - Values - anchor - Description - Using `anchor()` inside `calc()`: When the `anchor()` function refers to a side of the default anchor, you can include a `margin` to create spacing between the edges of the anchor and positioned element as needed. Alternatively, you can include the `anchor()` function within a `ca...
[ -0.7221167087554932, 0.3483497202396393, -0.7368080019950867, -0.38246092200279236, 0.58005291223526, -1.381770133972168, 0.17451511323451996, 0.7264439463615417, -0.23413367569446564, 0.23020204901695251, 0.6152594685554504, 0.0640057623386383, -0.30542370676994324, 0.9782732725143433, ...
css/reference/values/anchor/index.md
CSS - Values - anchor - Description - Positioning an element relative to multiple anchors: You can position an element relative to multiple anchors by specifying different `<anchor-name>` values inside the `anchor()` function of different inset properties on the same element (see Element positioned relative to multipl...
[ -0.4363735616207123, -0.432198166847229, -0.6593300700187683, 0.8798435926437378, -0.47475311160087585, -1.2169196605682373, 1.2429016828536987, 0.8857519030570984, -0.16826839745044708, -0.37307339906692505, 0.3519233167171478, 0.035585708916187286, -0.15372228622436523, 0.249475449323654...
css/reference/values/anchor/index.md
CSS - Values - anchor - Examples - Common usage: In this example, the `anchor()` function is used to set the height of an anchor-positioned element to the height of its anchor by setting the bottom and top edges to the bottom and top edges of the anchor. The `anchor()` function within a `calc()` function is then used ...
[ -0.5830361843109131, 0.4097476005554199, -1.2228528261184692, -0.2391693890094757, 0.363179087638855, -1.6389116048812866, 0.5374788045883179, 1.4460546970367432, -0.8292546272277832, 0.023874767124652863, 0.031744129955768585, 0.2751583456993103, -0.6300581097602844, 1.0446152687072754, ...
css/reference/values/anchor/index.md
CSS - Values - anchor - Examples - Common usage - HTML: We include a `div` element, which we'll set as our anchor, and a `p` element that we will position relative to that anchor: Example: <div class="anchor">⚓︎</div> <p class="positionedElement">This is a positioned element.</p>
[ -0.7204892635345459, -0.839626133441925, -0.5226763486862183, 0.19691085815429688, -0.44605520367622375, -1.4141196012496948, 1.7501713037490845, 1.3396666049957275, 0.23395758867263794, 0.2074335664510727, 0.6268051266670227, -0.1227443516254425, -0.7620001435279846, -0.3910098075866699, ...
css/reference/values/anchor/index.md
CSS - Values - anchor - Examples - Common usage - CSS: We set the anchor element's `anchor-name` value as the value of the positioned element's `position-anchor` property to associate the elements, then set three inset properties on the anchor-positioned element. The first two position the element's top edge flush wit...
[ -0.22896724939346313, 0.2683103680610657, -0.7163565754890442, -0.10947762429714203, 0.2483101189136505, -1.8691169023513794, 0.3932582437992096, 1.4871981143951416, -0.5396840572357178, -0.0020148884505033493, 0.1568935364484787, 0.0028091371059417725, 0.11395631730556488, 0.8398066759109...
css/reference/values/anchor/index.md
CSS - Values - anchor - Examples - Comparison of different anchor-side values: This example shows an element positioned relative to an anchor via its `top` and `left` properties, which are defined using `anchor()` functions. It also includes two drop-down menus that allow you to vary the `<anchor-side>` values inside ...
[ -1.2991143465042114, -0.6743488907814026, -0.7216924428939819, 0.048135362565517426, -0.6981566548347473, -1.299028754234314, 1.7328367233276367, 2.2600932121276855, -0.09851031005382538, -0.11842137575149536, 0.44386500120162964, -0.09445737302303314, -0.1724189668893814, 0.10747721791267...
css/reference/values/anchor/index.md
CSS - Values - anchor - Examples - Comparison of different anchor-side values - HTML: We specify two `div` elements, one with a class of `anchor` and one with a class of `infobox`. These are intended to be the anchor element and the positioned element we will associate with it, respectively. We also include some fill...
[ -0.7731516361236572, 0.10473981499671936, 0.08782303333282471, 0.2585284113883972, 0.043977394700050354, -1.4848347902297974, 0.12146063148975372, 1.1816656589508057, -0.5616300702095032, 0.3827079236507416, 0.38622674345970154, 0.08237622678279877, -0.6182881593704224, 0.7361372113227844,...
css/reference/values/anchor/index.md
CSS - Values - anchor - Examples - Comparison of different anchor-side values - CSS: We declare the `anchor` `<div>` as an anchor element by setting an anchor name on it via the `anchor-name` property. We then associate it with the positioned element by setting the same value for its `position-anchor` property. `top: ...
[ -0.38282084465026855, 0.2548201084136963, -0.06083068624138832, -0.5443417429924011, -0.06262439489364624, -1.1073296070098877, 0.15045852959156036, 2.147355556488037, -0.3610397279262543, 0.3051831126213074, 0.23280465602874756, -0.4251665771007538, -0.17044048011302948, 1.103953599929809...
css/reference/values/anchor/index.md
CSS - Values - anchor - Examples - Comparison of different anchor-side values - JavaScript: We listen for the `change` event that occurs when a new `<anchor-side>` value is selected, and set the selected value as the `<anchor-side>` in the `anchor()` function within the infobox's relevant inset property (`top` or `lef...
[ -0.670688807964325, -0.22906683385372162, -0.4610074758529663, 0.17266811430454254, 0.14561596512794495, -1.640617847442627, 0.2794041335582733, 1.7020963430404663, -0.689415454864502, -0.3150465190410614, 0.25990262627601624, -0.149286150932312, -0.22362340986728668, 0.6186028122901917, ...
css/reference/values/anchor/index.md
CSS - Values - anchor - Examples - Element positioned relative to multiple anchors: This example positions an element relative to two different anchors, which are used to set the position of the top-left and bottom-right corners of the anchor-positioned element. The anchors can be moved via keyboard controls or dragge...
[ 0.05391675978899002, -0.4641292095184326, -0.46050596237182617, 0.6885818243026733, -0.6646267771720886, -0.7946536540985107, 1.517126202583313, 1.468993067741394, -0.1952476054430008, -0.24449288845062256, 0.08935458958148956, -0.13491971790790558, -0.4198235273361206, 0.3149566948413849,...
css/reference/values/anchor/index.md
CSS - Values - anchor - Examples - Element positioned relative to multiple anchors - HTML: We specify three `div` elements in total. The first two have a class of `anchor` and will be defined as anchors; each one has an individual `id` that will be used to provide them with different positioning information. The last ...
[ -0.5520156025886536, -0.8134335279464722, -0.16025488078594208, 0.5937061905860901, -0.21099257469177246, -0.973116397857666, 1.4782967567443848, 1.0444005727767944, -0.5150291323661804, 0.22983483970165253, 0.497050940990448, -0.19860292971134186, -0.375707745552063, 0.6654689311981201, ...
css/reference/values/anchor/index.md
CSS - Values - anchor - Examples - Element positioned relative to multiple anchors - CSS: Example: body { width: 150vw; height: 150vh; } .anchor { font-size: 1rem; color: white; text-shadow: 1px 1px 1px black; background-color: hsl(240 100% 75%); width: fit-content; border-radius: 10px; border: 1px...
[ -0.41002023220062256, -0.16039910912513733, -0.36107081174850464, -0.3541809320449829, 0.13367079198360443, -0.9158872961997986, -0.09905758500099182, 2.3722243309020996, -0.18322685360908508, 0.1754944622516632, -0.0026910491287708282, 0.13480201363563538, 0.022008612751960754, 0.57251715...
css/reference/values/fit-content_function/index.md
CSS - Values - fit-content function: The `fit-content()` CSS function clamps a given size to an available size according to the formula `min(maximum size, max(minimum size, argument))`. It is distinct from the `fit-content` keyword, which takes no argument and sizes a box based on its content within the available spa...
[ -0.23179499804973602, -0.33483225107192993, -1.6689716577529907, 0.019817039370536804, 0.6614593267440796, -2.671928644180298, -0.6176775693893433, 1.7741637229919434, -0.7887883186340332, 0.2548527121543884, 0.6886847615242004, 0.19680076837539673, -0.9973054528236389, 0.7872553467750549,...
css/reference/values/fit-content_function/index.md
CSS - Values - fit-content function - Syntax: Example: /* <length> values */ fit-content(200px) fit-content(5cm) fit-content(30vw) fit-content(100ch) /* <percentage> value */ fit-content(40%)
[ -0.9688966870307922, -0.39899078011512756, -0.846240758895874, -0.3251958191394806, -0.5710892677307129, -1.6294275522232056, 0.9064877033233643, 1.4077602624893188, -0.23392660915851593, 0.32447418570518494, 0.5292522311210632, 0.9011769890785217, -0.14158964157104492, 0.279953271150589, ...
css/reference/values/fit-content_function/index.md
CSS - Values - fit-content function - Syntax - Values: - `&lt;length&gt;`: An absolute length. - `&lt;percentage&gt;`: A percentage relative to the available space in the given axis. In grid properties it is relative to the inline size of the grid container in column tracks and to the block size of the grid container ...
[ -1.5773062705993652, -0.9266173243522644, -0.5879091620445251, -0.02674616500735283, -0.4290999174118042, -2.286017417907715, 0.1370331197977066, 1.4425725936889648, 0.1593828797340393, 0.0072732060216367245, -0.8790389895439148, 0.11449873447418213, -0.8099573850631714, 1.1621170043945312...
css/reference/values/fit-content_function/index.md
CSS - Values - fit-content function - Examples - Sizing grid columns with fit-content - HTML: Example: <div id="container"> <div>Item as wide as the content.</div> <div> Item with more text in it. Because the contents of it are wider than the maximum width, it is clamped at 300 pixels. </div> <div>Fle...
[ -1.964395523071289, -0.6757591366767883, -0.7150362730026245, 0.057617224752902985, -0.37569916248321533, -1.4162410497665405, 0.36716440320014954, 0.47494107484817505, -1.364975094795227, 0.7426281571388245, -0.3416765034198761, 0.21300774812698364, -1.38663911819458, 0.9074640870094299, ...
css/reference/values/fit-content_function/index.md
CSS - Values - fit-content function - Examples - Sizing grid columns with fit-content - CSS: Example: #container { display: grid; grid-template-columns: fit-content(300px) fit-content(300px) 1fr; grid-gap: 5px; box-sizing: border-box; height: 200px; width: 100%; background-color: #8cffa0; padding: 10p...
[ -0.9220192432403564, 0.020849935710430145, -0.8524478077888489, -0.02775593101978302, 0.630108654499054, -0.9167874455451965, -0.5062763690948486, 1.4514260292053223, -1.174674391746521, 0.5178706049919128, 0.20048008859157562, -0.44411054253578186, -1.0266481637954712, 1.0218353271484375,...
css/reference/values/line-style/index.md
CSS - Values - line-style: The `<line-style>` `enumerated` value type represents keyword values that define the style of a line, or the lack of a line. The `<line-style>` keyword values are used in the following longhand and shorthand border and gap decoration properties: - `border`, `border-style` - `border-block`, ...
[ -0.7895979881286621, 0.24894601106643677, -1.0227100849151611, -0.6296879053115845, 0.8113232851028442, -0.2757805287837982, -0.23911288380622864, 1.8201581239700317, -0.054607149213552475, -0.19045253098011017, -0.07173819094896317, -0.14457736909389496, -0.08808045089244843, 0.0190212652...
css/reference/values/line-style/index.md
CSS - Values - line-style - Syntax - Values: The `<line-style>` enumerated type is specified using one of the values listed below: - `none`: Displays no line. The used value of the line width is `0` even if a width value is specified. In the case of table cell and border collapsing, the `none` value has the lowest pr...
[ -0.9576097130775452, 0.07353278249502182, -1.4520453214645386, -0.09967641532421112, 0.9025415778160095, -0.44816404581069946, -0.14706160128116608, 2.0550427436828613, -0.07372157275676727, 0.01210662443190813, 0.09902717173099518, 0.18139541149139404, -0.3124634921550751, 0.0875211954116...
css/reference/values/line-style/index.md
CSS - Values - line-style - Examples: The first example demonstrates all the `<line-style>` keyword values. The second example demonstrates how some line style colors may display in unexpected ways.
[ -0.9555014967918396, -0.48096251487731934, -1.0446906089782715, -0.12163778394460678, -0.29954755306243896, 0.14264005422592163, 0.5463622808456421, 1.9326177835464478, -0.014422990381717682, -0.5851212739944458, 0.29867249727249146, 0.027126654982566833, 0.07289271801710129, -0.6482932567...
css/reference/values/line-style/index.md
CSS - Values - line-style - Examples - Defining line styles: This example shows all the `<line-style>` values as values for the CSS `border-style` and `column-rule-style` properties.
[ -0.54422926902771, -0.04111135005950928, -1.5677965879440308, -0.16036677360534668, -0.24890118837356567, -0.7564029693603516, 0.45868170261383057, 2.339613437652588, 0.360734224319458, -0.42479610443115234, 0.35664963722229004, 0.24804508686065674, 0.22789007425308228, -0.2619218826293945...
css/reference/values/line-style/index.md
CSS - Values - line-style - Examples - Defining line styles - HTML: This example uses multiple `div` elements, each with a class representing the `<line-style>` value that is being demonstrated. Example: <div class="{line-style}"> <p>{line-style}</p> <p>a b c d e f g h i j k l m n o p q r s t u v w x y z</p> </d...
[ -1.0744839906692505, -0.49633461236953735, -1.1194063425064087, -0.20998583734035492, -0.13571122288703918, -0.02457093447446823, 0.7584972381591797, 1.2406316995620728, -0.31709912419319153, -0.22028489410877228, 0.24365121126174927, 0.6480319499969482, -0.23913435637950897, -0.8825447559...
css/reference/values/line-style/index.md
CSS - Values - line-style - Examples - Defining line styles - CSS: In the CSS for this example, the border and the column-rule for all the `<p>` elements is defined to have a width of `7px` and the style value of `double`. For each paragraph, the `double` value is then overridden by specifying a different `<line-style...
[ -0.5225229263305664, -0.10062156617641449, -0.9105871915817261, -0.5066593885421753, 0.7252236604690552, -0.884351372718811, -0.6820743680000305, 1.7765679359436035, -0.2309199869632721, 0.042118608951568604, 0.4753779172897339, -0.11143173277378082, -0.18282687664031982, 0.547889649868011...
css/reference/values/line-style/index.md
CSS - Values - line-style - Examples - Defining line styles and colors: This example demonstrates line-style and color choice. With some `<line-style>` keyword values, the color of the line may not be what you expect. To create the required "3D" effect of `groove`, `ridge`, `inset`, and `outset` styles when displaying...
[ -1.01706063747406, -0.3740587830543518, -1.4684197902679443, -0.5249707102775574, 0.0076258182525634766, 0.06684113293886185, 0.12959182262420654, 1.9127367734909058, -0.24642974138259888, -0.324307382106781, 0.07340020686388016, 0.6627367734909058, 0.09438513964414597, -0.9377904534339905...
css/reference/values/line-style/index.md
CSS - Values - line-style - Examples - Defining line styles and colors - CSS: The four sides of each `<div>` have a different `<line-style>` value, and each list item has a different `&lt;color>` value. We use generated content to display the CSS declared inline. Example: body { display: flex; flex-wrap: wrap; ...
[ -0.42663851380348206, -0.10362710803747177, -0.9923068881034851, -0.3863508403301239, 0.8155350685119629, -0.8211360573768616, -0.32350942492485046, 1.754676103591919, -0.1981498897075653, -0.38804489374160767, -0.09393653273582458, -0.021428894251585007, 0.085047148168087, -0.259282380342...
css/reference/values/line-style/index.md
CSS - Values - line-style - Examples - Defining line styles and colors - JavaScript: The JavaScript dynamically creates `div` elements, each with a different `border-color` set. Example: // prettier-ignore const colors = [ "#000000", "#000001", "#ffffff", "#ff00ff", "#ffff00", "#00ffff", "#cc33cc", "#cccc33", ...
[ -0.4754156768321991, -0.3664321303367615, -0.9779319167137146, 0.3178928792476654, 0.43426793813705444, -0.5547584891319275, -0.5492280721664429, 1.194174885749817, -0.5239734649658203, 0.23029883205890656, -0.159976527094841, -0.09655016660690308, -0.3671790659427643, 0.46714770793914795,...
css/reference/values/line-width/index.md
CSS - Values - line-width: The `<line-width>` `enumerated` value type represents the length or keyword value that defines the width of a line, or the lack of a line. The `<line-width>` keyword values are used in the following longhand and shorthand properties: - `border`, `border-width` - `border-block`, `border-bloc...
[ -0.9868900775909424, 0.5148232579231262, -1.0126127004623413, -0.9086050987243652, 0.7153801918029785, -0.6892200708389282, 0.16104517877101898, 1.5161089897155762, 0.4401557445526123, -0.0916067436337471, -0.40593913197517395, -0.04368237778544426, -0.5192433595657349, 0.07541020214557648...
css/reference/values/line-width/index.md
CSS - Values - line-width - Syntax - Values: The `<line-width>` type is specified using either `<length>` or a keyword: - `<length>`: A non-negative `&lt;length&gt;`. - `hairline`: Represents a "just visible" line that is less than or equal to `1px`. - `thin`: Same as `1px`. - `medium`: Same as `3px`. - `thick`: Same...
[ -0.9407761096954346, -0.11464011669158936, -0.9825384616851807, -0.9958063960075378, 0.8195381760597229, -0.8221985101699829, -0.12044130265712738, 1.4489630460739136, 0.17967328429222107, -0.4742420017719269, -0.4018038809299469, 0.0334739089012146, 0.045380622148513794, -0.37552323937416...
css/reference/values/line-width/index.md
CSS - Values - line-width - Examples - Defining a line width: This example demonstrates all the `<line-width>` keyword values, along with a `<length>` value.
[ -0.5616947412490845, -0.27841833233833313, -1.4078062772750854, -0.962125837802887, -0.41902053356170654, -0.2871161699295044, 0.2574513554573059, 1.4989871978759766, 0.5591578483581543, -0.8497658371925354, -0.2930947244167328, 0.4481428861618042, -0.11753468960523605, -0.1695775240659713...
css/reference/values/line-width/index.md
CSS - Values - line-width - Examples - Defining a line width - HTML: We include five boxes within a `section` element. Example: <section> <div data-width="hairline">hairline</div> <div data-width="thin">thin</div> <div data-width="medium">medium</div> <div data-width="thick">thick</div> <div data-width="10...
[ -0.9305751919746399, -0.5660451650619507, -0.6597227454185486, -0.44897177815437317, 0.5870625376701355, -0.706381618976593, 0.08651995658874512, 0.9922655820846558, 0.1526719331741333, -0.15653014183044434, -0.1604800820350647, 0.04975532740354538, -0.2712125778198242, 0.22605293989181519...
css/reference/values/line-width/index.md
CSS - Values - line-width - Examples - Defining a line width - CSS: We style all the elements to be identical, then set the `border-width` based on the element's `data-width` attribute. Example: section { display: flex; gap: 10px; } div { flex: 0 0 15%; border-style: solid; border-color: purple; text-ali...
[ -0.9008674025535583, -0.7328513860702515, -1.4179214239120483, -0.8737407326698303, 0.07594197988510132, -0.6723459362983704, 0.44757547974586487, 1.1530749797821045, 0.05035199224948883, -0.030078090727329254, -0.33364778757095337, 0.40888848900794983, -0.17061834037303925, 0.067866504192...
css/reference/values/dashed-ident/index.md
CSS - Values - dashed-ident: The `<dashed-ident>` CSS data type is a case-sensitive `custom-ident` starting with two dashes that denotes an arbitrary string used as an `identifier`.
[ -1.0613707304000854, -0.7124110460281372, -0.8143588900566101, -0.2187892347574234, -0.7563045620918274, -2.0167689323425293, 1.5078811645507812, 1.1005241870880127, 0.075693279504776, 1.0221171379089355, -0.08517371863126755, -0.13502275943756104, 0.010214637964963913, -0.6308022737503052...
css/reference/values/dashed-ident/index.md
CSS - Values - dashed-ident - Syntax: The syntax of `<dashed-ident>` is similar to CSS identifiers (such as property names), except that it is case-sensitive. It is a user-defined identifier preceded by two dashes (`--`). The double dash at the beginning makes them easily identifiable when reading through a CSS code ...
[ -0.549404501914978, -0.19033749401569366, -0.6235436201095581, -0.40810519456863403, -0.7592756152153015, -1.9418106079101562, 2.2327566146850586, 0.6688894033432007, 0.11884349584579468, 1.0946831703186035, -0.4076600670814514, 0.05923861265182495, -0.4134890139102936, -0.3185014426708221...
css/reference/values/dashed-ident/index.md
CSS - Values - dashed-ident - Examples - Using with CSS custom properties: When a `<dashed-ident>` is used as a CSS custom property, the property is declared first, and then the `<dashed-ident>` is used within a CSS `var()` function. Example: html { --primary-color: red; --secondary-color: blue; --tertiary-col...
[ -0.6435979604721069, 0.22465598583221436, -0.4805002212524414, -0.10931175947189331, -1.4137696027755737, -1.8752546310424805, 1.516931414604187, 0.5491041541099548, -0.09681554138660431, 0.9635686278343201, -0.41776013374328613, -0.09209436923265457, 0.1839113086462021, -0.359373569488525...
css/reference/values/dashed-ident/index.md
CSS - Values - dashed-ident - Examples - Using with @color-profile: When a `<dashed-ident>` is used with the `@color-profile` at-rule, the at-rule is declared first, and then the `<dashed-ident>` is used within a CSS `color()` function. Example: @color-profile --my-color-profile { src: url("https://example.org/SWO...
[ -0.6864749193191528, 0.32562968134880066, -0.8623960614204407, -0.656632125377655, -0.30283525586128235, -2.0768723487854004, -0.28970006108283997, 0.9551202654838562, -0.43736162781715393, 0.7761586308479309, 0.12315435707569122, -0.39508727192878723, -0.22485949099063873, 0.0264617800712...
css/reference/values/dashed-ident/index.md
CSS - Values - dashed-ident - Examples - Using with @font-palette-values: When a `<dashed-ident>` is used with the `@font-palette-values` at-rule, the at-rule is declared first, and then the `<dashed-ident>` is used as the value for the `font-palette` property. Example: @font-palette-values --my-palette { font-fam...
[ -1.0428205728530884, 0.39359042048454285, -0.09692014008760452, -0.00472583994269371, 0.057925641536712646, -1.8585319519042969, 0.04761393368244171, 1.7013301849365234, 0.21239298582077026, 0.3105408847332001, -0.029852531850337982, 0.26742732524871826, -0.013196097686886787, -0.107803247...
css/reference/values/dashed-ident/index.md
CSS - Values - dashed-ident - Examples - Using with env() and param(): When a `<dashed-dent>` is used in an external resource in an `env` CSS function, it can be updated using the `param` CSS function. Example: <svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"> <path fill="env(--color, black)" d="..." ...
[ -0.8122187852859497, -0.059208013117313385, -0.5162161588668823, -1.137839436531067, -0.27182844281196594, -1.3697539567947388, 0.1465911567211151, 1.5698691606521606, -0.6761560440063477, 0.353127658367157, 0.47320401668548584, 0.32733848690986633, 0.05339417606592178, 0.00146556645631790...
css/reference/values/box-edge/index.md
CSS - Values - box-edge: The `<box-edge>` value types represent a box edge keyword, such as `content-box` and `border-box`. The box-edge keywords are used to define different aspects of an element's box model and how elements are positioned and rendered on screen. The box-edge keywords are the components of, but not ...
[ -0.36652618646621704, -0.6806546449661255, -1.2218340635299683, -0.8470653891563416, 0.39802321791648865, -1.1227891445159912, 1.8818707466125488, 2.546769380569458, -0.12655387818813324, -0.552191972732544, -0.08240905404090881, -0.11032594740390778, -0.6933631896972656, 0.240932345390319...
css/reference/values/box-edge/index.md
CSS - Values - box-edge - Syntax: Example: <visual-box> = content-box | padding-box | border-box /* the three <box> values */ <layout-box> or <shape-box> = <visual-box> | margin-box <paint-box> = <visual-box> | fill-box | stroke-box <coord-box> = <paint-box> | fill-box | stroke-box | view-box <geometry-box> = <shape-...
[ -0.18850985169410706, -0.6509255766868591, -0.2525116205215454, -0.6533927917480469, -0.12041899561882019, -1.0272815227508545, 1.473937749862671, 2.13085675239563, 0.13477568328380585, -0.6655736565589905, 0.056595198810100555, 0.3335030674934387, -0.0943671390414238, 0.06068549305200577,...
css/reference/values/box-edge/index.md
CSS - Values - box-edge - Syntax - Values: A `<box-edge>` can be of the type `<visual-box>`, `<layout-box>`, `<paint-box>`, `<coord-box>`, or `<geometry-box>`. - `<visual-box>`: Refers to the rectangular box generated for an element as seen by a user on a web page. It includes the element's content, padding, and bord...
[ -0.39992499351501465, 0.05824156850576401, -0.42789921164512634, -0.11043430119752884, 0.3993475139141083, -0.6886193156242371, 0.4095293879508972, 1.5609538555145264, 0.17777666449546814, -0.06539619714021683, 0.2259766161441803, 0.08248904347419739, -0.02458316832780838, 0.25230994820594...
css/reference/values/box-edge/index.md
CSS - Values - box-edge - Syntax - Keywords: The `<box-edge>` keywords are defined as follows: - `content-box`: Refers to the outer edge of the box's content area. The content box is the innermost box. The content area contains the actual content, such as text, images, or other HTML elements. In SVG, this value is tr...
[ -0.42802000045776367, 0.18220938742160797, -0.30095696449279785, -0.178336039185524, 0.30939343571662903, -1.3072285652160645, 0.4543078541755676, 1.9347240924835205, -0.29845720529556274, -0.38438406586647034, 0.7202562689781189, -0.04895659163594246, -0.34064751863479614, 0.7440035939216...