file stringlengths 16 94 | text stringlengths 32 24.4k | vector list |
|---|---|---|
css/reference/properties/isolation/index.md | CSS - Properties - isolation:
The `isolation` CSS property determines whether an element must create a new `stacking context`.
Example:
isolation: auto;
Example:
isolation: isolate;
Example:
<section class="default-example" id="default-example">
<div class="background-container">
<div id="example-element">... | [
-1.023382544517517,
-0.9592993855476379,
-1.4790446758270264,
0.24798721075057983,
0.0319649800658226,
-1.541674256324768,
0.6213082075119019,
0.8139184713363647,
0.18750643730163574,
0.5553727149963379,
-1.047313928604126,
-0.02973339706659317,
-0.41720741987228394,
0.27582618594169617,
... |
css/reference/properties/isolation/index.md | CSS - Properties - isolation - Syntax:
Example:
/* Keyword values */
isolation: auto;
isolation: isolate;
/* Global values */
isolation: inherit;
isolation: initial;
isolation: revert;
isolation: revert-layer;
isolation: unset; | [
-0.5132899880409241,
0.5533435344696045,
-0.5000762343406677,
0.26759785413742065,
-0.8514305949211121,
-1.5924211740493774,
0.57679283618927,
1.7322382926940918,
0.37822484970092773,
0.4915338456630707,
-1.0137978792190552,
0.5951054692268372,
-0.613305389881134,
0.0968109667301178,
1.1... |
css/reference/properties/isolation/index.md | CSS - Properties - isolation - Syntax - Values:
This property is specified as one of the following keyword values:
- `auto`: A new stacking context is created only if one of the properties applied to the element requires it.
- `isolate`: A new stacking context must be created. | [
0.10014807432889938,
-0.6334656476974487,
-1.2439603805541992,
0.9883482456207275,
-0.2421981245279312,
-1.2462376356124878,
0.5985952019691467,
2.042877197265625,
0.3196870982646942,
0.4133058190345764,
-0.6727510690689087,
-0.0866953507065773,
0.6135345697402954,
0.505357563495636,
0.3... |
css/reference/properties/isolation/index.md | CSS - Properties - isolation - Examples - Forcing a new stacking context for an element - HTML:
Example:
<div class="big-square">
<div class="isolation-auto">
<div class="small-square">auto</div>
</div>
<div class="isolation-isolate">
<div class="small-square">isolate</div>
</div>
</div> | [
-0.920377254486084,
-0.15398404002189636,
-0.8350670337677002,
0.2293393611907959,
-0.704687237739563,
-0.7825053930282593,
1.200846791267395,
1.0500266551971436,
0.3614807724952698,
0.5658491253852844,
-0.8360975384712219,
0.15408855676651,
-0.29441314935684204,
0.1655907779932022,
-0.2... |
css/reference/properties/isolation/index.md | CSS - Properties - isolation - Examples - Forcing a new stacking context for an element - CSS:
Example:
.isolation-auto {
isolation: auto;
}
.isolation-isolate {
isolation: isolate;
}
.big-square {
background-color: lime;
width: 200px;
height: 210px;
}
.small-square {
background-color: lime;
width: 1... | [
-0.4639931619167328,
0.2780315577983856,
-1.40230131149292,
-0.6420086622238159,
0.6416314244270325,
-1.4203182458877563,
0.3193637728691101,
1.4589293003082275,
-0.5151041746139526,
0.5986493229866028,
0.1459967941045761,
0.037954919040203094,
-0.44616803526878357,
0.33035674691200256,
... |
css/reference/properties/align-self/index.md | CSS - Properties - align-self:
The `align-self` CSS property overrides a grid or flex item's `align-items` value. In grid, it aligns the item inside the `grid area`. In flexbox, it aligns the item on the `cross axis`.
The property doesn't apply to block-level boxes, or to table cells. If a flexbox item's cross-axis m... | [
-0.622064471244812,
-0.1178273931145668,
-1.3973006010055542,
-0.10010825097560883,
0.4162992835044861,
-1.9929893016815186,
-0.38112396001815796,
2.080894708633423,
-0.4768131673336029,
0.47341713309288025,
0.3056884706020355,
-0.006120298057794571,
-1.1465649604797363,
0.5896174311637878... |
css/reference/properties/align-self/index.md | CSS - Properties - align-self - Syntax:
Example:
/* Keyword values */
align-self: auto;
align-self: normal;
/* Positional alignment */
/* align-self does not take left and right values */
align-self: center; /* Put the item around the center */
align-self: start; /* Put the item at the start */
align-self: end; /* P... | [
-0.6117092370986938,
-0.2971602976322174,
-1.1929770708084106,
0.2021321803331375,
-0.6965789794921875,
-0.43684887886047363,
0.6671220064163208,
1.1651592254638672,
0.2714524269104004,
0.5023858547210693,
-0.43449559807777405,
0.8214544057846069,
-1.1667505502700806,
0.45004624128341675,
... |
css/reference/properties/align-self/index.md | CSS - Properties - align-self - Syntax - Values:
This property is specified as one or two of the following keyword values:
- `auto`: Computes to the parent's `align-items` value.
- `normal`: The effect of this keyword is dependent of the layout mode we are in:
- In absolutely-positioned layouts, the keyword behaves... | [
-0.0013703692238777876,
-0.06893269717693329,
-1.3561365604400635,
0.2789289653301239,
0.5119557976722717,
-0.3357352614402771,
-0.2887912094593048,
1.802465558052063,
0.26710188388824463,
-0.005457630380988121,
-0.1982409656047821,
0.6482614874839783,
-0.6564342379570007,
0.65199720859527... |
css/reference/properties/align-self/index.md | CSS - Properties - align-self - Examples - HTML:
Example:
<section>
<div>Item #1</div>
<div>Item #2</div>
<div>Item #3</div>
</section> | [
-0.7032365202903748,
0.17608590424060822,
-0.1877925544977188,
-0.38422223925590515,
-0.3735787272453308,
-0.0445593036711216,
1.206930160522461,
1.2054438591003418,
0.06867220997810364,
0.5869181752204895,
-0.6188971996307373,
0.7036111950874329,
-0.8408805131912231,
-0.000797811895608902... |
css/reference/properties/align-self/index.md | CSS - Properties - align-self - Examples - CSS:
Example:
section {
display: flex;
align-items: center;
height: 120px;
background: beige;
}
div {
height: 60px;
background: cyan;
margin: 5px;
}
div:nth-child(3) {
align-self: flex-end;
background: pink;
} | [
-1.0388236045837402,
-0.14147359132766724,
-0.9025506377220154,
-0.7172849178314209,
-0.014343604445457458,
0.028429117053747177,
1.215888261795044,
1.0837188959121704,
0.013842813670635223,
0.6054474115371704,
0.0018171295523643494,
0.7461085915565491,
-1.0752031803131104,
0.6074066758155... |
css/reference/properties/outline-width/index.md | CSS - Properties - outline-width:
The CSS `outline-width` property sets the thickness of an element's outline. An outline is a line that is drawn around an element, outside the `border`.
Example:
outline-width: 12px;
Example:
outline-width: thin;
Example:
outline-width: medium;
Example:
outline-width: thick;
... | [
-1.3283965587615967,
-0.4143787920475006,
-1.4329581260681152,
-0.7572830319404602,
0.38965338468551636,
-1.4373095035552979,
0.36837440729141235,
1.5134788751602173,
0.08524899184703827,
0.365838885307312,
-0.7942689061164856,
0.7346646189689636,
-0.5463788509368896,
-0.2663615942001343,
... |
css/reference/properties/outline-width/index.md | CSS - Properties - outline-width - Syntax:
Example:
/* Keyword values */
outline-width: thin;
outline-width: medium;
outline-width: thick;
/* <length> values */
outline-width: 1px;
outline-width: 0.1em;
/* Global values */
outline-width: inherit;
outline-width: initial;
outline-width: revert;
outline-width: revert-... | [
-1.1784570217132568,
0.7325534820556641,
-0.6746699810028076,
-0.4130837619304657,
-0.26254981756210327,
-0.9682117700576782,
-0.0851275622844696,
2.0604865550994873,
-0.11664660274982452,
0.07935730367898941,
-1.1889054775238037,
1.0744396448135376,
-0.0889350175857544,
-0.483090192079544... |
css/reference/properties/outline-width/index.md | CSS - Properties - outline-width - Syntax - Values:
This property is specified as one `<line-width>` value.
- `<line-width>`: Defines the width of the outline, either as an explicit non-negative `<length>` or the keywords: `thin`, `medium`, or `thick`. The default is `medium`. | [
-1.5774459838867188,
-0.45907264947891235,
-1.2975014448165894,
-1.116540551185608,
0.09444427490234375,
-0.6733682751655579,
0.28570830821990967,
2.2571401596069336,
0.5726940035820007,
-0.31685981154441833,
-0.8610983490943909,
0.6634668707847595,
-0.48580944538116455,
-0.526283860206604... |
css/reference/properties/outline-width/index.md | CSS - Properties - outline-width - Examples - Setting an element's outline width - HTML:
Example:
<span id="thin">thin</span>
<span id="medium">medium</span>
<span id="thick">thick</span>
<span id="twopixels">2px</span>
<span id="oneex">1ex</span>
<span id="em">1.2em</span> | [
-1.4711451530456543,
0.3857499063014984,
-0.7854135632514954,
-0.8602529168128967,
-0.5394388437271118,
-0.7334136366844177,
0.708030104637146,
0.7521239519119263,
-0.15950696170330048,
0.2513238787651062,
-0.7347252368927002,
0.762516975402832,
-0.505709171295166,
-0.8260107636451721,
-... |
css/reference/properties/outline-width/index.md | CSS - Properties - outline-width - Examples - Setting an element's outline width - CSS:
Example:
span {
outline-style: solid;
display: inline-block;
margin: 20px;
}
#thin {
outline-width: thin;
}
#medium {
outline-width: medium;
}
#thick {
outline-width: thick;
}
#twopixels {
outline-width: 2px;
}
... | [
-0.48947882652282715,
0.6041585803031921,
-1.1484768390655518,
-0.9550453424453735,
0.4834176301956177,
-1.550115942955017,
0.0733000636100769,
1.2435932159423828,
-0.6210843324661255,
-0.21336887776851654,
-0.01704278402030468,
0.43695253133773804,
-0.5196664929389954,
-0.0218599699437618... |
css/reference/properties/border-inline-end-width/index.md | CSS - Properties - border-inline-end-width:
The `border-inline-end-width` CSS property defines the width of the logical inline-end border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width`, `border... | [
-0.5599207878112793,
0.26454663276672363,
-0.6277475953102112,
-0.9071020483970642,
0.4185958504676819,
-1.4995437860488892,
0.1528542935848236,
1.0626355409622192,
0.461384654045105,
-0.3242969512939453,
-0.05184927210211754,
0.25947892665863037,
-0.20527024567127228,
0.5137114524841309,
... |
css/reference/properties/border-inline-end-width/index.md | CSS - Properties - border-inline-end-width - Syntax:
Example:
/* <'line-width'> values */
border-inline-end-width: 2px;
border-inline-end-width: thick;
/* Global values */
border-inline-end-width: inherit;
border-inline-end-width: initial;
border-inline-end-width: revert;
border-inline-end-width: revert-layer;
borde... | [
-0.38547003269195557,
1.4419971704483032,
-0.4604380130767822,
-0.6776119470596313,
-0.43754205107688904,
-1.2741230726242065,
-0.04557099565863609,
2.1235697269439697,
0.4527689814567566,
-0.04805360734462738,
-0.8855486512184143,
1.0040055513381958,
-0.5415163040161133,
0.358994185924530... |
css/reference/properties/border-inline-end-width/index.md | CSS - Properties - border-inline-end-width - Syntax - Values:
- `<line-width>`: Defines the width of the border, either as an explicit non-negative `<length>` or the keywords: `thin`, `medium`, or `thick`. The default is `medium`. | [
-1.0894161462783813,
-0.20680229365825653,
-1.0019789934158325,
-0.9146795272827148,
-0.30809277296066284,
-0.6160946488380432,
-0.25063610076904297,
1.8203920125961304,
0.6965216994285583,
-0.03006298840045929,
-1.0002517700195312,
0.9131782054901123,
-0.5451392531394958,
-0.1722728610038... |
css/reference/properties/border-inline-end-width/index.md | CSS - Properties - border-inline-end-width - Examples - Applying a border with vertical text - HTML:
Example:
<div>
<p class="exampleText">Example text</p>
</div> | [
-1.2772668600082397,
0.5408670902252197,
-0.14462831616401672,
0.07152310758829117,
-0.8563001751899719,
-0.5486932992935181,
0.9166755676269531,
1.8920873403549194,
0.29563018679618835,
-0.5166709423065186,
-0.7500051259994507,
0.6605210900306702,
0.04563062638044357,
-0.4253939986228943,... |
css/reference/properties/border-inline-end-width/index.md | CSS - Properties - border-inline-end-width - Examples - Applying a border with vertical text - CSS:
Example:
div {
background-color: yellow;
width: 120px;
height: 120px;
}
.exampleText {
writing-mode: vertical-lr;
border: 1px solid blue;
border-inline-end-width: 5px;
} | [
-1.8191324472427368,
0.41180652379989624,
-0.3801947236061096,
-0.37650197744369507,
-0.34363922476768494,
0.09071532636880875,
0.3033446669578552,
1.4790664911270142,
-0.11725546419620514,
-0.3969274163246155,
-0.6944125294685364,
0.783671498298645,
0.5052533149719238,
0.14011070132255554... |
css/reference/properties/float/index.md | CSS - Properties - float:
The `float` CSS property places an element on the left or right side of its container, allowing text and inline elements to wrap around it. The element is removed from the normal flow of the page, though still remaining a part of the flow (in contrast to absolute positioning).
Example:
floa... | [
0.19119125604629517,
-0.5676308870315552,
-1.1698440313339233,
0.019987497478723526,
0.5566971898078918,
-1.6624047756195068,
-0.2834707498550415,
1.3024466037750244,
-0.2901686429977417,
0.08060882985591888,
0.9693145751953125,
0.46381115913391113,
-0.06948389112949371,
0.2490245103836059... |
css/reference/properties/float/index.md | CSS - Properties - float - Syntax:
Example:
/* Keyword values */
float: left;
float: right;
float: none;
float: inline-start;
float: inline-end;
/* Global values */
float: inherit;
float: initial;
float: revert;
float: revert-layer;
float: unset; | [
-0.8534677028656006,
0.49385571479797363,
-0.032033734023571014,
0.12148222327232361,
-0.2989097535610199,
-0.5170471668243408,
0.3284789025783539,
2.2765321731567383,
0.5262558460235596,
-0.3341594934463501,
-0.48449409008026123,
0.8746082186698914,
0.009217116981744766,
-0.31697857379913... |
css/reference/properties/float/index.md | CSS - Properties - float - Syntax - Values:
This property is specified as one of the following keyword values:
- `left`: The element must float on the left side of its containing block.
- `right`: The element must float on the right side of its containing block.
- `none`: The element must not float.
- `inline-start`:... | [
-1.0739976167678833,
0.09112649410963058,
-0.5009728670120239,
-0.08569006621837616,
0.5229532122612,
-0.517261266708374,
-0.538676917552948,
1.2947784662246704,
-0.13481266796588898,
-0.39776715636253357,
0.2925952970981598,
0.036116570234298706,
-0.09075448662042618,
0.0759006142616272,
... |
css/reference/properties/float/index.md | CSS - Properties - float - Examples - How floated elements are positioned:
As mentioned above, when an element is floated, it is taken out of the normal flow of the document (though still remaining part of it). It is shifted to the left, or right, until it touches the edge of its containing box, or another floated ele... | [
-0.2885029911994934,
-0.1984235942363739,
-0.9425947070121765,
-0.3479129374027252,
0.02488625794649124,
-0.21851502358913422,
1.3148351907730103,
1.6667555570602417,
-0.12765058875083923,
0.4634763300418854,
0.180925190448761,
0.5854155421257019,
-1.3239095211029053,
-0.19523455202579498,... |
css/reference/properties/float/index.md | CSS - Properties - float - Examples - How floated elements are positioned - HTML:
Example:
<section>
<div class="left">1</div>
<div class="left">2</div>
<div class="right">3</div>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi tristique
sapien ac erat tincidunt, sit amet dignissim ... | [
-0.8826600909233093,
0.221263125538826,
-0.33393290638923645,
-0.3212801516056061,
-0.13834509253501892,
-1.167961835861206,
0.7117663025856018,
1.0403716564178467,
-0.06071547418832779,
0.34854456782341003,
0.5061619877815247,
0.8000383973121643,
-0.9502314329147339,
-0.7382258176803589,
... |
css/reference/properties/float/index.md | CSS - Properties - float - Examples - How floated elements are positioned - CSS:
Example:
section {
box-sizing: border-box;
border: 1px solid blue;
width: 100%;
float: left;
}
div {
margin: 5px;
width: 50px;
height: 150px;
}
.left {
float: left;
background: pink;
}
.right {
float: right;
back... | [
-0.3154122233390808,
0.40030333399772644,
-0.7360630035400391,
-0.6452513933181763,
0.4248073697090149,
-1.0002703666687012,
0.1591992825269699,
1.2079569101333618,
-0.09974220395088196,
-0.11627340316772461,
0.46548858284950256,
-0.14806020259857178,
-0.625344455242157,
0.8332645297050476... |
css/reference/properties/float/index.md | CSS - Properties - float - Examples - Clearing floats:
Sometimes you may want to force an item to move below any floated elements. For instance, you may want paragraphs to remain adjacent to floats, but force headings to be on their own line. See `clear` for examples. | [
-0.562532901763916,
0.29830172657966614,
-0.6987500190734863,
0.090086430311203,
0.21701383590698242,
-1.050370454788208,
0.5742553472518921,
1.4910858869552612,
-0.4427822232246399,
-0.13786344230175018,
-0.4107411503791809,
-0.09807470440864563,
-1.1806761026382446,
0.044410765171051025,... |
css/reference/properties/border-block-end-width/index.md | CSS - Properties - border-block-end-width:
The `border-block-end-width` CSS property defines the width of the logical block-end border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width`, `border-ri... | [
-0.44478297233581543,
0.4740195870399475,
-0.24926631152629852,
-0.4623328447341919,
0.13728289306163788,
-1.3789376020431519,
-0.37311896681785583,
0.8467353582382202,
0.46254533529281616,
-0.5184025764465332,
0.1828029304742813,
0.5891454219818115,
-0.3047713339328766,
0.7223674058914185... |
css/reference/properties/border-block-end-width/index.md | CSS - Properties - border-block-end-width - Syntax:
Example:
/* <'line-width'> values */
border-block-end-width: 5px;
border-block-end-width: thick;
/* Global values */
border-block-end-width: inherit;
border-block-end-width: initial;
border-block-end-width: revert;
border-block-end-width: revert-layer;
border-block... | [
0.032313138246536255,
1.2624777555465698,
-0.32357004284858704,
-0.3774040937423706,
-0.5445230603218079,
-1.434019923210144,
-0.11878282576799393,
1.8109036684036255,
0.5358354449272156,
0.048504773527383804,
-0.8762264251708984,
1.0813212394714355,
-0.6089774370193481,
0.6632013320922852... |
css/reference/properties/border-block-end-width/index.md | CSS - Properties - border-block-end-width - Syntax - Values:
- `<line-width>`: Defines the width of the border, either as an explicit non-negative `<length>` or the keywords: `thin`, `medium`, or `thick`. The default is `medium`. | [
-0.602178692817688,
-0.14304248988628387,
-1.0412570238113403,
-0.9072273373603821,
-0.4119577407836914,
-0.6400778889656067,
-0.36340028047561646,
1.5778398513793945,
0.7614315748214722,
-0.004898490384221077,
-0.8255120515823364,
0.9665639400482178,
-0.7807427048683167,
0.237062454223632... |
css/reference/properties/border-block-end-width/index.md | CSS - Properties - border-block-end-width - Examples - Border width with vertical text - HTML:
Example:
<div>
<p class="exampleText">Example text</p>
</div> | [
-0.931380033493042,
0.5639919638633728,
-0.30347368121147156,
-0.24558836221694946,
-1.123104214668274,
-0.7911800146102905,
0.5218642950057983,
1.552552342414856,
0.20841699838638306,
-0.4545569121837616,
-0.3799091577529907,
0.8627375960350037,
-0.3392700254917145,
-0.04507649689912796,
... |
css/reference/properties/border-block-end-width/index.md | CSS - Properties - border-block-end-width - Examples - Border width with vertical text - CSS:
Example:
div {
background-color: yellow;
width: 120px;
height: 120px;
}
.exampleText {
writing-mode: vertical-lr;
border: 1px solid blue;
border-block-end-width: 5px;
} | [
-1.4076216220855713,
0.2907542288303375,
-0.16603875160217285,
-0.5214521884918213,
-0.5224252343177795,
-0.20409446954727173,
0.03240537643432617,
1.2155503034591675,
-0.1583782434463501,
-0.25137394666671753,
-0.24457739293575287,
0.751169741153717,
0.1999489814043045,
0.4635812640190124... |
css/reference/properties/anchor-name/index.md | CSS - Properties - anchor-name:
The `anchor-name` CSS property enables defining an element as an anchor element by giving it one or more identifying anchor names. Each name can then be set as the value of a positioned element's `position-anchor` property to associate it with the anchor. | [
-0.5005475878715515,
-0.6849049925804138,
-0.8962207436561584,
0.5563755631446838,
-0.5828577876091003,
-1.7476024627685547,
1.2107795476913452,
0.8998532891273499,
-0.36973151564598083,
0.055789828300476074,
0.45225241780281067,
-0.11348236352205276,
-0.7859035134315491,
0.115174368023872... |
css/reference/properties/anchor-name/index.md | CSS - Properties - anchor-name - Syntax:
Example:
/* Single values */
anchor-name: none;
anchor-name: --name;
/* Multiple values */
anchor-name: --name, --another-name;
/* Global values */
anchor-name: inherit;
anchor-name: initial;
anchor-name: revert;
anchor-name: revert-layer;
anchor-name: unset; | [
-1.1415094137191772,
0.6766027212142944,
-0.049697257578372955,
-0.5790387392044067,
0.22976887226104736,
-1.5411065816879272,
-0.02893587201833725,
1.6278908252716064,
-0.7805948257446289,
0.008769620209932327,
0.13643036782741547,
0.49184370040893555,
-0.6294028759002686,
0.1587898880243... |
css/reference/properties/anchor-name/index.md | CSS - Properties - anchor-name - Syntax - Values:
This property is specified as a `<dashed-ident>` or the keyword `none`:
- `none`: The default value. Setting `anchor-name: none` on an element means that it is not defined as an anchor element. If the element was previously defined as an anchor and associated with a p... | [
-0.2624530792236328,
-0.5424072742462158,
-0.4795229732990265,
-0.4344208836555481,
-0.6735438108444214,
-1.7931190729141235,
2.3804423809051514,
1.3893060684204102,
0.0939483642578125,
0.18141497671604156,
0.0824902355670929,
-0.5312579870223999,
-0.955108642578125,
-0.1072520911693573,
... |
css/reference/properties/anchor-name/index.md | CSS - Properties - anchor-name - Description:
To position an element relative to an anchor element, the positioned element requires three features: an association, a position, and a location. The `anchor-name` and `position-anchor` properties provide an explicit association.
The anchor element accepts one or more `<d... | [
0.47592347860336304,
-0.2182282954454422,
-0.9916222095489502,
-0.09831974655389786,
0.285976380109787,
-2.068511486053467,
0.4374593496322632,
1.0897154808044434,
-0.35424625873565674,
0.2002788633108139,
0.48852425813674927,
-0.3178284168243408,
-0.34150344133377075,
0.719694972038269,
... |
css/reference/properties/anchor-name/index.md | CSS - Properties - anchor-name - Examples - Basic usage:
This example tethers a positioned element to an anchor, positioning the element to the right of the anchor. | [
0.5305356979370117,
0.29661819338798523,
-1.1363317966461182,
-0.2328466922044754,
-1.0474348068237305,
-1.3328388929367065,
1.2872564792633057,
1.3558764457702637,
0.07921460270881653,
0.1251908540725708,
-0.023396413773298264,
-0.29939448833465576,
-0.7518398761749268,
-0.206690400838851... |
css/reference/properties/anchor-name/index.md | CSS - Properties - anchor-name - Examples - Basic usage - HTML:
We specify two `div` elements; an anchor element with a class of `anchor` and a positioned element with a class of `infobox`.
We also include some filler text around the two `<div>`s to make the `body` taller so that it will scroll.
Example:
<p>
Lore... | [
-0.7464030385017395,
0.25092267990112305,
0.25176000595092773,
-0.17425653338432312,
0.5267928242683411,
-1.5191797018051147,
0.1638946831226349,
0.6134326457977295,
-0.8653702735900879,
0.045941468328237534,
0.34198299050331116,
-0.042091004550457,
-0.8921912908554077,
0.5995610356330872,... |
css/reference/properties/anchor-name/index.md | CSS - Properties - anchor-name - Examples - Basic usage - CSS:
We first declare the `anchor` `<div>` as an anchor element by setting an anchor name on it via the `anchor-name` property:
Example:
body {
width: 50%;
margin: 0 auto;
}
.anchor {
font-size: 1.8rem;
color: white;
text-shadow: 1px 1px 1px black;... | [
-0.4806801378726959,
0.41492560505867004,
-0.07619491219520569,
-0.4416962265968323,
-0.06912508606910706,
-1.1241555213928223,
0.348217248916626,
1.9445116519927979,
-0.02429177612066269,
0.3588913381099701,
0.10400277376174927,
-0.06750895082950592,
-0.6844102740287781,
0.799751520156860... |
css/reference/properties/anchor-name/index.md | CSS - Properties - anchor-name - Examples - Multiple positioned elements:
This example demonstrates how you can associate multiple positioned elements with one anchor. | [
0.267658531665802,
-0.08090507984161377,
-0.6499577164649963,
0.10646750032901764,
-1.2297117710113525,
-0.7539242506027222,
1.4087750911712646,
1.5766379833221436,
0.013428926467895508,
-0.05272559076547623,
0.05525950342416763,
-0.39222899079322815,
-0.6830651164054871,
-0.09744399785995... |
css/reference/properties/anchor-name/index.md | CSS - Properties - anchor-name - Examples - Multiple positioned elements - HTML:
The HTML is the same as for the previous example, except this time we have multiple positioned element `<div>`s with different `id`s to identify them.
Example:
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmo... | [
-1.1119780540466309,
0.10117582231760025,
0.33455178141593933,
-0.18516352772712708,
0.2833809554576874,
-1.592617154121399,
0.46949732303619385,
0.7872936725616455,
-0.356319785118103,
0.5921332836151123,
-0.05238603055477142,
0.09653621912002563,
-0.5133875608444214,
0.23621273040771484,... |
css/reference/properties/anchor-name/index.md | CSS - Properties - anchor-name - Examples - Multiple positioned elements - CSS:
We declare the `anchor` `<div>` as an anchor element using the `anchor-name` property, giving it an anchor name as before.
Example:
body {
width: 50%;
margin: 0 auto;
}
.anchor {
font-size: 1.8rem;
color: white;
text-shadow: 1... | [
-0.11738869547843933,
0.2798408567905426,
-0.2902611494064331,
-0.5835599899291992,
-0.10454125702381134,
-1.4826321601867676,
0.31668317317962646,
1.9887583255767822,
-0.37316298484802246,
0.31622689962387085,
0.03632667660713196,
-0.23646627366542816,
-0.5733687281608582,
1.0014694929122... |
css/reference/properties/anchor-name/index.md | CSS - Properties - anchor-name - Examples - Multiple anchor names:
This example demonstrates how an anchor element can have more than one anchor name. | [
-0.1797344982624054,
0.32886597514152527,
-0.9422018527984619,
-0.04850705713033676,
-1.1253608465194702,
-1.2041212320327759,
0.7461289763450623,
1.4529982805252075,
-0.516180157661438,
-0.5183741450309753,
-0.05097412317991257,
-0.23499120771884918,
-0.9325765371322632,
-0.69161069393157... |
css/reference/properties/anchor-name/index.md | CSS - Properties - anchor-name - Examples - Multiple anchor names - HTML:
The HTML is the same as for the previous example.
Example:
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Dui nunc mattis enim ut tellus
elementum sagittis ... | [
-1.1061012744903564,
0.3311752378940582,
-0.11546558886766434,
-0.3518964946269989,
-0.195323184132576,
-2.266545057296753,
0.5479798913002014,
1.1869479417800903,
-0.3851998448371887,
0.18274255096912384,
0.2134624719619751,
0.134794220328331,
-0.6432448625564575,
-0.2420973777770996,
-... |
css/reference/properties/anchor-name/index.md | CSS - Properties - anchor-name - Examples - Multiple anchor names - CSS:
The CSS is the same as the previous example too, except we include two comma-separated names in the target's `anchor-name` property value and each positioned element has a different value for `position-anchor`.
Example:
body {
width: 50%;
m... | [
-0.36100178956985474,
-0.09599147737026215,
-0.7254379391670227,
-0.7302247881889343,
0.17743024230003357,
-1.3302522897720337,
0.039834797382354736,
1.903480887413025,
-0.5105005502700806,
0.06948639452457428,
0.577740490436554,
-0.011664818972349167,
-0.07994186878204346,
0.4043286740779... |
css/reference/properties/border-inline-start/index.md | CSS - Properties - border-inline-start:
The `border-inline-start` CSS property is a shorthand property for setting the individual logical inline-start border property values in a single place in the style sheet.
Example:
border-inline-start: solid;
writing-mode: horizontal-tb;
Example:
border-inline-start: dashed ... | [
-0.5608850121498108,
0.4685940146446228,
-1.2120696306228638,
0.05573046952486038,
0.6758126020431519,
-0.7353559136390686,
0.21637168526649475,
2.2316997051239014,
0.4025065004825592,
-0.08636029809713364,
-0.9690380692481995,
0.513343870639801,
-0.08260497450828552,
0.17739635705947876,
... |
css/reference/properties/border-inline-start/index.md | CSS - Properties - border-inline-start - Constituent properties:
This property is a shorthand for the following CSS properties:
- `border-inline-start-color`
- `border-inline-start-style`
- `border-inline-start-width` | [
-0.12062951922416687,
1.0086545944213867,
-1.4498112201690674,
0.01645996794104576,
0.21283352375030518,
-1.267808198928833,
0.4737476110458374,
2.937241315841675,
0.6608555316925049,
-0.047616105526685715,
-0.6539116501808167,
0.13400720059871674,
-0.3396202027797699,
-0.5955886840820312,... |
css/reference/properties/border-inline-start/index.md | CSS - Properties - border-inline-start - Syntax:
Example:
border-inline-start: 1px;
border-inline-start: 2px dotted;
border-inline-start: medium dashed green;
/* Global values */
border-inline-start: inherit;
border-inline-start: initial;
border-inline-start: revert;
border-inline-start: revert-layer;
border-inline-... | [
-0.1471959948539734,
0.9368253350257874,
-0.913794994354248,
-0.331886351108551,
-0.1604565978050232,
-0.6307368874549866,
0.15856249630451202,
2.227919816970825,
0.59806227684021,
-0.1290305107831955,
-0.9497812986373901,
1.037382960319519,
-0.13240371644496918,
0.2524435520172119,
0.25... |
css/reference/properties/border-inline-start/index.md | CSS - Properties - border-inline-start - Syntax - Values:
The `border-inline-start` is specified with one or more of the following, in any order:
- `<line-width>`: The width of the border. See `border-width`.
- `<line-style>`: The line style of the border. See `border-style`.
- `<color>`: The color ... | [
-0.13984450697898865,
0.34535762667655945,
-1.5256489515304565,
-0.5266960859298706,
0.012178152799606323,
0.05252591520547867,
-0.23021312057971954,
2.4712750911712646,
0.9679446220397949,
-0.5774983763694763,
-0.8353180885314941,
0.6964150667190552,
-0.32154619693756104,
0.15846350789070... |
css/reference/properties/border-inline-start/index.md | CSS - Properties - border-inline-start - Examples - HTML:
Example:
<div>
<p class="exampleText">Example text</p>
</div> | [
-0.5821731686592102,
0.18403728306293488,
-0.6112583875656128,
-0.1634482443332672,
-0.8301944136619568,
0.012596126645803452,
0.970635175704956,
2.335606098175049,
0.7403569221496582,
-0.5804818868637085,
-0.6268025040626526,
0.7393929958343506,
-0.4824567437171936,
-0.6555728912353516,
... |
css/reference/properties/border-inline-start/index.md | CSS - Properties - border-inline-start - Examples - CSS:
Example:
div {
background-color: yellow;
width: 120px;
height: 120px;
}
.exampleText {
writing-mode: vertical-rl;
border-inline-start: 5px dashed blue;
} | [
-1.4121297597885132,
0.2309800386428833,
-0.46565529704093933,
-0.4145483374595642,
-0.051506407558918,
0.6878405213356018,
0.7690046429634094,
2.2629776000976562,
0.08449222147464752,
-0.22694416344165802,
-0.6859607100486755,
0.6981770992279053,
0.10492336750030518,
0.0715639591217041,
... |
css/reference/properties/direction/index.md | CSS - Properties - direction:
Warning: Where possible, authors are encouraged to avoid using the `direction` CSS property and use the HTML `dir` global attribute instead.
The `direction` CSS property sets the direction of text, table and grid columns, and horizontal overflow. Use `rtl` for languages written from righ... | [
-1.4585455656051636,
0.06816745549440384,
-0.2612549662590027,
0.25704699754714966,
0.3400799036026001,
-1.2113282680511475,
-0.6090040802955627,
1.403437614440918,
0.13177381455898285,
-0.05578190088272095,
0.3419215977191925,
-0.07130961865186691,
-0.133139967918396,
0.11708027124404907,... |
css/reference/properties/direction/index.md | CSS - Properties - direction - Syntax:
Example:
/* Keyword values */
direction: ltr;
direction: rtl;
/* Global values */
direction: inherit;
direction: initial;
direction: revert;
direction: revert-layer;
direction: unset; | [
-1.4196988344192505,
0.5455372333526611,
0.13184061646461487,
0.29980331659317017,
-0.9811135530471802,
-0.30602866411209106,
0.18498513102531433,
0.966476559638977,
0.18569135665893555,
-0.031015489250421524,
-0.6678403615951538,
0.4324793815612793,
-0.1625528186559677,
-0.055449355393648... |
css/reference/properties/direction/index.md | CSS - Properties - direction - Syntax - Values:
This property is specified as one of the following keyword values:
- `ltr`: Text and other elements go from left to right. This is the default value.
- `rtl`: Text and other elements go from right to left.
For the `direction` property to have any effect on inline-level... | [
-1.5119119882583618,
-0.079188272356987,
-0.41754263639450073,
-0.053559161722660065,
0.43616145849227905,
-0.7944291234016418,
0.24387288093566895,
0.9789109230041504,
0.10524219274520874,
-0.5721650123596191,
-0.35609450936317444,
-0.1621580719947815,
-0.10406982898712158,
0.398251086473... |
css/reference/properties/direction/index.md | CSS - Properties - direction - Description:
The property sets the base text direction of block-level elements and the direction of embeddings created by the `unicode-bidi` property. It also sets the default alignment of text, block-level elements, and the direction that cells flow within a table or grid row.
Unlike t... | [
-1.5720168352127075,
-0.14732174575328827,
-1.7530241012573242,
1.6006824970245361,
-0.1880447268486023,
-1.4944016933441162,
0.9090613126754761,
0.48844701051712036,
0.4123937785625458,
0.379498690366745,
-1.0147991180419922,
0.10264064371585846,
-0.25080692768096924,
0.7864394783973694,
... |
css/reference/properties/direction/index.md | CSS - Properties - direction - Examples - Setting right-to-left direction:
In the example below are two strings of text, both which are displaying using `direction: rtl`. While the Arabic text is displayed correctly with this setting, the English text now has a full stop in an unusual location.
Example:
blockquote {... | [
-1.2570585012435913,
-0.24294370412826538,
0.49678099155426025,
0.20948205888271332,
-0.6507206559181213,
-0.5406246781349182,
1.1991583108901978,
0.9449929594993591,
0.7791106104850769,
0.26987767219543457,
-0.5959862470626831,
0.4119259715080261,
-0.15564702451229095,
-0.1179239228367805... |
css/reference/properties/frame-sizing/index.md | CSS - Properties - frame-sizing:
The `frame-sizing` CSS property can be used to set an `iframe` element's horizontal or vertical size to equal the layout size of its embedded document in the same dimension, but only if the embedded document has opted in to sharing its size information. | [
-0.869939386844635,
-0.32632753252983093,
-0.591469943523407,
-0.05044296756386757,
-0.22932642698287964,
-1.0672338008880615,
0.9598788619041443,
0.4159166216850281,
-0.12793007493019104,
0.15050354599952698,
-0.9000654220581055,
0.003763526678085327,
-0.05584992468357086,
0.1313550770282... |
css/reference/properties/frame-sizing/index.md | CSS - Properties - frame-sizing - Syntax:
Example:
/* Keyword values */
frame-sizing: auto;
frame-sizing: content-width;
frame-sizing: content-height;
frame-sizing: content-inline-size;
frame-sizing: content-block-size;
/* Global values */
frame-sizing: inherit;
frame-sizing: initial;
frame-sizing: revert;
frame-siz... | [
0.05075683444738388,
-0.25076907873153687,
-0.2959197759628296,
-0.031105177477002144,
-0.5631899833679199,
-0.44846460223197937,
0.7852631211280823,
1.9224287271499634,
0.35352757573127747,
0.21806858479976654,
-0.8100746870040894,
0.06408515572547913,
-0.17436650395393372,
0.052056252956... |
css/reference/properties/frame-sizing/index.md | CSS - Properties - frame-sizing - Syntax - Values:
The `frame-sizing` property value is equal to one of the following keywords:
- `auto`: The initial value. The `<iframe>` element's size is not affected by the layout size of its embedded document.
- `content-width`: The `<iframe>` element's `width` is set to the layo... | [
0.119414322078228,
-0.637925386428833,
-0.6862521767616272,
-0.004209049046039581,
-0.28506118059158325,
-0.5241656303405762,
1.5114140510559082,
1.1936911344528198,
0.3850601613521576,
-0.07650228589773178,
-0.6501920223236084,
0.06799951195716858,
-0.1366591453552246,
-0.0429279431700706... |
css/reference/properties/frame-sizing/index.md | CSS - Properties - frame-sizing - Description:
For security and privacy reasons, `iframe` elements do not by default expose any information to the parent document about the size of the content in the document they are embedding.
To enable responsive sizing of `iframe` elements based on their content, the `<meta name=... | [
0.09978260844945908,
0.0867963582277298,
0.26743870973587036,
-0.4087572693824768,
0.22963610291481018,
-0.2813566327095032,
0.2826102375984192,
0.8873634934425354,
-0.614234209060669,
-0.13103283941745758,
-0.09235061705112457,
0.19877052307128906,
-0.8586124181747437,
0.23125863075256348... |
css/reference/properties/frame-sizing/index.md | CSS - Properties - frame-sizing - Examples - Basic usage:
This example demonstrates usage of the `frame-sizing` property.
We have two documents, the main `index.html` document, and the embedded `frame.html` document. | [
-0.30156078934669495,
-0.024858787655830383,
-0.8512454032897949,
0.28350794315338135,
-0.3872351348400116,
-0.25435715913772583,
1.2929093837738037,
0.7831553816795349,
0.40052351355552673,
-0.3231242597103119,
-0.9103553295135498,
-0.051760345697402954,
-0.07700948417186737,
-0.404367536... |
css/reference/properties/frame-sizing/index.md | CSS - Properties - frame-sizing - Examples - Basic usage - The main `index.html`:
The `index.html` document's HTML contains a heading and an `<iframe>`, into which is embedded the `frame.html` document:
Example:
<h1>Responsive iframes — basic example</h1>
<iframe src="frame.html"></iframe>
In the `index.html` CSS,... | [
-0.564034104347229,
-0.5178301930427551,
-0.6980718970298767,
-0.15543876588344574,
0.31479641795158386,
-1.075409173965454,
0.45779961347579956,
-0.13384801149368286,
-0.5929396748542786,
0.13476057350635529,
-0.90842604637146,
0.05417642742395401,
-0.30780500173568726,
0.4543297886848449... |
css/reference/properties/frame-sizing/index.md | CSS - Properties - frame-sizing - Examples - Basic usage - The embedded `frame.html`:
The `frame.html` document contains a heading and some paragraphs. More significantly, however, it includes the `<meta name="responsive-embedded-sizing" />` tag, which opts it in to sharing its content layout size with the parent docu... | [
-0.7093986868858337,
-0.2520425319671631,
-0.21883238852024078,
0.03047306090593338,
-0.20813214778900146,
-1.6755694150924683,
0.9982175827026367,
1.0289651155471802,
-0.5235497951507568,
-0.2833724915981293,
-0.677929162979126,
0.2592833340167999,
-0.57949298620224,
0.08906899392604828,
... |
css/reference/properties/text-combine-upright/index.md | CSS - Properties - text-combine-upright:
The `text-combine-upright` CSS property sets the combination of characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout an... | [
-0.7730937004089355,
0.16325528919696808,
0.037924692034721375,
-0.21864871680736542,
1.135391116142273,
-1.8624387979507446,
0.25610119104385376,
0.9887192249298096,
-0.11182914674282074,
0.683716893196106,
-0.03370759263634682,
0.9002729058265686,
-0.291291743516922,
-0.1756741851568222,... |
css/reference/properties/text-combine-upright/index.md | CSS - Properties - text-combine-upright - Syntax:
Example:
/* Keyword values */
text-combine-upright: none;
text-combine-upright: all;
/* Global values */
text-combine-upright: inherit;
text-combine-upright: initial;
text-combine-upright: revert;
text-combine-upright: revert-layer;
text-combine-upright: unset; | [
-0.8333261609077454,
0.3272157907485962,
-0.007822282612323761,
0.397032767534256,
-0.403393030166626,
-1.4999936819076538,
0.6872756481170654,
2.113555669784546,
0.4777650237083435,
0.37288159132003784,
-0.8720398545265198,
0.7489553689956665,
-0.007126070559024811,
-0.12987969815731049,
... |
css/reference/properties/text-combine-upright/index.md | CSS - Properties - text-combine-upright - Syntax - Values:
This property is specified as one of the following keyword values:
- `none`: There is no special processing.
- `all`: Attempts to typeset all consecutive characters within the box horizontally, such that they take up the space of a single character within the... | [
-1.8751477003097534,
-0.14136739075183868,
-0.6774653196334839,
0.1553875207901001,
0.025464579463005066,
-0.7188940644264221,
0.9934777021408081,
1.8018301725387573,
0.3390269875526428,
-0.27024632692337036,
-0.4162137508392334,
0.44944292306900024,
0.4964523911476135,
0.03705763816833496... |
css/reference/properties/text-combine-upright/index.md | CSS - Properties - text-combine-upright - Examples - Using 'all' with horizontal text:
The all value requires markup around every piece of horizontal text, but it is currently supported by more browsers than the digits value. | [
-0.8818086385726929,
-0.17794790863990784,
-0.6787626147270203,
0.8112197518348694,
-0.5926101803779602,
-1.0016014575958252,
0.7205156683921814,
0.8740014433860779,
0.35155189037323,
0.06265448033809662,
-1.196672797203064,
0.581305742263794,
0.44702112674713135,
-0.15781575441360474,
-... |
css/reference/properties/text-combine-upright/index.md | CSS - Properties - text-combine-upright - Examples - Using 'all' with horizontal text - HTML:
Example:
<p lang="zh-Hant">
民國<span class="num">105</span>年<span class="num">4</span>月<span
class="num"
>29</span
>日
</p> | [
-0.7348794341087341,
-0.0372605174779892,
-0.5057979822158813,
0.24694165587425232,
-0.6654699444770813,
-1.7053135633468628,
1.3718377351760864,
0.7673661112785339,
-0.16867747902870178,
0.5597662925720215,
-1.1371397972106934,
0.8499850034713745,
0.6118652820587158,
-0.36641719937324524,... |
css/reference/properties/text-combine-upright/index.md | CSS - Properties - text-combine-upright - Examples - Using 'all' with horizontal text - CSS:
Example:
html {
writing-mode: vertical-rl;
font: 24px serif;
}
.num {
text-combine-upright: all;
} | [
-1.2338160276412964,
0.2596803307533264,
0.06331206113100052,
0.19579946994781494,
-0.4752363860607147,
-1.20206618309021,
0.8937737941741943,
1.456025242805481,
0.3161100745201111,
-0.037370119243860245,
-0.5415586829185486,
0.8173704147338867,
0.043917879462242126,
-0.027986127883195877,... |
css/reference/properties/stroke-linecap/index.md | CSS - Properties - stroke-linecap:
The `stroke-linecap` CSS property defines the shape to be used at the end of open subpaths of SVG elements' unclosed strokes. If present, it overrides the element's `stroke-linecap` attribute.
This property applies to any SVG shape that can have unclosed strokes and text-content ele... | [
-0.5716311931610107,
-0.3987642526626587,
-1.103684902191162,
-0.29112663865089417,
1.0556126832962036,
-1.9498732089996338,
0.058214232325553894,
1.7354228496551514,
-0.04136678948998451,
-0.05756059288978577,
0.8743987679481506,
-0.13331469893455505,
0.3300136625766754,
-0.11168330907821... |
css/reference/properties/stroke-linecap/index.md | CSS - Properties - stroke-linecap - Syntax:
Example:
/* keyword values */
stroke-linecap: butt;
stroke-linecap: round;
stroke-linecap: square;
/* Global values */
stroke-linecap: inherit;
stroke-linecap: initial;
stroke-linecap: revert;
stroke-linecap: revert-layer;
stroke-linecap: unset; | [
-1.1410605907440186,
0.5893362760543823,
-0.1910485029220581,
-0.3839324712753296,
-0.00518953800201416,
-0.5761817097663879,
0.0059299953281879425,
1.4234806299209595,
0.3181720972061157,
-0.3432266116142273,
-0.30413129925727844,
0.8330022096633911,
-0.3904072046279907,
-0.13582694530487... |
css/reference/properties/stroke-linecap/index.md | CSS - Properties - stroke-linecap - Syntax - Values:
This property is specified as one of the following keyword values:
- `butt`: Indicates that the stroke for each subpath does not extend beyond its two endpoints. On a zero-length subpath, the path will not be rendered at all. This is the default value.
- `round`: I... | [
-1.616452693939209,
-0.23603838682174683,
-0.9211031198501587,
0.5203590393066406,
-0.06333497911691666,
-0.6976118087768555,
0.4601103663444519,
1.1156758069992065,
-0.030188046395778656,
-0.2805301547050476,
-0.2947768568992615,
0.8028642535209656,
-0.15521201491355896,
-0.11479573696851... |
css/reference/properties/stroke-linecap/index.md | CSS - Properties - stroke-linecap - Examples - Linecaps:
This example demonstrates the property's three keyword values. | [
-1.018980860710144,
0.16195398569107056,
-0.9985085129737854,
-0.6135604977607727,
-0.2914314866065979,
0.3764668405056,
0.7094951272010803,
1.6427687406539917,
-0.1683787852525711,
-0.4676598012447357,
-0.39206817746162415,
1.1909401416778564,
-0.29154714941978455,
-0.7382591366767883,
... |
css/reference/properties/stroke-linecap/index.md | CSS - Properties - stroke-linecap - Examples - Linecaps - HTML:
We first set up a light-gray rectangle. Then, in a group, three paths are defined whose length is exactly the same as the width of the rectangle, and all of which start at the left edge of the rectangle. They are all set to have a `dodgerblue` stroke with... | [
-1.0916229486465454,
0.06104942411184311,
-0.6242226362228394,
-0.7741062045097351,
0.28970617055892944,
-0.5476159453392029,
0.6010872721672058,
1.0509082078933716,
0.1027185469865799,
0.2766350507736206,
0.14220549166202545,
0.25391942262649536,
0.004835207015275955,
-0.4860991835594177,... |
css/reference/properties/stroke-linecap/index.md | CSS - Properties - stroke-linecap - Examples - Linecaps - CSS:
We then apply a different linecap style to each path via CSS.
Example:
path:nth-of-type(1) {
stroke-linecap: butt;
}
path:nth-of-type(2) {
stroke-linecap: square;
}
path:nth-of-type(3) {
stroke-linecap: round;
} | [
-1.0348005294799805,
-0.005258156917989254,
-0.1315011978149414,
-0.012494849041104317,
0.16904804110527039,
-0.3762160837650299,
0.21174746751785278,
0.8358384966850281,
-0.006201252341270447,
0.0946257933974266,
0.16825871169567108,
0.17138200998306274,
-0.2299014776945114,
-0.3085756301... |
css/reference/properties/print-color-adjust/index.md | CSS - Properties - print-color-adjust:
The `print-color-adjust` CSS property sets what, if anything, the `user agent` may do to optimize the appearance of the element on the output device. By default, the browser is allowed to make any adjustments to the element's appearance it determines to be necessary and prudent g... | [
-1.3287303447723389,
-0.2159481942653656,
-1.3352669477462769,
-0.08887474238872528,
-0.473228394985199,
-1.1704832315444946,
-0.08570557832717896,
0.5824199914932251,
0.7787104249000549,
0.9994639754295349,
-0.5059115886688232,
0.1041579395532608,
-0.39583563804626465,
0.26772722601890564... |
css/reference/properties/print-color-adjust/index.md | CSS - Properties - print-color-adjust - Syntax:
Example:
print-color-adjust: economy;
print-color-adjust: exact;
/* Global values */
print-color-adjust: inherit;
print-color-adjust: initial;
print-color-adjust: revert;
print-color-adjust: revert-layer;
print-color-adjust: unset; | [
-0.6460604667663574,
0.5909890532493591,
-0.4442651569843292,
-0.11428508907556534,
-1.115005373954773,
-1.243873119354248,
-0.19660747051239014,
1.7049208879470825,
0.9142639636993408,
-0.042060475796461105,
-0.977651834487915,
0.1338815540075302,
-0.47141033411026,
0.453949511051178,
0... |
css/reference/properties/print-color-adjust/index.md | CSS - Properties - print-color-adjust - Syntax - Values:
This property is specified as one of the following keyword values:
- `economy`: The user agent is allowed to make adjustments to the element as it deems appropriate and prudent in order to optimize the output for the device it's being rendered for. For example,... | [
-0.6872302889823914,
-0.4268611967563629,
-0.8818378448486328,
-0.39193403720855713,
-0.4638938009738922,
-0.5935999751091003,
0.3819238543510437,
1.247193694114685,
0.8763076066970825,
0.4906979203224182,
-0.7525643110275269,
0.204708993434906,
-0.39350587129592896,
0.14745943248271942,
... |
css/reference/properties/print-color-adjust/index.md | CSS - Properties - print-color-adjust - Usage notes:
There are a number of reasons a browser might wish to deviate from the specified appearance, such as:
- The content uses text and background colors that will be too similar on the output device for legibility purposes.
- If the output device is a printer, and to sa... | [
-1.1400867700576782,
0.09775041043758392,
-1.1957334280014038,
-0.3719724416732788,
-0.4456503391265869,
-0.8495931625366211,
-0.3048310875892639,
1.2132898569107056,
1.105737566947937,
0.495145708322525,
-0.8060238361358643,
-0.22074376046657562,
-1.070757508277893,
0.10667149722576141,
... |
css/reference/properties/print-color-adjust/index.md | CSS - Properties - print-color-adjust - Examples - Preserving low contrast:
In this example, a box is shown which uses a `background-image` and a translucent `linear-gradient()` function atop a black background color to have a dark blue gradient behind medium red text. For whatever reason, this is the desired appearan... | [
-1.2858542203903198,
-0.08395536243915558,
-0.8271200656890869,
-0.6529207229614258,
-0.10457213968038559,
-0.5704108476638794,
0.16206274926662445,
1.6785134077072144,
0.5034865140914917,
0.17193207144737244,
-0.9236797094345093,
0.1437745988368988,
-0.5736636519432068,
0.5647211074829102... |
css/reference/properties/print-color-adjust/index.md | CSS - Properties - print-color-adjust - Examples - Preserving low contrast - CSS:
Example:
.my-box {
background-color: black;
background-image: linear-gradient(rgb(0 0 180 / 50%), rgb(70 140 220 / 50%));
color: #990000;
width: 15rem;
height: 6rem;
text-align: center;
font:
24px "Helvetica",
sans... | [
-1.6692994832992554,
0.3118249773979187,
-0.1376105546951294,
-0.7207697033882141,
0.15389610826969147,
-0.8432468175888062,
-0.20961813628673553,
1.5562282800674438,
0.6308445930480957,
-0.023771680891513824,
-0.9406524300575256,
0.11850270628929138,
-0.6456546783447266,
0.508329331874847... |
css/reference/properties/print-color-adjust/index.md | CSS - Properties - print-color-adjust - Examples - Preserving low contrast - HTML:
Example:
<div class="my-box">
<p>Need more contrast!</p>
</div> | [
-1.4992640018463135,
0.013392869383096695,
-0.41420626640319824,
-0.1426122933626175,
-0.459114134311676,
-0.556793749332428,
0.615088164806366,
1.5879192352294922,
0.3188011348247528,
0.3883688151836395,
-1.1956130266189575,
0.10830859839916229,
-1.0567948818206787,
0.3538663983345032,
... |
css/reference/properties/table-layout/index.md | CSS - Properties - table-layout:
The `table-layout` CSS property sets the algorithm used to lay out `table` cells, rows, and columns.
Example:
table-layout: auto;
width: 150px;
Example:
table-layout: fixed;
width: 150px;
Example:
table-layout: auto;
width: 100%;
Example:
table-layout: fixed;
width: 100%;
Exam... | [
-0.3339955806732178,
-0.16785316169261932,
-1.5047719478607178,
0.24845746159553528,
0.5070560574531555,
-1.7914764881134033,
-0.13587993383407593,
1.093170404434204,
-0.6010433435440063,
0.3649713099002838,
0.32062581181526184,
0.1338604837656021,
-0.383243590593338,
0.5249638557434082,
... |
css/reference/properties/table-layout/index.md | CSS - Properties - table-layout - Syntax:
Example:
/* Keyword values */
table-layout: auto;
table-layout: fixed;
/* Global values */
table-layout: inherit;
table-layout: initial;
table-layout: revert;
table-layout: revert-layer;
table-layout: unset; | [
-0.40918973088264465,
0.3094962537288666,
-0.4817611575126648,
0.521220326423645,
-0.6160696148872375,
-0.9530385136604309,
1.0319088697433472,
2.0748238563537598,
0.4637020230293274,
0.2149689495563507,
-0.24266207218170166,
0.7760866284370422,
-0.19381341338157654,
0.47603094577789307,
... |
css/reference/properties/table-layout/index.md | CSS - Properties - table-layout - Syntax - Values:
This property is specified as one of the following keyword values:
- `auto`: The automatic table layout algorithm is used. The widths of the table and its cells are adjusted to fit the content. Most browsers use this algorithm by default.
- `fixed`: The fixed table l... | [
-0.2755833566188812,
0.2355044186115265,
-1.411954402923584,
-0.030300039798021317,
0.575950026512146,
-0.7161499857902527,
0.12490899860858917,
1.449830174446106,
-0.08105656504631042,
0.4247986972332001,
-0.6632299423217773,
0.6441333889961243,
-0.4191650152206421,
0.6879904270172119,
... |
css/reference/properties/table-layout/index.md | CSS - Properties - table-layout - Examples - Fixed-width tables with text-overflow:
This example uses a fixed table layout, combined with the `width` property, to restrict the table's width. The `text-overflow` property is used to apply an ellipsis to words that are too long to fit. If the table layout were `auto`, th... | [
-0.9600381851196289,
0.23817914724349976,
-0.4496479034423828,
0.22023805975914001,
0.6846627593040466,
-1.5046697854995728,
1.0290775299072266,
1.2962931394577026,
0.6397156119346619,
0.33315935730934143,
-0.9448832869529724,
0.360027939081192,
-0.43439236283302307,
-0.027101755142211914,... |
css/reference/properties/table-layout/index.md | CSS - Properties - table-layout - Examples - Fixed-width tables with text-overflow - HTML:
Example:
<table>
<tbody>
<tr>
<td>Ed</td>
<td>Wood</td>
</tr>
<tr>
<td>Albert</td>
<td>Schweitzer</td>
</tr>
<tr>
<td>Jane</td>
<td>Fonda</td>
</tr>
<tr>
<... | [
-0.909168541431427,
0.50383460521698,
-1.2571436166763306,
-0.36004671454429626,
-0.2493472397327423,
-1.1884280443191528,
2.063655376434326,
1.1016756296157837,
0.3810764253139496,
0.2948444187641144,
0.18097440898418427,
0.39003655314445496,
-0.6032416224479675,
-0.461700975894928,
0.2... |
css/reference/properties/table-layout/index.md | CSS - Properties - table-layout - Examples - Fixed-width tables with text-overflow - CSS:
Example:
table {
table-layout: fixed;
width: 120px;
border: 1px solid red;
}
td {
border: 1px solid blue;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
} | [
-0.6288861632347107,
0.1710670292377472,
-1.0400290489196777,
-0.37639907002449036,
0.21872809529304504,
-0.7193560600280762,
0.8135886192321777,
1.7953482866287231,
-0.048583634197711945,
0.3882591724395752,
-0.03546849638223648,
0.337147980928421,
-0.33382493257522583,
0.0436558276414871... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow:
The `overflow` CSS shorthand property sets the desired behavior when content does not fit in the element's padding box (overflows) in the horizontal and/or vertical direction.
Example:
overflow: visible;
Example:
overflow: hidden;
Example:
overflow: clip;
Example:
overflow: scroll;... | [
-0.7110536098480225,
-0.14807823300361633,
-1.2225967645645142,
0.00695393979549408,
0.5522029995918274,
-1.7539540529251099,
0.5152316689491272,
1.098757028579712,
-0.31683459877967834,
0.5607559084892273,
0.007855560630559921,
0.09289151430130005,
-0.6196969747543335,
0.28745248913764954... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Constituent properties:
This property is a shorthand for the following CSS properties:
- `overflow-x`
- `overflow-y` | [
-0.6456478238105774,
0.5339160561561584,
-1.2118830680847168,
0.1781427562236786,
0.05173470079898834,
-2.220658779144287,
0.7795238494873047,
1.7536200284957886,
0.2710299491882324,
-0.12475503981113434,
0.05778861045837402,
-0.011132065206766129,
-0.14051997661590576,
-0.4588030874729156... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Syntax:
Example:
/* Keyword values */
overflow: visible;
overflow: hidden;
overflow: clip;
overflow: scroll;
overflow: auto;
/* Two-value syntax: horizontal | vertical */
overflow: hidden visible;
/* Global values */
overflow: inherit;
overflow: initial;
overflow: revert;
overflow: rev... | [
-1.2006703615188599,
0.10830048471689224,
-0.21465758979320526,
0.046660058200359344,
-0.09384167939424515,
-1.0803256034851074,
0.0006603598594665527,
2.1579506397247314,
0.3232543468475342,
-0.0957302376627922,
-0.2888749837875366,
0.2918750047683716,
0.16245560348033905,
-0.294850140810... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Syntax - Values:
This property is specified as one or two space-separated `<overflow>` keyword values:
- `visible`: Overflow content is not clipped and may be visible outside the element's padding box. The element box is not a `scroll container`. This is the default value.
- `hidde... | [
-1.0964064598083496,
-0.06992128491401672,
-0.6168196797370911,
-0.2298559546470642,
0.49469488859176636,
-1.6661903858184814,
-0.03080645762383938,
1.5210695266723633,
-0.5868786573410034,
0.2306329756975174,
0.38158276677131653,
0.010501116514205933,
-0.15568481385707855,
0.6248200535774... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Syntax - Values - Non-standard values:
Some non-standard values are also supported in some browsers:
- `overlay`: A legacy alias for `auto`, defined in the specification for web compatibility. Originally implemented as a non-standard value to render scrollbars on top of content rather th... | [
-0.9204608201980591,
-0.4605277478694916,
-1.5547552108764648,
0.3485051393508911,
-0.43818825483322144,
-0.6927337646484375,
1.0580214262008667,
1.702902913093567,
0.28485238552093506,
0.09533417969942093,
-0.5143152475357056,
0.2924426198005676,
0.16502702236175537,
-0.03281405568122864,... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Description:
By default, block-level elements grow to fit their content. If the size of a container is constrained, the content will overflow. The `overflow` property determines how a container handles content that overflows its edges.
The `overflow` property is shorthand for the horizon... | [
-0.7282942533493042,
-0.08818071335554123,
-0.4570615589618683,
0.09502719342708588,
0.9263648986816406,
-1.0742771625518799,
-0.5512046813964844,
1.4868124723434448,
-0.3109481930732727,
0.24301627278327942,
0.020041678100824356,
-0.2656860649585724,
-0.6664766073226929,
1.120420694351196... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Description - What creates overflow:
Overflow occurs when a block-level element has content that overflows its constrained space. The allotted space may be constrained by a height (`height` or `max-height`) for vertical overflow, a width (`width` or `max-width`) for horizontal overflow, a... | [
-0.07266955077648163,
-0.3014020323753357,
-0.44436928629875183,
-0.08551410585641861,
0.5532375574111938,
-1.1128054857254028,
-1.0600333213806152,
1.5400269031524658,
-0.5284768342971802,
0.5320559740066528,
0.021310143172740936,
0.034724995493888855,
-0.7558141946792603,
0.5402992367744... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Description - Understanding overflow values:
The different `overflow` values define whether an element has scrollbars, whether it is user and programmatically scrollable, and whether it is a scroll container (which creates a new block formatting context) when that element's contents overf... | [
-1.0722483396530151,
-1.085619330406189,
-1.3181830644607544,
0.1751488298177719,
0.38673681020736694,
-0.9067606329917908,
0.2634541094303131,
1.2872010469436646,
0.2837991416454315,
0.08829624950885773,
0.038422539830207825,
-0.5668994188308716,
0.09039556980133057,
0.14170849323272705,
... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Description - Understanding overflow values - The `visible` value:
The default value is `visible`. By default, if content overflows a container's constraints, the contents are not contained to the container. An element that defaults or is explicitly set to `visible` doesn't have scrollbar... | [
-1.54054594039917,
-0.5280653834342957,
-0.2616497278213501,
0.18941031396389008,
0.8133530020713806,
-0.8477049469947815,
0.16686367988586426,
1.375433087348938,
0.08907850086688995,
0.36300575733184814,
0.22602680325508118,
-0.3567977547645569,
-0.07842308282852173,
0.7709121704101562,
... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Description - Understanding overflow values - The `scroll` value:
With `scroll`, content is clipped at the element's padding box and can be scrolled into view. User agents display scroll bars in both directions, whether or not any content is overflowing, which prevents scroll bars from ap... | [
-0.6870908737182617,
-0.5123263001441956,
-0.6682957410812378,
-0.1303730309009552,
0.7818647623062134,
-1.4869028329849243,
-0.22981902956962585,
1.5642650127410889,
-0.10194442421197891,
0.6557278037071228,
0.08323309570550919,
-0.050872787833213806,
-0.5005265474319458,
0.70913380384445... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Description - Understanding overflow values - The `auto` value:
With `auto`, whether the element has scrollbars and is a scroll container depends on whether the element has overflowing content. When the element contains overflowing content, it behaves like `scroll`: the overflowing conten... | [
-0.9899405241012573,
-0.688433051109314,
-0.5657243132591248,
0.09256638586521149,
0.349915087223053,
-1.3727144002914429,
0.17355211079120636,
1.9296823740005493,
-0.07822328805923462,
0.5034351348876953,
0.16661597788333893,
-0.3783341348171234,
-0.003157287836074829,
0.49880123138427734... |
css/reference/properties/overflow/index.md | CSS - Properties - overflow - Description - Understanding overflow values - The `hidden` value:
With `hidden`, overflowing content is clipped at the element's padding box. There are no scroll bars and the clipped content is not visible (i.e., it's "hidden").
If there is overflowing content, the element is a scroll co... | [
-0.8030959367752075,
-0.34816017746925354,
-0.17324943840503693,
0.09430652856826782,
0.6739684343338013,
-1.4461731910705566,
-0.05655793845653534,
1.3760432004928589,
-0.03517717868089676,
0.3595801889896393,
-0.10166002064943314,
-0.14384746551513672,
-0.5710100531578064,
0.256698161363... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.