file
stringlengths
16
94
text
stringlengths
32
24.4k
vector
list
css/reference/values/attr/index.md
CSS - Values - attr: Note: The `attr()` function can be used with any CSS property, but support for properties other than `content` is experimental. The `attr()` CSS function is used to retrieve the value of an attribute of the selected element and use it in a property value, similar to how the `var()` function subst...
[ -0.39194101095199585, 0.2232242226600647, -0.6195064187049866, 0.40316808223724365, 0.38099899888038635, -2.0967373847961426, 0.35979408025741577, 1.3447633981704712, -0.11119364202022552, 0.43495121598243713, 0.4966985583305359, 0.15876072645187378, -0.2067960500717163, 0.2581178545951843...
css/reference/values/attr/index.md
CSS - Values - attr - Syntax: Example: /* Basic usage */ attr(data-count) attr(href) /* With type */ attr(data-width px) attr(data-size rem) attr(data-name raw-string) attr(id type(<custom-ident>)) attr(data-count type(<number>)) attr(data-size type(<length> | <percentage>)) /* With fallback */ attr(data-count type...
[ -0.4212642014026642, -0.44421741366386414, -0.3131621778011322, -0.5514799952507019, 0.0576663613319397, -1.367933750152588, -0.10635636001825333, 1.1841177940368652, -0.3090023994445801, 0.1951659917831421, -0.24896736443042755, 0.11631706357002258, -0.7562307715415955, 0.1884132027626037...
css/reference/values/attr/index.md
CSS - Values - attr - Syntax - Parameters: The `attr()` function's syntax is as follows: Example: attr(<attr-name> <attr-type>? , <fallback-value>?) The parameters are: - `<attr-name>`: The attribute name whose value should be retrieved from the selected HTML element(s). - Namespaces: The attribute name can cont...
[ -0.768516480922699, -0.024746116250753403, -0.8494840860366821, 0.2919449806213379, 0.5480852723121643, -1.9895942211151123, 0.6115749478340149, 1.381294846534729, -0.49181172251701355, 0.5985132455825806, -0.08360234647989273, 0.1836657077074051, -0.37983912229537964, 0.4413483440876007, ...
css/reference/values/attr/index.md
CSS - Values - attr - Syntax - Return value: The return value of `attr()` is the value of the HTML attribute whose name is `<attr-name>` parsed as the given `<attr-type>` or parsed as a CSS string. When an `<attr-type>` is set, `attr()` will try to parse the attribute into that specified `<attr-type>` and return it. ...
[ -1.6162420511245728, -0.31653058528900146, -0.9623375535011292, 0.8311566114425659, -0.38890132308006287, -1.6344022750854492, 1.6942827701568604, 0.7977133393287659, -0.9197783470153809, 0.5782317519187927, -0.1612081527709961, 0.4902868866920471, -0.3083851635456085, 1.0318001508712769, ...
css/reference/values/attr/index.md
CSS - Values - attr - Description - Limitations and security: The `attr()` function can reference attributes that were never intended for styling use and might contain sensitive information (for example, a security token used by scripts on the page). In general, this is fine, but it can become a security threat when u...
[ -1.7491248846054077, -0.028991542756557465, -0.531819224357605, 0.3195453882217407, 0.3205164968967438, -1.006786823272705, -0.221151664853096, 0.9655426740646362, -0.9446694850921631, -0.11619637906551361, 0.30838653445243835, 0.7772171497344971, -0.383391797542572, -0.09776487946510315, ...
css/reference/values/attr/index.md
CSS - Values - attr - Description - Backwards compatibility: Generally speaking, the modern `attr()` syntax is backward-compatible because the old way of using it — without specifying an `<attr-type>` — behaves the same as before. Having `attr(data-attr)` in your code is the same as writing `attr(data-attr type(<strin...
[ -1.0462431907653809, 0.128542959690094, -0.08641237020492554, 0.4556952118873596, 0.41359466314315796, -1.2685425281524658, -0.10370427370071411, 1.4151062965393066, -0.1500994861125946, -0.10612868517637253, 0.030093733221292496, 0.3367308974266052, -0.4801366329193115, 0.1192249953746795...
css/reference/values/attr/index.md
CSS - Values - attr - Description - Feature detection: You can feature detect support for modern `attr()` syntax using the `@supports` at-rule. In the test, try to assign an advanced `attr()` to a (non-custom) CSS property. For example: Example: @supports (x: attr(x type(*))) { /* Browser has modern attr() suppor...
[ -0.4220641255378723, 0.008488919585943222, -0.4766417443752289, 0.2787659764289856, 0.9689559936523438, -1.3528972864151, -0.15983980894088745, 1.3265905380249023, -0.10055460035800934, -0.09991934895515442, 0.09723000228404999, -0.4179646670818329, 0.2303791046142578, 0.20383447408676147,...
css/reference/values/attr/index.md
CSS - Values - attr - Examples - content property: In this example, we prepend the value of the `data-foo` `data-*` global attribute to the contents of the `p` element.
[ 0.4750530421733856, -0.5698873996734619, -0.9730806946754456, 0.6106470823287964, -0.9211592674255371, -1.9926754236221313, 1.4015260934829712, 1.6116410493850708, 0.055947884917259216, -0.00019871536642313004, -0.6961120963096619, 0.5764492750167847, -1.2948505878448486, 0.089970648288726...
css/reference/values/attr/index.md
CSS - Values - attr - Examples - content property - HTML: Example: <p data-foo="hello">world</p>
[ 0.19509603083133698, -0.10929328203201294, -0.5866228938102722, 0.837649941444397, -0.9071882367134094, -1.3154209852218628, 0.9198004603385925, 0.9649041295051575, -0.429639607667923, -0.0561346560716629, -0.2228264957666397, 0.48788684606552124, -0.7010635733604431, -0.5722374320030212, ...
css/reference/values/attr/index.md
CSS - Values - attr - Examples - content property - CSS: Example: [data-foo]::before { content: attr(data-foo) " "; }
[ 0.9291043281555176, -0.6415630578994751, -1.01021409034729, 0.06948427855968475, -0.8721857070922852, -1.6902201175689697, 1.3294907808303833, 1.3632533550262451, -1.0039236545562744, 0.03069886937737465, 0.9069393277168274, -0.16352730989456177, -0.7943195700645447, 0.02869516611099243, ...
css/reference/values/attr/index.md
CSS - Values - attr - Examples - Using a fallback value: In this example, we append the value of `data-browser` `data-*` global attribute to the `p` element. If the `data-browser` attribute is missing from the `p` element, we append the fallback value of "Unknown".
[ -1.628763198852539, 0.01038295030593872, -1.0673428773880005, 1.1266074180603027, -0.46657171845436096, -0.9348551630973816, 2.614960193634033, 1.1729989051818848, -0.571134090423584, 0.5882487893104553, -0.7267497777938843, 0.8918138742446899, -0.3216075301170349, 0.4043385088443756, 0....
css/reference/values/attr/index.md
CSS - Values - attr - Examples - Using a fallback value - HTML: Example: <p data-browser="Firefox">My favorite browser is:</p> <p>Your favorite browser is:</p>
[ -1.266190528869629, -0.20715568959712982, -1.0751783847808838, 1.1312631368637085, -0.7272480130195618, -0.39463070034980774, 1.9432605504989624, 0.7620314955711365, -0.25023987889289856, 0.457612544298172, -0.32481884956359863, -0.17337647080421448, -0.7463912963867188, -0.527461647987365...
css/reference/values/attr/index.md
CSS - Values - attr - Examples - Using a fallback value - CSS: Example: p::after { content: " " attr(data-browser, "Unknown"); color: tomato; }
[ -0.7850715517997742, -0.2980565130710602, -0.9620245695114136, 0.6053991317749023, -0.5349931120872498, -0.7530943751335144, 1.8262866735458374, 1.0936368703842163, -1.4374487400054932, 0.6372735500335693, 0.37891513109207153, 0.14873851835727692, -0.4662911891937256, 0.18952298164367676, ...
css/reference/values/attr/index.md
CSS - Values - attr - Examples - color value: In this example, we set the CSS value of `background-color` to the value of the `data-background` `data-*` global attribute assigned to the `div` element.
[ -0.8171601891517639, -0.4209793210029602, -1.1112604141235352, 0.22102150321006775, -0.5288883447647095, -1.4925193786621094, 0.8669764399528503, 1.2218163013458252, -0.31136205792427063, 0.24020272493362427, 0.3595818877220154, 0.4715498685836792, -0.5610207319259644, 0.5369804501533508, ...
css/reference/values/attr/index.md
CSS - Values - attr - Examples - color value - HTML: Example: <div class="background" data-background="lime"> background expected to be red if your browser does not support advanced usage of attr() </div>
[ -0.6902966499328613, -0.5786578059196472, -0.6092307567596436, -0.19002704322338104, -0.7096697092056274, -0.2976445257663727, 0.8217837810516357, 1.540636420249939, -0.31230390071868896, -0.38714465498924255, 0.02009328454732895, -0.3275396227836609, -0.68407142162323, -0.1629659980535507...
css/reference/values/attr/index.md
CSS - Values - attr - Examples - color value - CSS: Example: .background { height: 100vh; } Example: .background { background-color: red; } .background[data-background] { background-color: attr(data-background type(<color>), red); }
[ -0.6589146852493286, -0.6745068430900574, -0.8013848662376404, -0.24120354652404785, -0.4159485399723053, -1.0553892850875854, 0.9034013152122498, 1.1238605976104736, -0.5029538869857788, -0.05356859415769577, 0.21103958785533905, 0.3922823667526245, -0.12224741280078888, 0.299308985471725...
css/reference/values/attr/index.md
CSS - Values - attr - Examples - Using dimension units: In this example the `data-rotation` attribute is parsed into a `deg` unit, which specifies the element's rotation.
[ -0.634732186794281, -0.7147265076637268, -1.4949644804000854, -0.15648263692855835, -1.1622906923294067, -0.43550899624824524, 1.3307112455368042, 0.6226704120635986, 0.020148053765296936, -0.49794167280197144, -0.6128152012825012, -0.13443559408187866, -0.07988880574703217, -0.00732839852...
css/reference/values/attr/index.md
CSS - Values - attr - Examples - Using dimension units - HTML: Example: <div data-rotation="-3">I am rotated by -3 degrees</div> <div data-rotation="2">And I by 2 degrees</div> <div>And so am I, using the fallback value of 1.5deg</div>
[ -1.7301422357559204, -0.6988937258720398, -1.098966360092163, 0.09294047951698303, -0.9621679782867432, -0.6814612746238708, 1.0363372564315796, 0.12824459373950958, -0.8864650130271912, 0.12487968057394028, -0.668696939945221, 0.4270859956741333, -0.2681043744087219, -0.20179571211338043,...
css/reference/values/attr/index.md
CSS - Values - attr - Examples - Using dimension units - CSS: Example: body { min-height: 100svh; display: grid; place-content: center; gap: 1em; } div { margin: 0 auto; border: 1px solid; border-radius: 0.25em; padding: 0.5em; } Example: div { width: fit-content; transform-origin: 50% 50%; ro...
[ -0.640937328338623, -0.09736065566539764, -0.7129918336868286, -0.26262223720550537, 0.11783410608768463, -1.1887887716293335, -0.1397792398929596, -0.05433359742164612, -0.7068434953689575, -0.4370656907558441, 0.47592341899871826, 0.04744400829076767, -0.6753813028335571, 0.7799443006515...
css/reference/values/attr/index.md
CSS - Values - attr - Examples - Parsing `attr()` values as `<custom-ident>`s: In this example, the values for the `view-transition-name` property are derived from the `id` attribute of the element. The attribute gets parsed into a `&lt;custom-ident&gt;`, which is what `view-transition-name` accepts as a value. The r...
[ -0.8673670887947083, -0.16164574027061462, -1.3813506364822388, 0.7543384432792664, -0.16732265055179596, -1.2773966789245605, 1.0137625932693481, 0.6800536513328552, 0.06097112596035004, 0.091951884329319, 0.19260084629058838, -0.06607033312320709, -0.49156543612480164, 0.1212532520294189...
css/reference/values/attr/index.md
CSS - Values - attr - Examples - Parsing `attr()` values as `<custom-ident>`s - HTML: The HTML contains four cards with different `id` attributes and a "Shuffle cards" `<button>`, which shuffles the cards. Example: <div class="cards"> <div class="card" id="card-1">1</div> <div class="card" id="card-2">2</div> ...
[ -1.3054776191711426, -0.5535189509391785, -0.8378910422325134, -0.23690038919448853, -0.034364428371191025, -0.875718891620636, 1.0106292963027954, 0.17642030119895935, -0.16884082555770874, -0.55928635597229, 0.3817678689956665, 0.4687473773956299, -0.068476602435112, -0.9766762852668762,...
css/reference/values/attr/index.md
CSS - Values - attr - Examples - Parsing `attr()` values as `<custom-ident>`s - CSS: The cards are laid out in a flex container: Example: .cards { display: flex; flex-direction: row; gap: 1em; padding: 1em; } Example: :root { view-transition-name: none; } ::view-transition { pointer-events: none; } @s...
[ -0.7743427753448486, -0.19407831132411957, -0.7206142544746399, -0.1678048074245453, 0.4042632579803467, -1.6335170269012451, -0.19847722351551056, 1.4251811504364014, -0.23879048228263855, 0.3730590045452118, 0.783970832824707, 0.21556878089904785, 0.010498397052288055, 0.7305026650428772...
css/reference/values/attr/index.md
CSS - Values - attr - Examples - Parsing `attr()` values as `<custom-ident>`s - JavaScript: When the `<button>` is pressed, the cards are shuffled. This is done by randomizing the order of an array containing references to all the cards and then updating the `order` property of each card to its new array index positio...
[ -0.9628679156303406, -0.24349607527256012, -1.1212489604949951, -0.19338013231754303, 0.649039626121521, -0.9940745234489441, 0.31302952766418457, 0.9007840156555176, -0.08164919912815094, 0.21274229884147644, 0.7953174710273743, 0.3498803973197937, 0.17531298100948334, 0.4569733738899231,...
css/reference/selectors/pseudo-elements/index.md
CSS - Selectors - Pseudo-elements: A CSS pseudo-element is a keyword added to a selector that lets you style a specific part of the selected element(s). Note: This page is an index of all pseudo-elements in CSS. The CSS pseudo-elements page introduces the module that defines some, but not all, of these pseudo-element...
[ -0.5469964742660522, -0.6014360189437866, -1.6124898195266724, 0.7465169429779053, 0.08527107536792755, -1.6278342008590698, 1.0370457172393799, 0.7197145819664001, 0.36441564559936523, 0.630488932132721, 0.09302257001399994, 0.2853540778160095, -1.0484580993652344, -0.014562204480171204, ...
css/reference/selectors/pseudo-elements/index.md
CSS - Selectors - Pseudo-elements - Syntax: Example: selector::pseudo-element { property: value; } For example, `::first-line` can be used to change the font of the first line of a paragraph. Example: /* The first line of every <p> element. */ p::first-line { color: blue; text-transform: uppercase; } Double...
[ 0.10868770629167557, -0.028128862380981445, -0.7608062624931335, 0.5738756060600281, 0.6854070425033569, -0.9534478783607483, 0.3708779215812683, 1.4063040018081665, 0.15257108211517334, 0.6335867643356323, -0.2750147879123688, -0.16366975009441376, -0.31071653962135315, -0.223968461155891...
css/reference/selectors/pseudo-elements/index.md
CSS - Selectors - Pseudo-elements - Typographic pseudo-elements: - `::first-line`: The first line-box of the originating element. - `::first-letter`: The first letter, number, or symbol character on the first line of its originating element. - `::cue`: The WebVTT cues within a selected element. This can be used to sty...
[ -0.719764232635498, -0.7217603921890259, -1.19339120388031, 0.30125531554222107, 0.3517666161060333, -1.7881194353103638, 0.7791738510131836, 1.1308417320251465, 0.33677271008491516, 0.8103821873664856, -0.19011154770851135, -0.6295560002326965, -0.956536591053009, -0.6592279672622681, -...
css/reference/selectors/pseudo-elements/index.md
CSS - Selectors - Pseudo-elements - Highlight pseudo-elements: Selects document sections based on content and document status, enabling those areas to be styled differently to indicate that status to the user. - `::grammar-error`: A portion of text that the browser thinks is grammatically incorrect. - `::highlight()`...
[ -0.3664150536060333, -0.8240370154380798, -1.065816879272461, 0.9609687328338623, 0.35064613819122314, -1.1335703134536743, 1.2523530721664429, 0.3921101689338684, 0.0005514770746231079, 0.44568827748298645, -0.3051931858062744, 0.13555093109607697, -1.0474071502685547, -0.2567616105079651...
css/reference/selectors/pseudo-elements/index.md
CSS - Selectors - Pseudo-elements - Tree-Abiding pseudo-elements: These pseudo-elements behave like regular elements, fitting seamlessly within the box model. They act as a child element that can be styled directly within the originating element hierarchy. - `::before`: Creates a pseudo-element that is the first chil...
[ 0.12650351226329803, 0.40593504905700684, -1.4237521886825562, 0.6871548295021057, 0.21492835879325867, -1.6255425214767456, 0.2396848201751709, 1.001842737197876, 0.10489298403263092, 0.553930938243866, 0.04931184649467468, -0.23609280586242676, -0.59195876121521, 0.7832633256912231, -0...
css/reference/selectors/pseudo-elements/index.md
CSS - Selectors - Pseudo-elements - Element-backed pseudo-elements: These pseudo-elements are real elements that are not otherwise selectable. - `::details-content`: The expandable/collapsible contents of a `details` element. - `::part()`: Any element within a shadow tree that has a matching `part` attribute. - `::sl...
[ 0.2602728009223938, -0.7102996706962585, -1.3822990655899048, 0.6778370141983032, -0.1368831843137741, -2.123340368270874, 1.6305598020553589, 0.8808425068855286, -0.15495893359184265, 0.41603294014930725, 0.060093678534030914, 0.4683348536491394, -1.269295573234558, 0.13474956154823303, ...
css/reference/selectors/pseudo-elements/index.md
CSS - Selectors - Pseudo-elements - Form-related pseudo-elements: The pseudo-elements are related to form controls. - `::checkmark`: Targets the checkmark placed inside the currently-selected `<option>` element of a customizable select element to provide a visual indication of which one is selected. - `::file-selecto...
[ -0.7456961274147034, -0.7516841888427734, -0.8347919583320618, 0.9946272373199463, 0.4997052550315857, -1.0498332977294922, 0.7946415543556213, 0.4767116904258728, 0.154984712600708, 0.4613264501094818, 0.02465485781431198, -0.19051407277584076, 0.017541546374559402, 0.3597346246242523, ...
css/reference/selectors/pseudo-elements/index.md
CSS - Selectors - Pseudo-elements - Alphabetical index: Pseudo-elements defined by a set of CSS specifications include the following: A - `::after` B - `::backdrop` - `::before` C - `::column` - `::checkmark` - `::cue` (and `::cue()`) D - `::details-content` F - `::file-selector-button` - `::first-letter` - ...
[ 0.33740463852882385, -0.5050249099731445, -1.8435901403427124, 0.337602823972702, 0.501005232334137, -1.1713935136795044, -0.32550859451293945, 1.125118613243103, -0.313854455947876, 0.29651910066604614, 1.2599272727966309, -1.0876506567001343, 0.2155561000108719, 0.5315536260604858, -1....
css/reference/selectors/pseudo-elements/index.md
CSS - Selectors - Pseudo-elements - Alphabetical index - Non-standard pseudo-elements: Non-standard vendor-prefixed pseudo-elements include:
[ -0.13216224312782288, -0.6128259897232056, -1.5123594999313354, 0.8281709551811218, -0.591781735420227, -1.3871867656707764, 0.7991774678230286, 1.054261326789856, -0.2625230550765991, 0.28164058923721313, -0.11362183839082718, -0.3821168839931488, -1.1041316986083984, -0.615298330783844, ...
css/reference/selectors/pseudo-elements/index.md
CSS - Selectors - Pseudo-elements - Alphabetical index - Non-standard pseudo-elements - `-moz-` prefix: - `::-moz-color-swatch` - `::-moz-focus-inner` - `::-moz-list-bullet` - `::-moz-list-number` - `::-moz-meter-bar` - `::-moz-progress-bar` - `::-moz-range-progress` - `::-moz-range-thumb` - `::-moz-range-track`
[ -1.6549402475357056, -0.6053637266159058, -0.776475727558136, 0.8082954287528992, 0.5045908689498901, -0.20967726409435272, 0.6958014369010925, 0.28411242365837097, -0.17453539371490479, 0.6379646062850952, -0.46568238735198975, 0.47585129737854004, -0.17280881106853485, -0.051279749721288...
css/reference/selectors/pseudo-elements/index.md
CSS - Selectors - Pseudo-elements - Alphabetical index - Non-standard pseudo-elements - `-webkit-` prefix: - `::-webkit-inner-spin-button` - `::-webkit-meter-bar` - `::-webkit-meter-even-less-good-value` - `::-webkit-meter-inner-element` - `::-webkit-meter-optimum-value` - `::-webkit-meter-suboptimum-value` - `::-webk...
[ -1.0547964572906494, -0.03447289764881134, -1.334113359451294, 0.5218310952186584, 0.4882219433784485, -0.6937732696533203, 0.11197246611118317, 0.18601100146770477, 0.05471070110797882, 0.448605477809906, -0.1652330756187439, 0.5750096440315247, -0.5864847302436829, 0.13754788041114807, ...
css/reference/selectors/pseudo-elements/index.md
CSS - Selectors - Pseudo-elements - Nesting pseudo-elements: You can chain some pseudo-element selectors together to style pseudo-elements nested inside other pseudo-elements. The following nested pseudo-element combinations are supported: - `::after` - `::after::marker`: Selects the `::marker` pseudo-element of an...
[ 0.4203316271305084, -0.5249151587486267, -0.9471642374992371, 1.6894599199295044, 0.07733336091041565, -1.0088634490966797, 1.2160712480545044, 0.6592472195625305, -0.01734934002161026, 1.1807347536087036, 0.15521995723247528, -0.14900872111320496, -0.37114042043685913, -0.2408384531736374...
css/reference/selectors/pseudo-elements/index.md
CSS - Selectors - Pseudo-elements - Highlight pseudo-elements inheritance: Highlight pseudo-elements, such as `::selection`, `::target-text`, `::highlight()`, `::spelling-error`, and `::grammar-error`, follow a consistent inheritance model that differs from regular element inheritance. When you apply styles to highli...
[ 0.01468784548342228, 0.20545440912246704, -0.8745549321174622, 0.7494373321533203, 0.03364655375480652, -1.5192515850067139, 0.2308751940727234, 1.9061205387115479, -0.11642071604728699, 0.25560081005096436, -0.16254118084907532, 0.3192692995071411, -0.012278027832508087, 0.321795463562011...
css/reference/selectors/_colon_xr-overlay/index.md
CSS - Selectors - :xr-overlay: The `:xr-overlay` CSS pseudo-class, defined in the WebXR DOM overlays module, matches the DOM overlay element when a web page is being viewed in an immersive AR or VR environment.
[ -0.9388559460639954, -0.700520396232605, -1.0808724164962769, 0.309210866689682, -0.4730191230773926, -0.21630887687206268, 1.0983991622924805, 0.7298337817192078, 0.03511589765548706, 0.791498601436615, 0.6146221160888672, -0.4343618154525757, -0.19802509248256683, -0.41881367564201355, ...
css/reference/selectors/_colon_xr-overlay/index.md
CSS - Selectors - :xr-overlay - Syntax: Example: :xr-overlay { /* ... */ }
[ -0.23011715710163116, -0.12124718725681305, -1.0848411321640015, 0.9203543663024902, -0.8929758071899414, 0.2111090123653412, 0.8190591931343079, 1.8574256896972656, 0.5301201343536377, -0.4236391484737396, 1.0776246786117554, -0.22278381884098053, -0.18617190420627594, -0.3966088891029358...
css/reference/selectors/_colon_xr-overlay/index.md
CSS - Selectors - :xr-overlay - Description: The `:xr-overlay` pseudo-class matches the overlay element for the duration of an immersive session using a DOM overlay. The overlay element is a backdrop root. Any `backdrop-filter` effects on the DOM overlay element or its descendants do not modify the AR camera image (i...
[ -0.7174513339996338, -1.6665239334106445, -1.2777507305145264, 0.23395469784736633, -0.30823707580566406, -1.3223141431808472, 1.4497469663619995, 1.226790428161621, 0.08867351710796356, 0.8036558032035828, 0.490558385848999, 0.23422524333000183, -0.011607035994529724, 0.4665921926498413, ...
css/reference/selectors/_colon_xr-overlay/index.md
CSS - Selectors - :xr-overlay - Examples - Basic usage: In this example, we define the overlay to be semi-transparent black, enabling content behind the overlay to be partially visible. To ensure enough contrast between content and its background, we set the `color` to `white`. Example: :xr-overlay { background-co...
[ -0.5706483721733093, 0.13702990114688873, -0.7739879488945007, 0.5193896293640137, 0.168147474527359, -0.020736686885356903, 0.5437725782394409, 1.8415342569351196, 0.503838062286377, 0.45406684279441833, 0.4819818139076233, 0.07991611957550049, -0.19905251264572144, -0.2667744755744934, ...
css/reference/selectors/_colon_xr-overlay/index.md
CSS - Selectors - :xr-overlay - Examples - Targeting an overlay's contents: In this example, we use the `:xr-overlay` selector to style the `button` elements within an XR DOM overlay. Example: :xr-overlay button { background-color: white; color: black; }
[ -0.5264289379119873, 0.019789088517427444, -1.2342699766159058, 0.8207731246948242, -0.4420407712459564, -0.5527441501617432, 1.0120869874954224, 1.3560930490493774, -0.07988180965185165, 0.41043388843536377, 0.39325252175331116, 0.32350292801856995, -0.39062219858169556, -0.60600554943084...
css/reference/properties/text-wrap-style/index.md
CSS - Properties - text-wrap-style: The `text-wrap-style` CSS property controls how text inside an element is wrapped, providing alternate ways of determining where to create line breaks in order to fit the content within a block element. Example: text-wrap-style: auto; Example: text-wrap-style: balance; Example:...
[ -0.5289471745491028, 0.1600872129201889, -0.5010076761245728, -0.12497833371162415, 0.9202880859375, -1.3816488981246948, -0.5550795793533325, 1.7496225833892822, -0.4234433174133301, 0.36238449811935425, 0.5089996457099915, -0.22748179733753204, -0.5873499512672424, -0.14563636481761932, ...
css/reference/properties/text-wrap-style/index.md
CSS - Properties - text-wrap-style - Syntax: Example: /* Keyword values */ text-wrap-style: auto; text-wrap-style: balance; text-wrap-style: pretty; text-wrap-style: stable; /* Global values */ text-wrap-style: inherit; text-wrap-style: initial; text-wrap-style: revert; text-wrap-style: revert-layer; text-wrap-style...
[ -0.9937871694564819, 0.5255289673805237, 0.2108420580625534, 0.3741767406463623, -0.12221897393465042, -0.9791120886802673, 0.1472320705652237, 2.1709399223327637, 0.7422379851341248, 0.32385554909706116, -0.4984737038612366, 0.9196738600730896, -0.4079539179801941, -0.5862374305725098, ...
css/reference/properties/text-wrap-style/index.md
CSS - Properties - text-wrap-style - Syntax - Values: The `text-wrap-style` property is specified as one of the following keyword values: - `auto`: Text is wrapped in the most performant way for the browser and does not take into account the number of characters. - `balance`: Text is wrapped in a way that best balanc...
[ -0.750687301158905, -0.10890296846628189, -0.47225767374038696, -0.43107131123542786, 0.9966742992401123, -0.26589876413345337, 0.430286169052124, 1.3794203996658325, 0.04791867733001709, 0.1576123982667923, -0.02949460595846176, -0.19639849662780762, -0.15100926160812378, -0.2376439571380...
css/reference/properties/text-wrap-style/index.md
CSS - Properties - text-wrap-style - Description: The `text-wrap-style` property can be used to provide a hint as to how the user agent should insert soft line breaks when the content is allowed to wrap. Each value defines a different approach to wrapping lines, balancing speed, quality, layout style, and stability, p...
[ -1.227586030960083, -0.311411589384079, -0.21708738803863525, 0.3909063935279846, 0.2815766930580139, -0.4805743396282196, 0.521232008934021, 2.17753005027771, 0.5911367535591125, -0.040647588670253754, -0.3380350172519684, 0.0481838658452034, -0.6736897230148315, -0.8163421154022217, 0....
css/reference/properties/text-wrap-style/index.md
CSS - Properties - text-wrap-style - Description - Selecting a value: The value you choose, for `text-wrap-style`, depends on how many lines of text you anticipate styling, whether the text is `contenteditable`, and whether you need to prioritize appearance or performance. When the styled content will be limited to a...
[ -1.063504695892334, -0.10613466054201126, -0.17289982736110687, 0.5684065818786621, 0.25538697838783264, -0.7198317050933838, 0.15212269127368927, 2.036210775375366, 0.4102112948894501, 0.37499985098838806, -0.5708543658256531, 0.04840192198753357, -0.5215758085250854, -0.9001131057739258,...
css/reference/properties/text-wrap-style/index.md
CSS - Properties - text-wrap-style - Examples - Balanced text: This example has two paragraphs, the first is the default `auto` and the second is `balance`.
[ -0.1971692442893982, 0.34827280044555664, -0.8801370859146118, 0.5439141392707825, -0.7398862838745117, -0.36265167593955994, 1.4333542585372925, 2.33103609085083, 0.21265220642089844, 0.37149378657341003, -0.7208989262580872, 0.10490915179252625, -0.397686630487442, -0.063820481300354, ...
css/reference/properties/text-wrap-style/index.md
CSS - Properties - text-wrap-style - Examples - Balanced text - HTML: Example: <h2>Unbalanced</h2> <p> Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit, ad. Impedit adipisci rerum modi praesentium atque aperiam vitae nesciunt consectetur assumenda deleniti repudiandae perferendis sed odio doloremq...
[ -1.4073243141174316, 0.019095879048109055, 0.13630534708499908, -0.7139957547187805, 0.6085861921310425, -1.4767794609069824, 0.3145606219768524, 0.9730589985847473, -0.344984233379364, 0.11454912275075912, 0.4027443528175354, 0.26480478048324585, -0.7572282552719116, 0.014089584350585938,...
css/reference/properties/text-wrap-style/index.md
CSS - Properties - text-wrap-style - Examples - Balanced text - CSS: Example: p { max-width: 60ch; } .balanced { text-wrap-style: balance; }
[ -0.6182332634925842, 0.2747170925140381, -0.33132269978523254, -0.5379966497421265, -0.5581465363502502, -0.20900583267211914, 1.1183801889419556, 1.317619800567627, -0.07049150764942169, 0.11790773272514343, 0.024596523493528366, 1.1193819046020508, -0.8828385472297668, -0.331620126962661...
css/reference/properties/container/index.md
CSS - Properties - container: The container shorthand CSS property establishes the element as a query container and specifies the name and type of the containment context used in a container query.
[ -0.4932434558868408, -0.46722230315208435, -1.868817925453186, 0.9701312780380249, -0.17346243560314178, -1.7968300580978394, -0.033991459757089615, 1.8727236986160278, -0.2602277398109436, 0.22742535173892975, -0.3502759635448456, -0.03959711641073227, -0.5558900833129883, 0.0043778046965...
css/reference/properties/container/index.md
CSS - Properties - container - Constituent properties: This property is a shorthand for the following CSS properties: - `container-name` - `container-type`
[ -0.6378623247146606, 0.12374572455883026, -1.149155855178833, 0.5925682783126831, -0.4029448926448822, -2.1056711673736572, 0.3252602815628052, 2.231961488723755, 0.18312424421310425, -0.09794746339321136, -0.10583934932947159, 0.2789047956466675, -0.6848422288894653, -0.31688329577445984,...
css/reference/properties/container/index.md
CSS - Properties - container - Syntax: Example: /* <container-name> */ container: my-layout; /* <container-name> / <container-type> */ container: my-layout / size; /* Global Values */ container: inherit; container: initial; container: revert; container: revert-layer; container: unset;
[ -0.7388361692428589, 0.31535908579826355, -0.10897897183895111, 0.31269267201423645, -0.5931430459022522, -1.2998542785644531, -0.3995091915130615, 2.2952487468719482, -0.046492207795381546, 0.19372890889644623, -0.10335744917392731, 0.8879181146621704, -1.1251130104064941, 0.1985059380531...
css/reference/properties/container/index.md
CSS - Properties - container - Syntax - Values: - `<container-name>`: A case-sensitive name for the containment context. More details on the syntax are covered in the `container-name` property page. - `<container-type>`: The type of containment context. More details on the syntax are covered in the `container-type` pr...
[ -0.1343909651041031, -0.881842851638794, -1.1095913648605347, 0.35988134145736694, -0.43736356496810913, -1.71738862991333, 0.35546863079071045, 1.9976375102996826, 0.7109302282333374, -0.06213115155696869, -0.21821506321430206, 0.7651408314704895, -1.2397780418395996, 0.051824331283569336...
css/reference/properties/container/index.md
CSS - Properties - container - Examples - Establishing inline size containment: Given the following HTML example which is a card component with an image, a title, and some text: Example: <div class="post"> <div class="card"> <h2>Card title</h2> <p>Card content</p> </div> </div> The explicit way to creat...
[ -1.0243831872940063, 0.020610686391592026, -0.8080838918685913, 0.2467723786830902, 0.934016227722168, -0.9798600077629089, -0.22501929104328156, 1.3329466581344604, -0.22434741258621216, 0.14386406540870667, 0.23638179898262024, 0.46231746673583984, -0.07147741317749023, 0.136168137192726...
css/reference/properties/letter-spacing/index.md
CSS - Properties - letter-spacing: The `letter-spacing` CSS property sets the spacing between text characters. This value is added to the natural spacing between characters while rendering the text. Positive values of `letter-spacing` spread characters further apart, while negative values of `letter-spacing` bring cha...
[ -1.2577778100967407, 0.15138310194015503, -0.5104854702949524, -0.6880613565444946, 0.8260523676872253, -2.263765335083008, -0.5627481341362, 1.1395319700241089, 0.6267324090003967, -0.10641605406999588, 0.7617331743240356, -0.17790865898132324, -0.5523310899734497, -0.11888726055622101, ...
css/reference/properties/letter-spacing/index.md
CSS - Properties - letter-spacing - Syntax: Example: /* Keyword value */ letter-spacing: normal; /* <length-percentage> values */ letter-spacing: 0.3em; letter-spacing: 3px; letter-spacing: -0.5px; letter-spacing: 50%; /* Global values */ letter-spacing: inherit; letter-spacing: initial; letter-spacing: revert; let...
[ -1.8959940671920776, 0.0033779628574848175, 0.014651734381914139, -0.32732266187667847, 0.0840306431055069, -1.0685575008392334, 0.4386838376522064, 1.1752136945724487, 0.7941101789474487, 0.027345655485987663, -0.33972135186195374, 1.0607062578201294, -0.17775216698646545, -0.828467845916...
css/reference/properties/letter-spacing/index.md
CSS - Properties - letter-spacing - Syntax - Values: - `normal`: The normal letter spacing for the current font. Unlike a value of `0`, this keyword allows the `user agent` to alter the space between characters in order to justify text. - `&lt;length-percentage&gt;`: Specifies extra inter-character space in addition t...
[ -1.9372445344924927, -0.08593513816595078, 0.044554464519023895, -0.08979523181915283, 0.7469504475593567, -0.5252061486244202, 0.8576521873474121, 1.0927928686141968, 0.6086462736129761, -0.08478888124227524, -0.023427147418260574, -0.13141164183616638, -0.11128941178321838, -0.3603223264...
css/reference/properties/letter-spacing/index.md
CSS - Properties - letter-spacing - Accessibility: A large positive or negative `letter-spacing` value will make the word(s) the styling is applied to unreadable. For text styled with a very large positive value, the letters will be so far apart that the word(s) will appear like a series of individual, unconnected let...
[ -1.9909182786941528, 0.16314035654067993, -0.3496444821357727, -0.5032627582550049, 0.5505224466323853, -1.6788221597671509, 0.42989757657051086, 0.5768478512763977, 0.6144609451293945, 0.21582870185375214, -0.6315338015556335, -0.14962953329086304, -0.07851791381835938, -0.5065878033638, ...
css/reference/properties/letter-spacing/index.md
CSS - Properties - letter-spacing - Internationalization concerns: Some written languages should not have any letter spacing applied. For instance, languages that use the Arabic script expect connected letters to remain visually connected, as in the following example. Applying letter spacing may lead to the text looki...
[ -1.3182923793792725, 0.34794315695762634, -0.19220174849033356, -0.5096606016159058, 0.08065421879291534, -0.027237841859459877, 1.097145676612854, 0.7209540605545044, -0.07120415568351746, -0.2101566642522812, -0.6487661600112915, 0.48954689502716064, -0.6445446610450745, -0.9317336082458...
css/reference/properties/letter-spacing/index.md
CSS - Properties - letter-spacing - Examples - Setting letter-spacing with length values: This example shows several paragraphs with different length `letter-spacing` values set, allowing you to compare them.
[ -1.1663614511489868, 0.06419956684112549, -0.776373565196991, -0.16369357705116272, -0.6805139780044556, -0.8398706912994385, 0.8408792614936829, 1.6656253337860107, 1.0193414688110352, -0.22906412184238434, -0.28363555669784546, 0.39575132727622986, -0.06441911309957504, -0.64814668893814...
css/reference/properties/letter-spacing/index.md
CSS - Properties - letter-spacing - Examples - Setting letter-spacing with length values - HTML: The HTML contains several `p` elements containing text content. Example: <p class="normal">letter spacing</p> <p class="em-wide">letter spacing</p> <p class="em-wider">letter spacing</p> <p class="em-tight">letter spacin...
[ -1.9710185527801514, 0.2500777244567871, -0.13794919848442078, -0.0167035274207592, 0.6930936574935913, -0.9810732007026672, 1.0068955421447754, 0.879413366317749, 0.18803313374519348, 0.21270409226417542, 0.35730043053627014, 0.2022222876548767, -0.4577770531177521, -0.4602082669734955, ...
css/reference/properties/letter-spacing/index.md
CSS - Properties - letter-spacing - Examples - Setting letter-spacing with length values - CSS: Our CSS applies a different `letting-spacing` value to each paragraph. Example: .normal { letter-spacing: normal; } .em-wide { letter-spacing: 0.4em; } .em-wider { letter-spacing: 1em; } .em-tight { letter-spacing...
[ -1.7797214984893799, 0.07331755012273788, -0.3417978286743164, -0.6753194332122803, 0.20813429355621338, -1.9194309711456299, 0.11581096053123474, 0.3254759907722473, 0.45844030380249023, 0.054865796118974686, -0.18464702367782593, 0.5546091198921204, -0.176131471991539, -0.820045828819274...
css/reference/properties/letter-spacing/index.md
CSS - Properties - letter-spacing - Examples - Comparing letter-spacing set with length and percentage: This example demonstrates that percentage `letter-spacing` values are useful for responsive text sizing. The code displays several paragraphs that have the same `letter-spacing` set on text with increasing font siz...
[ -2.0242247581481934, 0.045983292162418365, 0.41414907574653625, -0.5062919855117798, 0.7697022557258606, -1.1253985166549683, 1.276887059211731, 1.2315999269485474, 0.5734772086143494, 0.08557792752981186, 0.09139940142631531, 0.2835048735141754, -0.31968197226524353, -0.3869774043560028, ...
css/reference/properties/letter-spacing/index.md
CSS - Properties - letter-spacing - Examples - Comparing letter-spacing set with length and percentage - HTML: The HTML contains several `p` elements containing text content, and an `<input type="checkbox">` that we'll use to toggle between a length `letter-spacing` and a percentage `letter-spacing` value. Example: ...
[ -2.0300698280334473, -0.3532577455043793, -0.26571834087371826, 0.24455401301383972, 0.29427310824394226, -1.4093221426010132, 0.6566036343574524, 0.7786568403244019, -0.26359793543815613, 0.01180635392665863, -0.23795779049396515, 0.2970695197582245, -0.5036009550094604, -0.61007171869277...
css/reference/properties/letter-spacing/index.md
CSS - Properties - letter-spacing - Examples - Comparing letter-spacing set with length and percentage - CSS: Our CSS starts by applying increasing `font-size` values to each successive paragraph: Example: html { font-family: "Arial", sans-serif; } Example: .x-small { font-size: 0.8em; } .small { font-size:...
[ -1.631689429283142, -0.03471241146326065, -0.42125558853149414, -0.4981142580509186, 0.044462308287620544, -1.092584252357483, 0.6593605279922485, 1.2536906003952026, 0.13003656268119812, 0.2089834362268448, 0.41499680280685425, -0.03318222984671593, -0.7103784680366516, -0.334049046039581...
css/reference/properties/row-gap/index.md
CSS - Properties - row-gap: The `row-gap` CSS property sets the size of the gap (`gutter`) between an element's rows. Example: row-gap: 0; Example: row-gap: 1ch; Example: row-gap: 1em; Example: row-gap: 20px; Example: <section class="default-example" id="default-example"> <div class="example-container"> ...
[ -1.363207459449768, -0.18722423911094666, -0.6712954044342041, -0.4731414020061493, 0.11474749445915222, -1.4882413148880005, 0.19614779949188232, 1.1060417890548706, -0.4294668436050415, 0.09792099893093109, -0.1871926486492157, 0.33502262830734253, -0.36881375312805176, 0.098795577883720...
css/reference/properties/row-gap/index.md
CSS - Properties - row-gap - Syntax: Example: /* keyword value */ row-gap: normal; /* <length-percentage> value */ row-gap: 20px; row-gap: 1em; row-gap: 3vmin; row-gap: 0.5cm; row-gap: 10%; row-gap: calc(10% - 6px); /* Global values */ row-gap: inherit; row-gap: initial; row-gap: revert; row-gap: revert-layer; row-...
[ -1.295707106590271, 0.21214492619037628, 0.35604071617126465, -0.5248458385467529, 0.30787208676338196, -0.46945643424987793, 0.8792070150375366, 1.1987825632095337, 0.27516183257102966, -0.2582903206348419, -0.7557673454284668, 0.11273565888404846, -0.0983443334698677, 0.37829700112342834...
css/reference/properties/row-gap/index.md
CSS - Properties - row-gap - Syntax - Values: - `normal`: For multi-column layout, resolves to `1em`; otherwise `0`. This is the default value. - `&lt;length&gt;`: The size of the gap between rows, as a non-negative `&lt;length&gt;` value. - `&lt;percentage&gt;`: The size of the gap between rows, defined as a non-nega...
[ -1.3962212800979614, -0.24926424026489258, -0.4698261022567749, -0.03114585392177105, 0.5972233414649963, -0.27033674716949463, 0.16727575659751892, 1.50369393825531, 0.2052426040172577, -0.5412275791168213, 0.12644943594932556, 0.03204445540904999, -0.21062535047531128, 0.3368844985961914...
css/reference/properties/row-gap/index.md
CSS - Properties - row-gap - Description: The `row-gap` property sets the size of the gap between an element's rows. This gap may contain a visible separator as a gap decoration. If there is a rule between rows, it will appear in the middle of the gap, but has no impact on the gap size. These decorative lines can be a...
[ -1.619745135307312, -0.009736576117575169, -1.2625923156738281, -0.11542065441608429, -0.06880828738212585, -1.611208200454712, -0.24884024262428284, 1.9631896018981934, -0.1966114342212677, -0.11309348046779633, -0.9024062156677246, 0.6536615490913391, -1.0576744079589844, 0.0067627653479...
css/reference/properties/row-gap/index.md
CSS - Properties - row-gap - Examples - Flex layout - HTML: Example: <div id="flexbox"> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> </div>
[ -1.3165298700332642, -0.1614886075258255, -0.5849156379699707, -0.1609203964471817, -0.5661666393280029, -0.6122412085533142, 1.4252241849899292, 1.9223244190216064, -0.7022866606712341, -0.5060223937034607, -0.5854580402374268, -0.44767147302627563, -0.7397560477256775, -0.308334946632385...
css/reference/properties/row-gap/index.md
CSS - Properties - row-gap - Examples - Flex layout - CSS: Example: #flexbox { display: flex; flex-wrap: wrap; width: 300px; row-gap: 20px; } #flexbox > div { border: 1px solid green; background-color: lime; flex: 1 1 auto; width: 100px; height: 50px; }
[ -1.1268315315246582, -0.3664701282978058, -1.0544469356536865, -0.6088791489601135, 0.39447644352912903, -0.693562924861908, 0.45403146743774414, 1.8617693185806274, -0.6131675839424133, 0.13658402860164642, 0.25003132224082947, -0.1803532987833023, -0.42476433515548706, 0.2219135761260986...
css/reference/properties/row-gap/index.md
CSS - Properties - row-gap - Examples - Grid layout - HTML: Example: <div id="grid"> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> </div>
[ -1.2582310438156128, 0.5494406223297119, -0.26663899421691895, -0.678387463092804, -0.7863925695419312, -0.7141849994659424, 1.390157699584961, 2.013301372528076, -0.5864821076393127, -0.20619699358940125, -0.8277122378349304, 0.03418593853712082, -0.7367043495178223, -0.35789239406585693,...
css/reference/properties/row-gap/index.md
CSS - Properties - row-gap - Examples - Grid layout - CSS: Example: #grid { display: grid; height: 200px; grid-template-columns: 150px 1fr; grid-template-rows: repeat(3, 1fr); row-gap: 20px; } #grid > div { border: 1px solid green; background-color: lime; }
[ -1.514573335647583, -0.2195219099521637, -0.5510365962982178, -0.9549664855003357, -0.34418338537216187, -0.8579052686691284, 0.9702671766281128, 1.6206129789352417, -0.9279947280883789, 0.35376912355422974, -0.605729877948761, 0.6758832931518555, -0.6329357624053955, 0.2648184597492218, ...
css/reference/properties/mix-blend-mode/index.md
CSS - Properties - mix-blend-mode: The `mix-blend-mode` CSS property sets how an element's content should blend with its backdrop — the content rendered behind the element within the same stacking context. Note: This property blends the element with content behind it in the stacking context. To blend an element's own...
[ -0.13546371459960938, -0.6280977725982666, -0.6406794786453247, -0.11555112898349762, 0.7794459462165833, -1.5486810207366943, -0.31132930517196655, 1.4942755699157715, -0.16880954802036285, 0.059358421713113785, 0.10467419028282166, -0.22579172253608704, -0.417090505361557, 0.442540466785...
css/reference/properties/mix-blend-mode/index.md
CSS - Properties - mix-blend-mode - Syntax: Example: /* Keyword values */ mix-blend-mode: normal; mix-blend-mode: multiply; mix-blend-mode: screen; mix-blend-mode: overlay; mix-blend-mode: darken; mix-blend-mode: lighten; mix-blend-mode: color-dodge; mix-blend-mode: color-burn; mix-blend-mode: hard-light; mix-blend-m...
[ -0.6348692178726196, 0.034091364592313766, -0.6990577578544617, -0.22075074911117554, 0.27572837471961975, -1.0041685104370117, -0.22566616535186768, 1.4027647972106934, -0.2590365409851074, -0.22323870658874512, -0.2034703642129898, -0.11736731976270676, -0.3155440092086792, 0.67488402128...
css/reference/properties/mix-blend-mode/index.md
CSS - Properties - mix-blend-mode - Syntax - Values: - `&lt;blend-mode&gt;`: The blending mode that should be applied. - `plus-darker`: Blending using the plus-darker compositing operator. - `plus-lighter`: Blending using the plus-lighter compositing operator. Useful for cross-fade effects (prevents unwanted blinking ...
[ -1.1453168392181396, -0.3397339880466461, -1.03817880153656, 0.5271738171577454, 0.44537001848220825, -0.7303624749183655, 0.24079829454421997, 1.6346781253814697, -0.24153448641300201, -0.0063889771699905396, -0.6849149465560913, -0.40738219022750854, 0.20146414637565613, 0.44002035260200...
css/reference/properties/mix-blend-mode/index.md
CSS - Properties - mix-blend-mode - Examples - Effect of different mix-blend-mode values: Example: <div class="grid"> <div class="col"> <div class="note"> Blending in isolation (no blending with the background) </div> <div class="row isolate"> <div class="cell"> normal <div c...
[ -0.03548524156212807, -0.0030708294361829758, -0.021341271698474884, 0.24196654558181763, 0.2545137405395508, -0.906197726726532, 1.172062635421753, 1.757365345954895, -0.40121376514434814, -0.16620607674121857, -0.08281412720680237, 0.8014761805534363, -0.26821017265319824, 0.376735955476...
css/reference/properties/mix-blend-mode/index.md
CSS - Properties - mix-blend-mode - Examples - Using mix-blend-mode with HTML - HTML: Example: <div class="isolate"> <div class="circle circle-1"></div> <div class="circle circle-2"></div> <div class="circle circle-3"></div> </div>
[ -1.0153822898864746, -0.06183076649904251, -0.8089203834533691, 0.3942212462425232, -0.4411798417568207, -0.1533694863319397, 1.5403119325637817, 0.8725764751434326, -0.056463971734046936, -0.05009420961141586, -0.9958075284957886, 0.16544218361377716, -0.19671179354190826, -0.438903480768...
css/reference/properties/mix-blend-mode/index.md
CSS - Properties - mix-blend-mode - Examples - Using mix-blend-mode with HTML - CSS: Example: .circle { width: 80px; height: 80px; border-radius: 50%; mix-blend-mode: screen; position: absolute; } .circle-1 { background: red; } .circle-2 { background: lightgreen; left: 40px; } .circle-3 { backgro...
[ -0.9616395831108093, 0.20539356768131256, -0.8192228674888611, -0.5992130041122437, 0.29869288206100464, -0.5913127064704895, -0.10562063008546829, 1.1227768659591675, -0.5781963467597961, 0.09638861566781998, -0.048224445432424545, -0.040190666913986206, -0.34272828698158264, 0.6192315816...
css/reference/properties/mix-blend-mode/index.md
CSS - Properties - mix-blend-mode - Examples - Using mix-blend-mode with SVG - SVG: Example: <svg> <g class="isolate"> <circle cx="40" cy="40" r="40" fill="red" /> <circle cx="80" cy="40" r="40" fill="lightgreen" /> <circle cx="60" cy="80" r="40" fill="blue" /> </g> </svg>
[ -1.905871033668518, -0.11166426539421082, -0.7536289095878601, -0.19781866669654846, 0.10340933501720428, -0.4517996311187744, 1.3601951599121094, 1.30898118019104, 0.5085272789001465, -0.2618521451950073, 0.02824556455016136, 0.3110032379627228, 0.1558459848165512, -0.06385038048028946, ...
css/reference/properties/mix-blend-mode/index.md
CSS - Properties - mix-blend-mode - Examples - Using mix-blend-mode with SVG - CSS: Example: circle { mix-blend-mode: screen; } .isolate { isolation: isolate; } /* Without isolation, the background color will be taken into account */
[ -1.0295217037200928, 0.030121810734272003, -0.6706945896148682, -0.11908520758152008, -0.14091350138187408, -0.3510684072971344, 1.0321600437164307, 0.7451022863388062, 0.2793789207935333, 0.10518384724855423, -0.010269168764352798, -0.0931585505604744, -0.11409889161586761, 0.223487824201...
css/reference/properties/mix-blend-mode/index.md
CSS - Properties - mix-blend-mode - Examples - Using mix-blend-mode with text: This example uses `mix-blend-mode` to blend text color with the background color of its parent element.
[ -0.32453957200050354, -0.16680380702018738, -0.7113550901412964, -0.1031726747751236, -0.8667358756065369, -0.05633866786956787, 1.184356451034546, 1.6835391521453857, 0.41003498435020447, -0.1968742460012436, -0.6730332374572754, -0.28469234704971313, -0.38686516880989075, -0.362601786851...
css/reference/properties/mix-blend-mode/index.md
CSS - Properties - mix-blend-mode - Examples - Using mix-blend-mode with text - HTML: Example: <div class="container"> <p>Mostly Harmless</p> <p class="multiply">Mostly Harmless</p> <p class="screen">Mostly Harmless</p> <p class="hard-light">Mostly Harmless</p> </div>
[ -1.199755072593689, 0.5068362355232239, -0.25731492042541504, 0.3564234972000122, 0.407661497592926, -1.780127763748169, 0.2642875015735626, 1.0689606666564941, -0.4895341992378235, -0.278632253408432, -0.6676098704338074, -0.26393330097198486, -0.49124571681022644, -0.05386114865541458, ...
css/reference/properties/mix-blend-mode/index.md
CSS - Properties - mix-blend-mode - Examples - Using mix-blend-mode with text - CSS: Example: @import "https://fonts.googleapis.com/css2?family=Rubik+Moonrocks&display=swap"; .container { background-color: blue; } p { font: 4rem "Rubik Moonrocks", cursive; font-weight: bold; color: orange; padding...
[ 0.06382057815790176, 0.2955020070075989, -0.5962309837341309, -0.49597302079200745, 0.440208375453949, -0.9878579378128052, 0.2398054003715515, 1.169801950454712, -0.14429529011249542, -0.05630093812942505, 0.19640964269638062, -0.22270618379116058, 0.12276236712932587, 0.4238395690917969,...
css/reference/properties/column-gap/index.md
CSS - Properties - column-gap: The `column-gap` CSS property sets the size of the gap (`gutter`) between an element's columns in multi-column, flexible box, and grid layouts. Example: column-gap: 0; Example: column-gap: 10%; Example: column-gap: 1em; Example: column-gap: 20px; Example: <section class="defaul...
[ -2.0103530883789062, -0.2978019416332245, -1.2594614028930664, -0.25149765610694885, 0.19116517901420593, -1.8012999296188354, -0.4531533420085907, 1.1910780668258667, -0.4748746156692505, 0.07164430618286133, -0.28948602080345154, 0.4550783634185791, -0.8592695593833923, 0.239508032798767...
css/reference/properties/column-gap/index.md
CSS - Properties - column-gap - Syntax: Example: /* Keyword value */ column-gap: normal; /* <length-percentage> values */ column-gap: 3px; column-gap: 2.5em; column-gap: 3%; column-gap: calc(3% - 6px); /* Global values */ column-gap: inherit; column-gap: initial; column-gap: revert; column-gap: revert-layer; column...
[ -2.309493064880371, 0.5067145228385925, 0.401022344827652, -0.09965018182992935, 0.6774136424064636, -0.5458687543869019, 0.22400087118148804, 1.2578067779541016, -0.24246692657470703, -0.20662465691566467, -0.3673875629901886, 0.04418162256479263, -0.1308870017528534, 0.24685701727867126,...
css/reference/properties/column-gap/index.md
CSS - Properties - column-gap - Syntax - Values: - `normal`: For multi-column layout, resolves to `1em`; otherwise `0`. This is the default value. - `&lt;length&gt;`: The size of the gap between columns, as a non-negative `&lt;length&gt;` value. - `&lt;percentage&gt;`: The size of the gap between columns, defined as a...
[ -1.6823506355285645, -0.0319441482424736, -0.31502243876457214, 0.1924213021993637, 0.5260397791862488, -0.43277275562286377, 0.14385956525802612, 1.119878888130188, 0.07898347079753876, -0.18058405816555023, 0.06864695250988007, -0.09885849058628082, -0.32861122488975525, 0.30200237035751...
css/reference/properties/column-gap/index.md
CSS - Properties - column-gap - Description: The `column-gap` property sets the size of the gap between an element's columns. The property specifies a fixed-length gutter between items in a container, separating boxes in the container's inline axis. Negative values are invalid. The default value `normal` resolves to `...
[ -1.1578093767166138, -0.20440320670604706, -0.76752769947052, 0.11515410244464874, 0.7949575781822205, -0.9115068912506104, -0.17060445249080658, 1.3311275243759155, -0.5480130314826965, 0.313147634267807, -0.027020571753382683, -0.0581880584359169, -0.8130171298980713, 0.6667368412017822,...
css/reference/properties/column-gap/index.md
CSS - Properties - column-gap - Examples - Flex layout: In this example, a flex container contains six flex items of two different widths (`200px` and `300px`), creating flex items that are not laid out as a grid. The `column-gap` property is used to add horizontal space between the adjacent flex items.
[ -1.8398690223693848, -0.512616753578186, -1.3485438823699951, 0.31399521231651306, -0.223688542842865, -0.44341370463371277, 0.1318497657775879, 2.1689741611480713, -0.5474159717559814, -0.12097442150115967, -0.6081846952438354, 0.4822576642036438, -1.4360630512237549, 0.2834354639053345, ...
css/reference/properties/column-gap/index.md
CSS - Properties - column-gap - Examples - Flex layout - HTML: Example: <div class="flexbox"> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> </div>
[ -1.6038278341293335, -0.26644787192344666, -0.5432248115539551, -0.05030813440680504, -0.35962700843811035, -0.797688364982605, 1.2014245986938477, 1.708945631980896, -0.8485068082809448, -0.2258824110031128, -0.3862186074256897, -0.25452661514282227, -0.5873143672943115, -0.09117181599140...
css/reference/properties/column-gap/index.md
CSS - Properties - column-gap - Examples - Flex layout - CSS: To create a flex container, we set its `display` property value to `flex`. We then use the `flex-flow` shorthand property to set the `flex-direction` to row (the default) and `flex-wrap` to `wrap`, allowing the flex items to flow onto new lines if needed. B...
[ -0.9194660782814026, -0.1697884500026703, -0.6185985803604126, 0.6420418620109558, 0.6930856704711914, -0.48833733797073364, -0.5112977027893066, 1.8775097131729126, -0.5237919092178345, 0.5878515839576721, -0.1314653903245926, 0.6133274435997009, -0.4170175790786743, 0.4906788468360901, ...
css/reference/properties/column-gap/index.md
CSS - Properties - column-gap - Examples - Grid layout - HTML: Example: <div id="grid"> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> </div>
[ -1.339368224143982, 0.45009323954582214, -0.3195841908454895, -0.5102678537368774, -0.6758487224578857, -0.8207021355628967, 1.2525643110275269, 1.8316518068313599, -0.6771562695503235, -0.039328668266534805, -0.6762770414352417, 0.018102020025253296, -0.655639111995697, -0.180662244558334...
css/reference/properties/column-gap/index.md
CSS - Properties - column-gap - Examples - Grid layout - CSS: Example: #grid { display: grid; height: 100px; grid-template-columns: repeat(3, 1fr); grid-template-rows: 100px; column-gap: 20px; } #grid > div { border: 1px solid green; background-color: lime; }
[ -1.7039999961853027, -0.27235788106918335, -0.6716888546943665, -0.9432156085968018, -0.2226955145597458, -0.9769401550292969, 0.7176504731178284, 1.2506556510925293, -0.9556829333305359, 0.6938538551330566, -0.34101951122283936, 0.5645667910575867, -0.6118527054786682, 0.5126303434371948,...
css/reference/properties/column-gap/index.md
CSS - Properties - column-gap - Examples - Multi-column layout - HTML: Example: <p class="content-box"> This is some multi-column text with a 40px column gap created with the CSS `column-gap` property. Don't you think that's fun and exciting? I sure do! </p>
[ -1.5495237112045288, 0.14087948203086853, -0.41713520884513855, 0.5701691508293152, 0.24800774455070496, -0.9283434152603149, 0.5862113237380981, 1.4889217615127563, -0.7177120447158813, 0.2668076455593109, 0.22554779052734375, 0.7868245244026184, -0.5839681029319763, 0.0242343470454216, ...
css/reference/properties/column-gap/index.md
CSS - Properties - column-gap - Examples - Multi-column layout - CSS: Example: .content-box { column-count: 3; column-gap: 40px; }
[ -0.9535189867019653, -0.14945124089717865, -0.6159149408340454, -0.13451063632965088, -0.18702179193496704, -0.30078446865081787, 0.6934599280357361, 1.6293226480484009, -1.1784052848815918, 0.23946237564086914, -0.1416120082139969, 0.48459136486053467, -0.7793665528297424, 0.0746411979198...
css/reference/properties/border-style/index.md
CSS - Properties - border-style: The `border-style` shorthand CSS property sets the line style for all four sides of an element's border. Example: border-style: none; Example: border-style: dotted; Example: border-style: inset; Example: border-style: dashed solid; Example: border-style: dashed double none; ...
[ -0.6465426087379456, 0.020299259573221207, -1.6439522504806519, -0.4282068610191345, 0.6601333618164062, -0.9423127770423889, 0.489840567111969, 1.9684832096099854, 0.03138003498315811, 0.0182805098593235, -0.7378323674201965, 1.0324674844741821, 0.27048978209495544, -0.2099585235118866, ...
css/reference/properties/border-style/index.md
CSS - Properties - border-style - Constituent properties: This property is a shorthand for the following CSS properties: - `border-bottom-style` - `border-left-style` - `border-right-style` - `border-top-style`
[ -0.6218069195747375, 0.7337507605552673, -1.265954852104187, 0.06346725672483444, 0.13240395486354828, -1.5884759426116943, 0.8523216247558594, 2.6745452880859375, 0.6170065402984619, -0.2507326602935791, -0.7189831137657166, 0.5903394222259521, -0.3790178894996643, -0.40235984325408936, ...
css/reference/properties/border-style/index.md
CSS - Properties - border-style - Syntax: Example: /* Keyword values */ border-style: none; border-style: hidden; border-style: dotted; border-style: dashed; border-style: solid; border-style: double; border-style: groove; border-style: ridge; border-style: inset; border-style: outset; /* top and bottom | left and r...
[ -0.5789956450462341, 0.5204129815101624, -0.9266473650932312, -0.04334089532494545, 0.7747800350189209, -0.12462539225816727, 0.015816766768693924, 1.8513492345809937, 0.02147560566663742, -0.16527940332889557, -0.044545356184244156, 0.31772181391716003, -0.09138761460781097, 0.07365840673...
css/reference/properties/border-style/index.md
CSS - Properties - border-style - Syntax - Values: - `<line-style>`: Describes the style of the border. It can have the following values: - `none`: Like the `hidden` keyword, displays no border. Unless a `background-image` is set, the used value of the same side's `border-width` will be `0`, even if the specified va...
[ -0.41715583205223083, 0.31086620688438416, -1.1231279373168945, 0.011454049497842789, 0.882054328918457, -0.3220764696598053, 0.2844528257846832, 1.7951774597167969, -0.1676092892885208, 0.018236329779028893, 0.1809093952178955, 0.15690283477306366, -0.9038234353065491, 0.7656663656234741,...
css/reference/properties/border-style/index.md
CSS - Properties - border-style - Examples - All property values: Here is an example of all the property values.
[ 0.06856366246938705, 0.26044973731040955, -1.193689227104187, 0.1290166676044464, -0.6536047458648682, -0.5710718631744385, 1.5324615240097046, 2.0142645835876465, 1.0921165943145752, -0.833961546421051, -0.09193406254053116, 1.0937268733978271, -0.45024874806404114, -0.5100790858268738, ...