file
stringlengths
16
94
text
stringlengths
32
24.4k
vector
list
css/reference/properties/border-inline/index.md
CSS - Properties - border-inline - Description: The physical borders to which `border-inline` maps depends on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top` and `border-bottom` or `border-right`, and `border-left` properties, depending on the values defined for `wr...
[ -0.43064016103744507, 0.10673626512289047, -1.165000081062317, -0.11817146837711334, -0.19756293296813965, 0.1973603516817093, 0.5757463574409485, 1.5780619382858276, 1.0517234802246094, -0.024212408810853958, -1.2644199132919312, 0.6569686532020569, 0.6094586849212646, -0.1447095274925232...
css/reference/properties/border-inline/index.md
CSS - Properties - border-inline - Examples - Border with vertical text - HTML: Example: <div> <p class="exampleText">Example text</p> </div>
[ -1.2207962274551392, 0.4376695156097412, -0.41848063468933105, 0.18299350142478943, -0.503725528717041, -0.35151422023773193, 0.7225619554519653, 2.199784994125366, 0.5099973678588867, -0.43202999234199524, -0.6526933312416077, 0.724234938621521, -0.158908411860466, -0.6739007830619812, ...
css/reference/properties/border-inline/index.md
CSS - Properties - border-inline - Examples - Border with vertical text - CSS: Example: div { background-color: yellow; width: 120px; height: 120px; } .exampleText { writing-mode: vertical-rl; border-inline: 5px dashed blue; }
[ -1.5882086753845215, 0.3383501470088959, -0.447734534740448, -0.2399137169122696, -0.0690179169178009, 0.482583224773407, 0.2558528184890747, 1.8906571865081787, 0.0055699944496154785, -0.34607815742492676, -0.708288848400116, 0.7802855968475342, 0.4345967769622803, 0.033922746777534485, ...
css/reference/properties/math-style/index.md
CSS - Properties - math-style: The `math-style` property indicates whether MathML equations should render with normal or compact height.
[ -1.2582451105117798, -0.6456539630889893, -0.7804904580116272, -0.890609085559845, 0.3022533059120178, -0.4617118835449219, 0.13460849225521088, 1.8305798768997192, 0.05446052551269531, 0.15551376342773438, -0.8591557741165161, 1.1145786046981812, 0.14420269429683685, -0.08591629564762115,...
css/reference/properties/math-style/index.md
CSS - Properties - math-style - Syntax: Example: /* Keyword values */ math-style: normal; math-style: compact; /* Global values */ math-style: inherit; math-style: initial; math-style: revert; math-style: revert-layer; math-style: unset;
[ -0.8786538243293762, 0.3375641405582428, -0.2628509998321533, -0.18417850136756897, -0.039958223700523376, -0.804774284362793, 0.12273634970188141, 2.1923282146453857, 0.5408492088317871, 0.08496765047311783, -0.5844220519065857, 1.0164377689361572, -0.028564807027578354, -0.54792010784149...
css/reference/properties/math-style/index.md
CSS - Properties - math-style - Syntax - Values: This property is specified as one of the following keyword values: - `normal`: The initial value, indicates normal rendering. - `compact`: The math layout on descendants tries to minimize the logical height.
[ -1.0109288692474365, -0.14242775738239288, -0.6844919919967651, -0.5361427068710327, -0.268086314201355, -0.5257938504219055, 0.8015198707580566, 1.878357172012329, 0.43374305963516235, -0.18695876002311707, -0.4144597351551056, 0.5178523659706116, -0.01069255918264389, 0.422061562538147, ...
css/reference/properties/math-style/index.md
CSS - Properties - math-style - Examples - Changing the style of a formula to compact - CSS: Example: math { math-style: normal; } .compact { math-style: compact; }
[ -0.7375948429107666, 0.6400293111801147, -0.6753602027893066, -0.5965088605880737, 0.2148171067237854, -1.3495835065841675, 0.45105046033859253, 1.7605760097503662, 0.6080566048622131, 0.23650158941745758, -0.08705383539199829, 0.2713656723499298, -0.1887420117855072, -0.6625282764434814, ...
css/reference/properties/math-style/index.md
CSS - Properties - math-style - Examples - Changing the style of a formula to compact - HTML: Example: <p> Normal height <math> <mrow> <munderover> <mo>∑</mo> <mrow> <mi>n</mi> <mo>=</mo> <mn>1</mn> </mrow> <mrow> <mo>+</mo> ...
[ -1.5390771627426147, 0.5113559365272522, -0.6240620613098145, -0.7930649518966675, -0.06161618232727051, -1.4129233360290527, 0.251450777053833, 1.4814025163650513, 0.28228312730789185, 0.3926348090171814, -1.1720092296600342, 0.3324660360813141, -0.791965663433075, -0.09597893059253693, ...
css/reference/properties/outline/index.md
CSS - Properties - outline: The `outline` CSS shorthand property sets most of the outline properties in a single declaration. Example: outline: solid; Example: outline: dashed red; Example: outline: 1rem solid; Example: outline: thick double #32a1ce; Example: outline: 8px ridge rgb(170 50 220 / 0.6); border-...
[ -0.9470231533050537, -0.1904977709054947, -1.431698203086853, -0.2612569034099579, 0.46079087257385254, -1.3461215496063232, 0.31002312898635864, 2.2889161109924316, -0.07710777968168259, 0.020320545881986618, -0.8230773210525513, 1.0464226007461548, 0.12388792634010315, -0.244758978486061...
css/reference/properties/outline/index.md
CSS - Properties - outline - Constituent properties: This property is a shorthand for the following CSS properties: - `outline-width` - `outline-style` - `outline-color`
[ -0.9307307600975037, 0.6854625344276428, -1.6542736291885376, 0.12378475069999695, -0.1194412112236023, -1.7083830833435059, 0.5453519821166992, 2.375396251678467, 0.31598445773124695, -0.047855108976364136, -0.8033270239830017, 0.3946463465690613, -0.14392872154712677, -0.7774474024772644...
css/reference/properties/outline/index.md
CSS - Properties - outline - Syntax: Example: /* style */ outline: solid; /* style | color */ outline: dashed #ff6666; /* width | style */ outline: thick inset; /* width | style | color*/ outline: 3px solid green; /* Global values */ outline: inherit; outline: initial; outline: revert; outline: revert-layer; outl...
[ -1.0071918964385986, 0.38144421577453613, -1.213511347770691, 0.10991325974464417, -0.011344514787197113, -0.4762372374534607, 1.2633614540100098, 2.669898509979248, 0.06387893855571747, -0.03213774785399437, -0.7409679889678955, 1.3281604051589966, 0.04059259593486786, -0.6578842997550964...
css/reference/properties/outline/index.md
CSS - Properties - outline - Syntax - Values: - `<'outline-width'>`: A `line-width` value setting the thickness of the outline. Defaults to `medium` if absent. See `outline-width`. - `<'outline-style'>`: Sets the style of the outline. Defaults to `none` if absent. See `outline-style`. - `<'outline-color'>`: Sets the c...
[ -1.4075071811676025, -0.29434582591056824, -1.323779582977295, -0.757839024066925, -0.319416344165802, -0.28634515404701233, 0.6697885990142822, 2.207582712173462, 0.8057981729507446, -0.006462549790740013, -0.9373369216918945, 0.5348578095436096, -0.1179271787405014, -0.4960063397884369, ...
css/reference/properties/outline/index.md
CSS - Properties - outline - Description: Outline is a line outside of the element's border. Unlike other areas of the box, outlines don't take up space, so they don't affect the layout of the document in any way. There are a few properties that affect an outline's appearance. It is possible to change the style, colo...
[ -0.8100458979606628, -0.2708433270454407, -1.3104465007781982, -0.4915922284126282, 0.11444298923015594, -0.42319533228874207, -0.3058216869831085, 1.9545148611068726, 0.7534932494163513, -0.6327739357948303, -1.2937190532684326, 0.230101078748703, -0.7098117470741272, -0.1619850993156433,...
css/reference/properties/outline/index.md
CSS - Properties - outline - Accessibility: Assigning `outline` a value of `0` or `none` will remove the browser's default focus style. If an element can be interacted with it must have a visible focus indicator. Provide obvious focus styling if the default focus style is removed. - How to Design Useful and Usable Fo...
[ -1.850799798965454, -0.3549725413322449, -1.2016981840133667, 0.1805519461631775, -0.47618961334228516, -0.9015004634857178, 0.33438387513160706, 1.2126308679580688, 0.8933582305908203, 0.19146646559238434, -0.8093476891517639, 0.5229177474975586, 0.3263622224330902, -0.6867051124572754, ...
css/reference/properties/outline/index.md
CSS - Properties - outline - Examples - Using outline to set a focus style - HTML: Example: <a href="#">This link has a special focus style.</a>
[ -1.4221595525741577, 0.031201697885990143, -1.0175879001617432, 0.12208367884159088, -0.7847970128059387, -0.5566269755363464, 0.9648921489715576, 1.7958221435546875, 0.42168956995010376, -0.12842735648155212, -0.8441195487976074, 1.2202380895614624, -0.2914765775203705, -0.453010261058807...
css/reference/properties/outline/index.md
CSS - Properties - outline - Examples - Using outline to set a focus style - CSS: Example: a { border: 1px solid; border-radius: 3px; display: inline-block; margin: 10px; padding: 5px; } a:focus { outline: 4px dotted #ee7733; outline-offset: 4px; background: #ffffaa; }
[ -0.5686480402946472, 0.3750942349433899, -0.8075733184814453, -0.9144430756568909, 0.680595338344574, -1.0384718179702759, 0.07080043107271194, 0.8908690810203552, -0.17251965403556824, 0.02279989793896675, -0.16031716763973236, 0.10342492163181305, 0.22018364071846008, 0.3299388587474823,...
css/reference/properties/flex/index.md
CSS - Properties - flex: The `flex` CSS shorthand property sets how a `flex item` will grow or shrink to fit the space available in its flex container. Example: flex: 1; Example: flex: 2; Example: flex: 1 30px; Example: flex: 1 1 100px; Example: <section class="default-example" id="default-example"> <div c...
[ -0.7820090651512146, -0.13645902276039124, -1.2896777391433716, -0.5322781801223755, 0.41770005226135254, -1.633115291595459, -0.9535865187644958, 1.8110599517822266, -0.6663647294044495, 0.13183240592479706, 0.1353674829006195, 0.5154851675033569, -0.6789435148239136, 0.16209203004837036,...
css/reference/properties/flex/index.md
CSS - Properties - flex - Constituent properties: This property is a shorthand for the following CSS properties: - `flex-grow` - `flex-shrink` - `flex-basis`
[ -1.4749923944473267, 0.5666629076004028, -1.5762661695480347, 0.11614455282688141, -0.5115631818771362, -2.006444215774536, 0.653143584728241, 1.8018685579299927, 0.4517461061477661, 0.13983726501464844, -0.8245645761489868, 0.5228258967399597, -0.9079498648643494, -0.05819784477353096, ...
css/reference/properties/flex/index.md
CSS - Properties - flex - Syntax: Example: /* Keyword value */ flex: none; /* 0 0 auto */ /* One value, unitless number: flex-grow flex-basis is then equal to 0%. */ flex: 2; /* 2 1 0% */ /* One value, width/height: flex-basis */ flex: auto; /* 1 1 auto */ flex: 10em; /* 1 1 10em */ flex: 30%; flex: min-content; /...
[ -1.6784141063690186, 0.11254453659057617, -0.7670886516571045, -0.01711737923324108, 0.32218295335769653, -1.3006742000579834, -0.37074658274650574, 1.473649263381958, -0.7351950407028198, -0.36355215311050415, -0.40043139457702637, 0.9837073087692261, -0.3005979061126709, 0.29169026017189...
css/reference/properties/flex/index.md
CSS - Properties - flex - Syntax - Values: - `<'flex-grow'>`: Defines the `flex-grow` of the flex item. Negative values are considered invalid. Defaults to `1` when omitted. (initial is `0`) - `<'flex-shrink'>`: Defines the `flex-shrink` of the flex item. Negative values are considered invalid. Defaults to `1` when om...
[ -1.5110620260238647, 0.10723913460969925, -0.48820170760154724, 0.45962944626808167, 0.4475770592689514, -0.769142210483551, -0.22280380129814148, 1.5672411918640137, 0.43499505519866943, -0.07609118521213531, -0.043309517204761505, 0.9527826309204102, -0.8218967914581299, 0.37582474946975...
css/reference/properties/flex/index.md
CSS - Properties - flex - Description: For most purposes, authors should set `flex` to one of the following values: `auto`, `initial`, `none`, or a positive unitless number. To see the effect of these values, try resizing the flex containers below: Example: <div class="flex-container"> <div class="item auto">auto<...
[ -1.7569485902786255, -0.02632681280374527, -0.6860089302062988, 0.1830703169107437, 0.780040979385376, -0.7372881174087524, 0.03032762184739113, 0.9543138146400452, -0.32564038038253784, 0.07509852945804596, -0.5834620594978333, 0.39769214391708374, -1.1818692684173584, 0.35156702995300293...
css/reference/properties/flex/index.md
CSS - Properties - flex - Examples - Setting flex: auto: This example shows how a flex item with `flex: auto` grows to absorb any free space in the container.
[ -0.8575767874717712, -0.12293106317520142, -1.322702407836914, 0.18512962758541107, -1.015310287475586, -0.5787790417671204, 0.5095803737640381, 2.0712924003601074, 0.7114933133125305, -0.1118239015340805, -0.1886112540960312, 0.1697417050600052, -0.9788416624069214, 0.20397034287452698, ...
css/reference/properties/flex/index.md
CSS - Properties - flex - Examples - Setting flex: auto - HTML: Example: <div id="flex-container"> <div id="flex-auto"> flex: auto (click to remove/add the `flex: initial` box) </div> <div id="default">flex: initial</div> </div>
[ -1.2387131452560425, -0.4652754068374634, -0.776212751865387, 0.2653099596500397, -0.9660108685493469, -0.46333202719688416, 1.431131362915039, 2.024425506591797, 0.17697182297706604, 0.3112005591392517, -0.8949843645095825, -0.3878995478153229, -0.8423467874526978, 0.0750720351934433, -...
css/reference/properties/flex/index.md
CSS - Properties - flex - Examples - Setting flex: auto - CSS: Example: body * { padding: 1rem; user-select: none; box-sizing: border-box; font-family: "Consolas", "Arial", sans-serif; } Example: #flex-container { border: 2px dashed gray; display: flex; } #flex-auto { cursor: pointer; background-co...
[ -1.5456750392913818, 0.21936585009098053, -0.9893026351928711, -0.6765714883804321, -0.18569132685661316, -0.664700448513031, 0.1831989884376526, 2.190364122390747, -0.24068890511989594, -0.089588463306427, -0.24250240623950958, 0.03465062379837036, -0.36406251788139343, 0.1881154626607895...
css/reference/properties/flex/index.md
CSS - Properties - flex - Examples - Setting flex: auto - JavaScript: Example: const flexAutoItem = document.getElementById("flex-auto"); const defaultItem = document.getElementById("default"); flexAutoItem.addEventListener("click", () => { defaultItem.style.display = defaultItem.style.display === "none" ? "blo...
[ -0.9160723686218262, -0.6317896246910095, -0.9637535214424133, 0.2332802712917328, -0.7330121994018555, -0.5182127356529236, 0.3939222991466522, 1.3086225986480713, -0.12896624207496643, -0.10954499244689941, -0.38949063420295715, 0.6226861476898193, -0.8700322508811951, -0.237852558493614...
css/reference/properties/border-block/index.md
CSS - Properties - border-block: The `border-block` CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet. Example: border-block: solid; writing-mode: horizontal-tb; Example: border-block: dashed red; writing-mode: vertical-rl; Ex...
[ -0.06294747442007065, 0.013200642541050911, -1.1489686965942383, -0.13126260042190552, 0.5794989466667175, -1.578703761100769, -0.15390944480895996, 1.2816251516342163, 0.09248995780944824, 0.07012216001749039, 0.17912399768829346, 0.3871607482433319, -0.0598287507891655, 0.789816856384277...
css/reference/properties/border-block/index.md
CSS - Properties - border-block - Constituent properties: This property is a shorthand for the following CSS properties: - `border-block-color` - `border-block-style` - `border-block-width`
[ 0.11208312958478928, 0.9427362680435181, -1.3506091833114624, 0.23832139372825623, -0.1796674132347107, -1.8761698007583618, 0.548299252986908, 2.006223201751709, 0.5216245651245117, -0.00148734450340271, -0.6717042326927185, 0.2504965364933014, -0.21071895956993103, 0.03890463709831238, ...
css/reference/properties/border-block/index.md
CSS - Properties - border-block - Syntax: Example: border-block: 1px; border-block: 2px dotted; border-block: medium dashed blue; /* Global values */ border-block: inherit; border-block: initial; border-block: revert; border-block: revert-layer; border-block: unset;
[ 0.12671774625778198, 0.9626017808914185, -0.4287336766719818, -0.16254493594169617, -0.6753918528556824, -1.1723735332489014, 0.28342175483703613, 1.7796087265014648, 0.5543233156204224, 0.1781105399131775, -1.1296852827072144, 1.0247496366500854, -0.10333572328090668, 0.5469188094139099, ...
css/reference/properties/border-block/index.md
CSS - Properties - border-block - Syntax - Values: The `border-block` is specified with one or more of the following, in any order: - `&lt;line-width&gt;`: The width of the border. See `border-width`. - `&lt;line-style&gt;`: The line style of the border. See `border-style`. - `&lt;color&gt;`: The color of the border.
[ 0.5105753540992737, 0.10350596904754639, -1.443224310874939, -0.5335520505905151, -0.2857593894004822, -0.5460595488548279, -0.33571940660476685, 1.4889527559280396, 0.8218222260475159, -0.6555403470993042, -0.6166355609893799, 0.7714235186576843, -0.38707706332206726, 0.7189413905143738, ...
css/reference/properties/border-block/index.md
CSS - Properties - border-block - Description: `border-block` can be used to set the values for one or more of `border-block-width`, `border-block-style`, and `border-block-color` setting both the start and end in the block dimension at once. The physical borders to which it maps depends on the element's writing mode,...
[ 0.3958717882633209, 0.4652474820613861, -1.6512868404388428, 0.1612180769443512, -0.3446720242500305, -0.17731931805610657, 0.3722686469554901, 1.2082453966140747, 0.8986995816230774, -0.43163833022117615, -0.7869160175323486, 0.9790675640106201, 0.2827426791191101, 0.14442585408687592, ...
css/reference/properties/border-block/index.md
CSS - Properties - border-block - Examples - Border with vertical text - HTML: Example: <div> <p class="exampleText">Example text</p> </div>
[ -0.6528316736221313, 0.5219724774360657, -0.3830893933773041, 0.33838918805122375, -0.7440545558929443, -0.5586671233177185, 0.8396381735801697, 1.9319984912872314, 0.574040412902832, -0.4630502462387085, -0.37484434247016907, 0.726529598236084, -0.4004797637462616, -0.15168309211730957, ...
css/reference/properties/border-block/index.md
CSS - Properties - border-block - Examples - Border with vertical text - CSS: Example: div { background-color: yellow; width: 120px; height: 120px; } .exampleText { writing-mode: vertical-rl; border-block: 5px dashed blue; }
[ -1.1185061931610107, 0.29803869128227234, -0.43224650621414185, -0.21829840540885925, -0.4000783860683441, 0.22014708817005157, 0.5730258226394653, 1.4786139726638794, -0.009001918137073517, -0.31869345903396606, -0.44903671741485596, 0.6199737191200256, -0.05183923989534378, 0.57188624143...
css/reference/properties/padding-left/index.md
CSS - Properties - padding-left: The `padding-left` CSS property sets the width of the padding area to the left of an element. Example: padding-left: 1.5em; Example: padding-left: 10%; Example: padding-left: 20px; Example: padding-left: 1ch; Example: padding-left: 0; Example: <section id="default-example">...
[ -1.2288659811019897, -0.27477073669433594, -1.2862204313278198, -0.5789328813552856, 0.02901013195514679, -2.126288414001465, 0.7373862266540527, 1.2078357934951782, 0.0016910210251808167, 0.24603313207626343, -0.48303911089897156, 0.5686489939689636, -0.5859761238098145, 0.324951440095901...
css/reference/properties/padding-left/index.md
CSS - Properties - padding-left - Syntax: Example: /* <length> values */ padding-left: 0.5em; padding-left: 0; padding-left: 2cm; /* <percentage> value */ padding-left: 10%; /* Global values */ padding-left: inherit; padding-left: initial; padding-left: revert; padding-left: revert-layer; padding-left: unset; The ...
[ -1.4595037698745728, 0.08330049365758896, -0.5895103812217712, -0.020845724269747734, -0.3738482594490051, -1.5404632091522217, 1.114084243774414, 2.30942964553833, 0.08482953906059265, 0.20719000697135925, -0.8590511083602905, 1.0226908922195435, -0.5106574296951294, 0.09062501788139343, ...
css/reference/properties/padding-left/index.md
CSS - Properties - padding-left - Syntax - Values: - `&lt;length&gt;`: The size of the padding as a fixed value. Must be non-negative. - `&lt;percentage&gt;`: The size of the padding as a percentage, relative to the inline size (width in a horizontal language, defined by `writing-mode`) of the containing block. Must b...
[ -1.6185204982757568, -0.5872088074684143, -0.8622609972953796, -0.1941431611776352, -0.5399038791656494, -1.3037593364715576, 0.9517890214920044, 1.744219422340393, 0.6524874567985535, -0.18740811944007874, -1.1399625539779663, 0.5935789346694946, -0.1461922526359558, 0.175785094499588, ...
css/reference/properties/padding-left/index.md
CSS - Properties - padding-left - Examples - Setting left padding using pixels and percentages: Example: .content { padding-left: 5%; } .side-box { padding-left: 10px; }
[ -1.6333701610565186, -0.2704204022884369, -0.42233186960220337, -0.13791674375534058, -0.7123892903327942, -0.7262879610061646, 1.4320933818817139, 2.0318076610565186, -0.2598065137863159, -0.35606250166893005, -1.0313700437545776, 0.2506486773490906, -0.5288954973220825, 0.371077090501785...
css/reference/properties/column-width/index.md
CSS - Properties - column-width: The `column-width` CSS property sets the ideal column width in a multi-column layout. The container will have as many columns as can fit without any of them having a width less than the `column-width` value. If the width of the container is narrower than the specified value, the single...
[ -0.589165985584259, 0.440436989068985, -1.1168022155761719, 0.09100934863090515, 0.7586978077888489, -1.9078400135040283, -0.4218697249889374, 1.115613341331482, 0.2578784227371216, -0.020457249134778976, 0.8476089835166931, -0.13902220129966736, -1.0303709506988525, 0.7249584794044495, ...
css/reference/properties/column-width/index.md
CSS - Properties - column-width - Syntax: Example: /* Keyword value */ column-width: auto; /* <length> values */ column-width: 60px; column-width: 15.5em; column-width: 3.3vw; /* Global values */ column-width: inherit; column-width: initial; column-width: revert; column-width: revert-layer; column-width: unset;
[ -1.4272125959396362, -0.04133982956409454, -0.449948787689209, -0.20185913145542145, -0.3738977611064911, -1.1026419401168823, 0.596275806427002, 1.4840261936187744, 0.13885532319545746, 0.3613356649875641, -0.45992687344551086, 1.1356697082519531, -0.05815834552049637, 0.18430684506893158...
css/reference/properties/column-width/index.md
CSS - Properties - column-width - Syntax - Values: This property is specified as one of the following values: - `&lt;length&gt;`: Indicates the optimal column width. The actual column width may differ from the specified value: it may be wider when necessary to fill available space, and narrower when the available spa...
[ -1.6728984117507935, 0.05364218354225159, -1.4269359111785889, 0.03821409493684769, -0.1519085019826889, -1.6237046718597412, 0.772438645362854, 0.8397859930992126, 0.4412767291069031, 0.6051478981971741, -0.148565873503685, 0.5527247786521912, -0.27941006422042847, 0.728915274143219, -0...
css/reference/properties/column-width/index.md
CSS - Properties - column-width - Examples - Setting column width in pixels - HTML: Example: <p class="content-box"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exercit...
[ -1.1905015707015991, 0.27548933029174805, -0.45245495438575745, -0.420553058385849, -0.4776493310928345, -1.1883238554000854, 0.46729567646980286, 0.8793206214904785, -0.10536560416221619, 0.25949376821517944, 0.36963850259780884, 0.7186407446861267, -0.3323090374469757, -0.526530146598815...
css/reference/properties/column-width/index.md
CSS - Properties - column-width - Examples - Setting column width in pixels - CSS: Example: .content-box { column-width: 100px; }
[ -1.529564380645752, -0.06150949001312256, -0.9781378507614136, -0.00642530620098114, -0.36959680914878845, -0.9619930982589722, 0.7027130722999573, 0.7210528254508972, -0.6240221261978149, -0.1392151564359665, -0.23373781144618988, 0.27415522933006287, -0.034781090915203094, 0.288839787244...
css/reference/properties/text-anchor/index.md
CSS - Properties - text-anchor: The `text-anchor` CSS property aligns a box containing a string of text where the wrapping area is determined from the `inline-size` property, and the text is then placed relative to the anchor point of the element, which is defined using the `x` and `y` (or `dx` and `dy`) attributes. I...
[ -0.9064127206802368, -0.5007247924804688, -0.23886632919311523, 0.11710765957832336, -0.0651601254940033, -1.6251286268234253, 1.095876693725586, 1.097344160079956, 0.306967556476593, 0.020558206364512444, 0.03554611653089523, -0.09542202949523926, -0.5536018013954163, 0.6810824275016785, ...
css/reference/properties/text-anchor/index.md
CSS - Properties - text-anchor - Syntax: Example: text-anchor: start; text-anchor: middle; text-anchor: end; /* Global values */ text-anchor: inherit; text-anchor: initial; text-anchor: revert; text-anchor: revert-layer; text-anchor: unset;
[ -0.9188098311424255, 0.2764395773410797, 0.07896435260772705, 0.13650259375572205, -0.6548820734024048, -1.3240066766738892, 0.5716001987457275, 2.0481369495391846, 0.11838819086551666, 0.11308567970991135, 0.04895281791687012, -0.06063710153102875, -0.7602638602256775, 0.18329723179340363...
css/reference/properties/text-anchor/index.md
CSS - Properties - text-anchor - Syntax - Values: This property is specified as one of the following keyword values: - `start`: Aligns the text such that the inline start of the text string is aligned with the anchor point. This alignment is relative to the writing direction of the text; thus, for example, in right-t...
[ -0.5206884741783142, 0.32924431562423706, -0.16414086520671844, -0.14800405502319336, 0.8378382325172424, -0.6346495747566223, 0.22106695175170898, 1.6364259719848633, 0.17712652683258057, -0.3356025218963623, 0.053152717649936676, -0.6018127799034119, -0.5193357467651367, 0.49000775814056...
css/reference/properties/text-anchor/index.md
CSS - Properties - text-anchor - Example: Three `<text>` elements are given the same `x` position, but different values for `text-anchor`. A dashed red line is included to mark the x-axis position of all three anchor points. Example: <svg viewBox="0 0 200 150" height="150" width="200" xmlns="http://www.w3.or...
[ -0.7066656351089478, -0.5436087250709534, -0.6842727661132812, -0.6700469851493835, -0.3407253921031952, -0.8033902049064636, 1.6507611274719238, 1.871631145477295, -0.29845136404037476, 0.24051518738269806, -0.02538672834634781, -0.29893621802330017, 0.014915581792593002, -0.3526838421821...
css/reference/properties/-webkit-text-stroke-color/index.md
CSS - Properties - -webkit-text-stroke-color: The `-webkit-text-stroke-color` CSS property specifies the stroke color of characters of text. If this property is not set, the value of the `color` property is used.
[ -2.008601188659668, -0.23303644359111786, -0.3218822777271271, 0.024933040142059326, 0.2719323933124542, -2.1638801097869873, 0.4079594612121582, 0.9766526222229004, 0.17018809914588928, -0.020192552357912064, 0.45279401540756226, 0.2765543758869171, 0.44991785287857056, 0.0134576931595802...
css/reference/properties/-webkit-text-stroke-color/index.md
CSS - Properties - -webkit-text-stroke-color - Syntax: Example: /* <color> values */ -webkit-text-stroke-color: red; -webkit-text-stroke-color: #e08ab4; -webkit-text-stroke-color: rgb(200 100 0); /* Global values */ -webkit-text-stroke-color: inherit; -webkit-text-stroke-color: initial; -webkit-text-stroke-color: re...
[ -2.3780503273010254, 0.8100995421409607, 0.1001521646976471, -0.19986805319786072, -0.15170271694660187, -2.1544265747070312, 0.2100893259048462, 1.294728398323059, 0.2414255142211914, 0.6505189538002014, -0.07636070996522903, 0.584225594997406, 0.09044578671455383, -0.32584524154663086, ...
css/reference/properties/-webkit-text-stroke-color/index.md
CSS - Properties - -webkit-text-stroke-color - Syntax - Values: This property is specified as one `<color>` value: - `<color>`: The color of the stroke.
[ -1.687166452407837, 0.02304675802588463, -0.36687710881233215, -0.2854439318180084, 0.2520729899406433, -1.626546859741211, 0.7907774448394775, 2.0101616382598877, 0.4999152421951294, -0.28378066420555115, 0.396028608083725, 0.5286630988121033, 0.6748253107070923, -0.12202553451061249, -...
css/reference/properties/-webkit-text-stroke-color/index.md
CSS - Properties - -webkit-text-stroke-color - Examples - Varying the stroke color - HTML: Example: <p>Text with stroke</p> <input type="color" value="#ff0000" />
[ -1.907523274421692, 0.2301788479089737, 0.2619965672492981, 0.19544824957847595, -0.030430052429437637, -1.5687068700790405, 0.4954909086227417, 1.1967918872833252, 0.5015837550163269, -0.14240716397762299, 0.3781641721725464, 0.5541011095046997, 0.2869889736175537, -0.9891930818557739, ...
css/reference/properties/-webkit-text-stroke-color/index.md
CSS - Properties - -webkit-text-stroke-color - Examples - Varying the stroke color - CSS: Example: p { margin: 0; font-size: 4em; -webkit-text-stroke-width: 3px; -webkit-text-stroke-color: red; /* Can be changed in the live sample */ } Example: const colorPicker = document.querySelector("input"); colorPicke...
[ -1.3316856622695923, -0.12639883160591125, -0.28987446427345276, -0.626063883304596, 0.21648967266082764, -1.4845178127288818, 0.11430509388446808, 1.2007182836532593, -0.6819750666618347, 0.17556993663311005, 0.9198221564292908, 0.2166340947151184, 0.2030569612979889, -0.3174304962158203,...
css/reference/properties/padding-inline/index.md
CSS - Properties - padding-inline: The `padding-inline` CSS shorthand property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. Example: padding-inline: 5% 10%; writing-mode: horizo...
[ -0.4902012348175049, 0.4082225263118744, -1.2167762517929077, -0.6854395866394043, 0.5767616033554077, -1.4725936651229858, -0.21405766904354095, 1.3512576818466187, 0.20552527904510498, -0.19924642145633698, 0.24960032105445862, -0.10203012079000473, 0.08603274822235107, -0.06377500295639...
css/reference/properties/padding-inline/index.md
CSS - Properties - padding-inline - Constituent properties: This property is a shorthand for the following CSS properties: - `padding-inline-end` - `padding-inline-start`
[ -0.43917572498321533, 0.7517721056938171, -1.442036509513855, 0.17965836822986603, 0.04193758964538574, -1.337446689605713, 0.8439517021179199, 2.641164779663086, 0.42451274394989014, 0.21513080596923828, -0.9461435675621033, -0.40478643774986267, 0.017118249088525772, -0.5552149415016174,...
css/reference/properties/padding-inline/index.md
CSS - Properties - padding-inline - Syntax: Example: /* <length> values */ padding-inline: 10px 20px; /* An absolute length */ padding-inline: 1em 2em; /* relative to the text size */ padding-inline: 10px; /* sets both start and end values */ /* <percentage> values */ padding-inline: 5% 2%; /* relative to the neares...
[ -0.5264313220977783, 0.5080375671386719, -1.1170181035995483, 0.12036889791488647, -0.32883861660957336, -0.9632088541984558, 0.7226755023002625, 2.039659261703491, 0.15350736677646637, 0.24809060990810394, -1.1611738204956055, 1.0554975271224976, -0.3917861878871918, 0.04506438225507736, ...
css/reference/properties/padding-inline/index.md
CSS - Properties - padding-inline - Syntax - Values: - `&lt;length&gt;`: The size of the padding as a fixed value. Must be non-negative. - `&lt;percentage&gt;`: The size of the padding as a percentage, relative to the inline size (width in a horizontal language, defined by `writing-mode`) of the containing block. Must...
[ -1.4138174057006836, -0.28843894600868225, -0.9491465091705322, -0.12187384814023972, -0.3583017885684967, -1.083444356918335, 0.7859140038490295, 1.6720579862594604, 0.44365793466567993, -0.00307612307369709, -1.2433853149414062, 0.5624695420265198, -0.14890789985656738, 0.064400620758533...
css/reference/properties/padding-inline/index.md
CSS - Properties - padding-inline - Description: The padding values specified by `padding-inline` can be equivalent to the `padding-top` and `padding-bottom` properties or the `padding-right` and `padding-left` properties, depending on the values defined for `writing-mode`, `direction`, and `text-orientation`.
[ -1.3960641622543335, -0.7191746234893799, -0.9469180703163147, 0.3010079264640808, -0.005791179835796356, -0.3174407482147217, 0.7950637340545654, 2.20849871635437, 0.6947109699249268, 0.013543297536671162, -1.2454636096954346, -0.20558233559131622, 0.2759174406528473, -0.40343189239501953...
css/reference/properties/padding-inline/index.md
CSS - Properties - padding-inline - Examples - Setting inline padding for vertical text - HTML: Example: <div> <p class="exampleText">Example text</p> </div>
[ -1.8877201080322266, 0.12396292388439178, -0.37272730469703674, 0.3588522672653198, -0.4970325827598572, -0.1760471612215042, 1.3317192792892456, 1.87676203250885, 0.2994648814201355, -0.3336246609687805, -1.0788110494613647, 0.3562789559364319, -0.15570475161075592, -0.45455440878868103, ...
css/reference/properties/padding-inline/index.md
CSS - Properties - padding-inline - Examples - Setting inline padding for vertical text - CSS: Example: div { background-color: yellow; width: 120px; height: 120px; } .exampleText { writing-mode: vertical-rl; padding-inline: 20px 40px; background-color: #c8c800; }
[ -2.625411033630371, 0.3903828561306, -0.36561378836631775, -0.13207325339317322, -0.041718363761901855, 0.4313609004020691, 0.7813526391983032, 1.571791648864746, 0.0906984955072403, -0.33505311608314514, -0.9060179591178894, 0.7070167064666748, 0.3788783848285675, -0.06552200019359589, ...
css/reference/properties/border-inline-color/index.md
CSS - Properties - border-inline-color: The `border-inline-color` CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color` and `border-bottom-...
[ -0.31546151638031006, 0.26007625460624695, -0.69959956407547, -0.39972400665283203, 0.15757596492767334, -1.2041804790496826, -0.5567280650138855, 1.6238969564437866, 0.2623797059059143, -0.2053072452545166, -0.19900251924991608, 0.10894973576068878, 0.3105607032775879, 0.2114468514919281,...
css/reference/properties/border-inline-color/index.md
CSS - Properties - border-inline-color - Syntax: Example: border-inline-color: yellow; border-inline-color: #f5f6f7; /* Global values */ border-inline-color: inherit; border-inline-color: initial; border-inline-color: revert; border-inline-color: revert-layer; border-inline-color: unset;
[ -0.7099028825759888, 1.0330052375793457, -0.28887367248535156, -0.27647632360458374, -0.43093886971473694, -0.8991060256958008, -0.052127860486507416, 2.4995439052581787, 0.3073137104511261, -0.24530988931655884, -1.249112844467163, 0.7349050641059875, 0.07314106822013855, 0.05843823403120...
css/reference/properties/border-inline-color/index.md
CSS - Properties - border-inline-color - Syntax - Values: This property is specified as one `<color>` value: - `&lt;color&gt;`: The color of the border.
[ -0.29177263379096985, 0.35878175497055054, -1.5048452615737915, 0.02297920733690262, -0.11508866399526596, -0.914714515209198, 0.039998747408390045, 2.7846508026123047, 0.6517924070358276, -0.6521347761154175, -0.9118095636367798, 0.8143071532249451, 0.12337052822113037, -0.153639018535614...
css/reference/properties/border-inline-color/index.md
CSS - Properties - border-inline-color - Examples - Border color with vertical text - HTML: Example: <div> <p class="exampleText">Example text</p> </div>
[ -0.9808496236801147, 0.2728113830089569, -0.4479508101940155, -0.07353967428207397, -0.5997135043144226, -0.6193838715553284, 0.43738704919815063, 2.125983715057373, 0.11427831649780273, -0.5144251585006714, -0.6536396145820618, 0.49484938383102417, 0.09545454382896423, -0.6493496894836426...
css/reference/properties/border-inline-color/index.md
CSS - Properties - border-inline-color - Examples - Border color with vertical text - CSS: Example: div { background-color: yellow; width: 120px; height: 120px; } .exampleText { writing-mode: vertical-lr; border: 10px solid blue; border-inline-color: red; }
[ -1.624160647392273, 0.3367775082588196, -0.4156907796859741, -0.3678229749202728, -0.18422982096672058, -0.06426871567964554, -0.012880668044090271, 1.5361199378967285, -0.13596083223819733, -0.47347065806388855, -0.5663090348243713, 0.6824105978012085, 0.30614009499549866, 0.0499159246683...
css/reference/properties/field-sizing/index.md
CSS - Properties - field-sizing: The `field-sizing` CSS property enables you to control the sizing behavior of elements that are given a default preferred size, such as form control elements. This property enables you to override the default sizing behavior, allowing form controls to adjust in size to fit their conten...
[ -1.8528320789337158, 0.13356377184391022, -1.5227476358413696, 0.07753945887088776, -0.24102507531642914, -1.847898006439209, 0.3736220896244049, 0.9048802852630615, 0.2807217836380005, 0.7293773293495178, -0.7275600433349609, 0.24164548516273499, -0.7728170156478882, -0.03583481162786484,...
css/reference/properties/field-sizing/index.md
CSS - Properties - field-sizing - Syntax: Example: /* Keyword values */ field-sizing: content; field-sizing: fixed; /* Global values */ field-sizing: inherit; field-sizing: initial; field-sizing: revert; field-sizing: revert-layer; field-sizing: unset;
[ -1.2422847747802734, 0.4415244162082672, -0.221714586019516, -0.0308784618973732, -0.7896630764007568, -1.4362428188323975, 0.6386194825172424, 1.3616639375686646, 0.468178391456604, 0.28093793988227844, -0.7832463383674622, 0.4797024130821228, -0.6487506628036499, 0.16418549418449402, 0...
css/reference/properties/field-sizing/index.md
CSS - Properties - field-sizing - Syntax - Values: This property is specified as one of the following keyword values: - `content`: Allows the element to adjust its size to fit its contents. - `fixed`: Sets a fixed size for the element. This is the default value.
[ -0.7712620496749878, -0.6389045119285583, -1.0664513111114502, -0.3587549924850464, -0.428556889295578, -1.543711543083191, 1.3558698892593384, 1.1712549924850464, 0.11715826392173767, -0.19865179061889648, -0.5728057026863098, 0.8421189188957214, -0.9933644533157349, 0.18165047466754913, ...
css/reference/properties/field-sizing/index.md
CSS - Properties - field-sizing - Description: `field-sizing: content` overrides the default preferred sizing of form elements. This setting provides a way to configure text inputs to shrinkwrap their content and grow as more text is entered. They stop expanding when they reach maximum size limits (defined by the size...
[ -1.1235905885696411, -0.34371691942214966, -1.1951667070388794, -0.261485755443573, -0.40402132272720337, -1.6160337924957275, 0.7866825461387634, 0.47465643286705017, 0.07596863806247711, 0.1919882446527481, -0.4120493531227112, 0.2784356474876404, -1.1255676746368408, -0.0878567472100257...
css/reference/properties/field-sizing/index.md
CSS - Properties - field-sizing - Description - Elements affected by `field-sizing: content`: Specifically, `field-sizing` to `content` affects the following elements: - Form input types that accept direct text input from users. This includes `email`, `number`, `password`, `search`, `tel`, `text`, and `url` types. ...
[ -0.6615619659423828, 0.34556105732917786, -1.4179112911224365, -0.009558917954564095, 0.4268112778663635, -1.484151005744934, 0.6532739400863647, 1.7055071592330933, -0.6787046790122986, -0.040560707449913025, 0.18068957328796387, -0.06837967038154602, -0.8996618390083313, 0.26587784290313...
css/reference/properties/field-sizing/index.md
CSS - Properties - field-sizing - Description - `field-sizing` interaction with other size settings: The sizing flexibility provided to form controls by `field-sizing: content` can be overridden if you use other CSS sizing properties. Avoid setting a fixed `width` and `height` when using `field-sizing: content` becaus...
[ -0.09514018893241882, -0.03497210890054703, -1.5446836948394775, 0.2532261312007904, 0.32112380862236023, -1.4212563037872314, 0.11267183721065521, 1.762932300567627, -0.30992037057876587, -0.10532467067241669, -0.17387405037879944, 0.1904298961162567, -0.6279233694076538, 0.01861015707254...
css/reference/properties/field-sizing/index.md
CSS - Properties - field-sizing - Examples - Growing and shrinking text fields: This example illustrates the effect of `field-sizing: content` on single- and multi-line text fields. The fields adjust their size as text is added or removed, effectively shrinkwrapping the contents, until a lower or upper size limit is r...
[ -1.6003776788711548, 0.0975237786769867, -1.272477388381958, -0.017836419865489006, -0.8181887269020081, -1.3841139078140259, 0.7213818430900574, 1.5365086793899536, 0.1735047698020935, -0.0319744274020195, -0.9643263220787048, 0.045485012233257294, -2.0322816371917725, -0.1131024062633514...
css/reference/properties/field-sizing/index.md
CSS - Properties - field-sizing - Examples - Growing and shrinking text fields - HTML: The HTML in this example contains four form fields, each with an associated `label`: three `<input>` elements of types `text`, `email`, and `tel`, and a `textarea` element. Example: <div> <label for="name">Enter name:</label> ...
[ -1.4732359647750854, 0.7313298583030701, -0.5983776450157166, -0.10486766695976257, 0.6048857569694519, -1.0423688888549805, -0.20690087974071503, 1.5255508422851562, -0.46532124280929565, 0.05318552628159523, -0.3090907633304596, 0.5634880661964417, -0.7396597862243652, 0.1846307814121246...
css/reference/properties/field-sizing/index.md
CSS - Properties - field-sizing - Examples - Growing and shrinking text fields - CSS: In the CSS, we set `field-sizing: content` on the three form fields, along with a `min-width` and `max-width` to constrain the input size. It is worth reiterating that, if no minimum width was set on the fields, they would be rendere...
[ -1.1197795867919922, 0.07103078067302704, -1.5162068605422974, -0.31067612767219543, 0.6913695931434631, -1.2064176797866821, 0.39553967118263245, 1.558416485786438, -0.6173641681671143, 0.05679412931203842, 0.15763519704341888, 0.5718266367912292, -0.6199352741241455, 0.21864905953407288,...
css/reference/properties/field-sizing/index.md
CSS - Properties - field-sizing - Examples - Controlling `<select>` element display: This example illustrates the effect of `field-sizing: content` on `select` elements, both drop-down menu types and multiline listbox types.
[ -0.700264036655426, -0.11872071772813797, -1.0944527387619019, -0.20009587705135345, -1.1135677099227905, -0.7373018860816956, 1.5143249034881592, 2.04299259185791, 0.2003755271434784, 0.22852613031864166, -0.46572479605674744, 0.28781232237815857, -0.883506178855896, -0.11969053000211716,...
css/reference/properties/field-sizing/index.md
CSS - Properties - field-sizing - Examples - Controlling `<select>` element display - HTML: The HTML contains two sets of `<select>` elements: one with `field-sizing: content` applied, and one without, allowing you to see the difference (though the effect may be less obvious than on text fields). Each set includes one...
[ -0.8859776258468628, 0.47232818603515625, -0.8367136716842651, 0.38798362016677856, 0.3103601038455963, -1.2816531658172607, 0.08365463465452194, 1.5720033645629883, -0.7394561171531677, 0.42333266139030457, -0.06707650423049927, 0.10691000521183014, -0.4554939568042755, 0.2291537225246429...
css/reference/properties/field-sizing/index.md
CSS - Properties - field-sizing - Examples - Controlling `<select>` element display - CSS: In the CSS, `field-sizing: content` is set only on the first set of `<select>` elements. Example: body { box-sizing: border-box; display: flex; gap: 20px; font-family: sans-serif; } h2 { margin-top: 0; font-size: ...
[ -1.32807195186615, 0.1592089682817459, -1.1051127910614014, -0.02426173910498619, 0.00956011563539505, -1.3196823596954346, 0.8487504720687866, 1.3701618909835815, -0.10587731748819351, 0.2813703119754791, 0.3204040229320526, -0.11230704188346863, -0.8064550757408142, -0.12231229990720749,...
css/reference/properties/text-decoration-line/index.md
CSS - Properties - text-decoration-line: The `text-decoration-line` CSS property sets the kind of decoration that is used on text in an element, such as an underline or overline. Example: text-decoration-line: none; Example: text-decoration-line: underline; Example: text-decoration-line: overline; Example: tex...
[ -0.46436938643455505, 0.5453433990478516, -0.7701270580291748, -0.09871625155210495, 1.2050045728683472, -1.913863182067871, -0.42241454124450684, 1.8898766040802002, -0.2657640874385834, -0.3622603416442871, 0.3135649263858795, -0.6983598470687866, -0.09798427671194077, -0.188170850276947...
css/reference/properties/text-decoration-line/index.md
CSS - Properties - text-decoration-line - Syntax: Example: /* Single keyword */ text-decoration-line: none; text-decoration-line: underline; text-decoration-line: overline; text-decoration-line: line-through; text-decoration-line: blink; text-decoration-line: spelling-error; text-decoration-line: grammar-error; /* M...
[ -0.6680614948272705, 0.3865509331226349, 0.10271929204463959, 0.11185802519321442, 0.9737241268157959, -1.3772882223129272, -0.005695022642612457, 1.9669346809387207, -0.34992682933807373, 0.12701961398124695, -0.2294008582830429, -0.31280243396759033, -0.37375330924987793, -0.330780863761...
css/reference/properties/text-decoration-line/index.md
CSS - Properties - text-decoration-line - Syntax - Values: This property is specified either as `none` or a space-separated list of keyword values chosen from the list below: - `none`: Produces no text decoration. - `underline`: Each line of text has a decorative line beneath it. - `overline`: Each line of text has a...
[ -1.0502533912658691, 0.47484520077705383, -0.8014854192733765, -0.14252127707004547, 0.6585261821746826, -1.200524926185608, -0.08659255504608154, 2.136634111404419, -0.12907889485359192, 0.3856160342693329, 0.19761554896831512, -0.16411694884300232, 0.010322034358978271, -0.15552559494972...
css/reference/properties/text-decoration-line/index.md
CSS - Properties - text-decoration-line - Examples - Basic example: Example: <p class="wavy">Here's some text with wavy red underline!</p> <p class="both">This text has lines both above and below it.</p> Example: .wavy { text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: red;...
[ -1.4916883707046509, 0.03439831733703613, -0.6164683699607849, -0.25394970178604126, 0.2720401883125305, -0.9509259462356567, 0.21560847759246826, 2.129145622253418, -0.00626758486032486, -0.10004600137472153, 0.10617339611053467, -0.36141398549079895, 0.055409207940101624, -0.790572822093...
css/reference/properties/text-decoration-line/index.md
CSS - Properties - text-decoration-line - Examples - Errors example: In this example, the first paragraph contains a spelling mistake and uses the browser's styling for spelling errors on the misspelled word. The second paragraph uses the browser's styling for grammar errors. There is no styling change in browsers tha...
[ -1.3086869716644287, 0.3635498583316803, -0.9125451445579529, 0.0470937043428421, 0.6951090693473816, -1.152315378189087, 0.015213698148727417, 1.0133447647094727, -0.4722781777381897, -0.004352765157818794, 0.2640610933303833, -0.5813198089599609, 0.09757943451404572, -0.3225565552711487,...
css/reference/properties/interactivity/index.md
CSS - Properties - interactivity: The `interactivity` CSS property specifies whether an element and its descendant nodes are set to be inert.
[ -0.665176272392273, -0.47094830870628357, -1.1301259994506836, 0.8723507523536682, -0.28960734605789185, -2.03171968460083, 0.7594608068466187, 0.8765395879745483, 0.08066539466381073, 0.5734220743179321, -0.30179744958877563, -0.42951399087905884, -0.15966054797172546, 0.16300411522388458...
css/reference/properties/interactivity/index.md
CSS - Properties - interactivity - Syntax: Example: /* Keyword values */ interactivity: auto; interactivity: inert; /* Global values */ interactivity: inherit; interactivity: initial; interactivity: revert; interactivity: revert-layer; interactivity: unset;
[ -0.6930220723152161, 0.18670782446861267, -0.17404398322105408, 0.2989462614059448, -1.045494556427002, -1.635015845298767, 0.4800793528556824, 0.9108211398124695, 0.3670238256454468, 0.17797458171844482, -0.7643874287605286, 0.16476480662822723, -0.4682381749153137, -0.046873949468135834,...
css/reference/properties/interactivity/index.md
CSS - Properties - interactivity - Syntax - Values: This property is specified as one of the following keyword values: - `auto`: Selected elements are in their default state in terms of inertness. This usually means that they are interactive, but this is not always the case. This is the default value. - `inert`: Sele...
[ -0.1739112287759781, -0.4344039261341095, -1.1690700054168701, 0.962912917137146, -0.36925965547561646, -1.4622312784194946, 1.3895084857940674, 1.505374789237976, 0.4886379837989807, 0.44670403003692627, 0.12865407764911652, 0.2575956881046295, -0.21341252326965332, -0.12776532769203186, ...
css/reference/properties/interactivity/index.md
CSS - Properties - interactivity - Description: The `interactivity` property can be used to set whether an element and its descendants are inert. See the HTML `inert` attribute reference page for a detailed description of the inert state. A typical use case for `interactivity: inert` is in paginated content, like car...
[ -0.601872444152832, 0.28172919154167175, -0.1356641948223114, 1.0035042762756348, -0.027302928268909454, -2.015542507171631, 1.2748279571533203, 0.9930068254470825, 0.280121386051178, 0.4992356300354004, -0.33502396941185, 0.1563185155391693, -0.059645190834999084, -0.31137096881866455, ...
css/reference/properties/interactivity/index.md
CSS - Properties - interactivity - Description - Default inertness: Most elements are interactive by default, but this is not always the case: - An element's ancestor may be set to an inert state, via the `interactive` property or the `inert` attribute. - While a modal `dialog` is displayed, the rest of the page is s...
[ 0.012305408716201782, -0.2653043568134308, -1.033488392829895, 0.3204600512981415, -0.9237059354782104, -1.4255499839782715, 1.2413040399551392, 1.2786353826522827, 0.7034057974815369, 0.36344605684280396, -0.5402981638908386, 0.07699647545814514, -0.959778904914856, 0.4896583557128906, ...
css/reference/properties/interactivity/index.md
CSS - Properties - interactivity - Examples - Basic `interactivity` usage: In this example we have two `input` elements. The second one has `interactivity: inert` set on it via a class, and therefore is not focusable or editable in supporting browsers. Example: <p> <label> This input is interactive: <input...
[ -1.0983487367630005, 0.11100004613399506, -0.44575902819633484, 0.0921209454536438, -0.3028002977371216, -1.7053195238113403, 0.9861688613891602, 1.3067827224731445, 0.16011683642864227, 0.27272558212280273, -0.5276114344596863, -0.08242198079824448, -0.18623019754886627, -1.17614710330963...
css/reference/properties/interactivity/index.md
CSS - Properties - interactivity - Examples - Exploring the effects of inertness: In this example we explore the effects of the `interactivity` property.
[ 0.4474940299987793, 0.7019295692443848, -0.8199891448020935, 0.4182090163230896, -1.0396254062652588, -0.860266387462616, 1.5231040716171265, 1.5103529691696167, 1.1139200925827026, 0.09779325127601624, -0.7285930514335632, -0.10216695070266724, -1.0195800065994263, -0.5547515153884888, ...
css/reference/properties/interactivity/index.md
CSS - Properties - interactivity - Examples - Exploring the effects of inertness - HTML: The markup features two `p` elements, each of which contain a link. The second paragraph also has a class of `inert` set on it, and a child `span` element with `contenteditable` set on it to make it editable. Example: <p> This...
[ -0.7046250700950623, 0.2944929897785187, -0.19202160835266113, 0.19269628822803497, 0.2088252604007721, -1.44770348072052, 0.053517043590545654, 1.0452972650527954, -0.3303041160106659, 0.5346492528915405, -0.04156820476055145, 0.1805388629436493, -0.4155294597148895, -0.2916978895664215, ...
css/reference/properties/interactivity/index.md
CSS - Properties - interactivity - Examples - Exploring the effects of inertness - CSS: We set the `interactivity` property on the second paragraph to a value of `inert`, making it inert. This means that you should be able to edit the `contenteditable` text in the first paragraph, but not in the second, and you should...
[ -0.6024638414382935, 0.7329149842262268, 0.7367314696311951, -0.07709093391895294, -0.05466943606734276, -2.434107780456543, 0.27618202567100525, 0.6339911222457886, 0.40590184926986694, 0.5560908317565918, 0.30701687932014465, -0.6232184767723083, -0.4097364842891693, -0.37714797258377075...
css/reference/properties/interactivity/index.md
CSS - Properties - interactivity - Examples - Exploring the effects of inertness - JavaScript: We set an event handler on each paragraph that toggles a class name when clicked, adding the classname then removing the class after two seconds. Example: const paras = document.querySelectorAll("p"); function tempBorderC...
[ -0.7901368737220764, -0.5052554607391357, -0.5380852222442627, 0.8318098187446594, -0.5145953297615051, -1.830771565437317, 0.6388256549835205, 0.30071350932121277, 0.16474613547325134, 0.5763858556747437, -0.42029598355293274, 0.48108017444610596, -0.5499067902565002, -0.36287349462509155...
css/reference/properties/interactivity/index.md
CSS - Properties - interactivity - Examples - Setting off-screen elements to inert using a view timeline: This example shows horizontally-scrolling paginated content, with each page snapped to using CSS Scroll Snap, and the inertness controlled via a scroll-driven animation that uses a view progress timeline. Content ...
[ -1.2881067991256714, 0.5020423531532288, -0.559863805770874, 0.6360524892807007, -0.06207418069243431, -1.366936445236206, 0.5099755525588989, 1.3433983325958252, -0.0026229768991470337, 0.7827385067939758, -0.052473023533821106, 0.26984521746635437, -0.6177443861961365, 0.1432475000619888...
css/reference/properties/interactivity/index.md
CSS - Properties - interactivity - Examples - Setting off-screen elements to inert using a view timeline - HTML: The HTML consists of a top-level heading and an unordered list with four list items, each containing the content for a separate page. Example: <h1>Pagination interactivity demo</h1> <ul> <li> <h2>Pa...
[ -1.0049777030944824, 0.0773845762014389, -0.41167718172073364, 0.3148566782474518, 0.5568296313285828, -0.5382213592529297, 0.3581627607345581, 0.8767555356025696, -0.4680955111980438, 0.21253767609596252, 0.22431859374046326, -0.03754495084285736, -0.06187768653035164, 0.02311310172080993...
css/reference/properties/interactivity/index.md
CSS - Properties - interactivity - Examples - Setting off-screen elements to inert using a view timeline - CSS: A `width` of `100vw` is set on the unordered list to make it as wide as the viewport. We add a fixed `height`, some `padding`, and an `overflow-x` value of `scroll` so overflowing content will scroll. Its ch...
[ -0.8712091445922852, -0.16210849583148956, -0.965705931186676, 0.5868512988090515, 0.5484182834625244, -1.2657588720321655, -0.3161827325820923, 1.3939635753631592, -0.5576974153518677, 0.5699087381362915, 0.48726147413253784, -0.37054070830345154, -0.3363851308822632, 0.4675602912902832, ...
css/reference/properties/interactivity/index.md
CSS - Properties - interactivity - Accessibility concerns: Consider accessibility carefully when making elements inert. By default, there is no visual way to tell whether or not an element or its subtree is inert. As a web developer, it is your responsibility to clearly indicate the content parts that are active and t...
[ -0.4514945149421692, -0.19966883957386017, -0.5766871571540833, -0.0648067519068718, 0.12064824998378754, -1.5945488214492798, 0.4175494313240051, 0.8530691862106323, 0.030023962259292603, 0.382813423871994, 0.16647814214229584, 0.2585429549217224, 0.2812842130661011, -0.03555120900273323,...
css/reference/properties/border-block-color/index.md
CSS - Properties - border-block-color: The `border-block-color` CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color` and `border-bottom-col...
[ -0.21083161234855652, 0.17211805284023285, -0.5041073560714722, -0.18218931555747986, 0.08643689751625061, -1.1749918460845947, -0.7453758716583252, 1.099022388458252, 0.4232306480407715, -0.14422430098056793, -0.024182837456464767, 0.17916835844516754, 0.08809328824281693, 0.8851789832115...
css/reference/properties/border-block-color/index.md
CSS - Properties - border-block-color - Syntax: Example: border-block-color: yellow; border-block-color: #f5f6f7; /* Global values */ border-block-color: inherit; border-block-color: initial; border-block-color: revert; border-block-color: revert-layer; border-block-color: unset;
[ -0.14100830256938934, 1.1889221668243408, -0.2814813554286957, -0.20120030641555786, -0.6482763886451721, -1.4088789224624634, -0.18600407242774963, 2.033663511276245, 0.387376070022583, -0.27532580494880676, -1.122817873954773, 0.7740084528923035, -0.2701902985572815, 0.6130242347717285, ...
css/reference/properties/border-block-color/index.md
CSS - Properties - border-block-color - Syntax - Values: This property is specified as one `<color>` value: - `&lt;color&gt;`: The color of the border.
[ 0.13260969519615173, 0.6704965829849243, -1.409597635269165, 0.0699821263551712, -0.4619869589805603, -1.1832517385482788, 0.0744856521487236, 2.4422030448913574, 0.7252029776573181, -0.6683230400085449, -0.6712512969970703, 0.8782241940498352, -0.1421503722667694, 0.5139217376708984, 0....
css/reference/properties/border-block-color/index.md
CSS - Properties - border-block-color - Examples - Border with vertical text - HTML: Example: <div> <p class="exampleText">Example text</p> </div>
[ -0.7342904806137085, 0.43430644273757935, -0.20542417466640472, -0.04376240074634552, -0.8364828824996948, -0.6830186247825623, 0.6907989978790283, 1.9823219776153564, 0.4937247633934021, -0.41931214928627014, -0.47536376118659973, 0.6240208745002747, -0.18098098039627075, -0.2967725396156...
css/reference/properties/border-block-color/index.md
CSS - Properties - border-block-color - Examples - Border with vertical text - CSS: Example: div { background-color: yellow; width: 120px; height: 120px; } .exampleText { writing-mode: vertical-lr; border: 10px solid blue; border-block-color: red; }
[ -1.4752838611602783, 0.3801161050796509, -0.2960987687110901, -0.3031405508518219, -0.3378531336784363, 0.04869182035326958, 0.20289188623428345, 1.237014651298523, 0.0381239578127861, -0.420825719833374, -0.21691444516181946, 0.6959277391433716, 0.08210505545139313, 0.5247406959533691, ...
css/reference/properties/list-style-position/index.md
CSS - Properties - list-style-position: The `list-style-position` CSS property sets the position of the `::marker` relative to a list item. Example: list-style-position: inside; Example: list-style-position: outside; Example: <section class="default-example" id="default-example"> <div> <p>NASA Notable Miss...
[ -0.8752375245094299, -0.10925807058811188, -1.0026304721832275, -0.14238028228282928, 0.7370588779449463, -1.2924542427062988, 0.012988902628421783, 1.8624060153961182, 0.22410869598388672, 0.24214385449886322, 0.6027089953422546, 0.06008043885231018, 0.10944265127182007, -0.29043784737586...
css/reference/properties/list-style-position/index.md
CSS - Properties - list-style-position - Syntax: Example: /* Keyword values */ list-style-position: inside; list-style-position: outside; /* Global values */ list-style-position: inherit; list-style-position: initial; list-style-position: revert; list-style-position: revert-layer; list-style-position: unset;
[ -1.0964674949645996, 0.41878196597099304, -0.6365593671798706, 0.13035093247890472, -0.30315738916397095, -1.0003557205200195, 0.5393431186676025, 1.7741471529006958, 0.556288480758667, -0.04886937886476517, -0.4716884195804596, 0.8373445272445679, -0.12877920269966125, -0.3977474272251129...