file stringlengths 16 94 | text stringlengths 32 24.4k | vector list |
|---|---|---|
css/reference/properties/ruby-position/index.md | CSS - Properties - ruby-position - Examples - Ruby positioned under the text - CSS:
Example:
ruby {
ruby-position: under;
} | [
-1.2997044324874878,
0.4544634222984314,
-1.0010085105895996,
0.22227934002876282,
-0.536614179611206,
-0.41440826654434204,
0.41610971093177795,
1.7287321090698242,
0.9462945461273193,
-0.028468657284975052,
-0.014867493882775307,
0.09147317707538605,
-0.201746866106987,
0.024873234331607... |
css/reference/properties/ruby-position/index.md | CSS - Properties - ruby-position - Examples - Ruby alternate - HTML:
Example:
<ruby>
<rb>A</rb><rb>B</rb><rb>C</rb>
<rtc>Above</rtc>
<rtc>Below</rtc>
</ruby> | [
-0.7428286075592041,
0.345570832490921,
0.10787327587604523,
-0.3580845296382904,
0.43134820461273193,
-0.992919921875,
0.06725913286209106,
1.278868556022644,
0.07414548099040985,
-0.5433623790740967,
-0.02443576231598854,
-0.16891169548034668,
0.11652575433254242,
0.1724005490541458,
0... |
css/reference/properties/ruby-position/index.md | CSS - Properties - ruby-position - Examples - Ruby alternate - CSS:
Example:
ruby {
ruby-position: alternate; /* this is also the initial value */
} | [
-0.5515428781509399,
0.8065317273139954,
-0.7021493315696716,
0.03125794976949692,
-1.0763493776321411,
-0.644720733165741,
0.843931257724762,
2.1462669372558594,
1.222941279411316,
0.11209366470575333,
0.03453148901462555,
-0.5817552208900452,
-0.433951199054718,
0.04903719574213028,
-0... |
css/reference/properties/padding-right/index.md | CSS - Properties - padding-right:
The `padding-right` CSS property sets the width of the padding area on the right of an element.
Example:
padding-right: 1.5em;
Example:
padding-right: 10%;
Example:
padding-right: 20px;
Example:
padding-right: 1ch;
Example:
padding-right: 0;
Example:
<section id="default-e... | [
-0.9878537058830261,
-0.25692984461784363,
-1.2791523933410645,
-0.4933224618434906,
-0.22430263459682465,
-2.13934588432312,
0.983047604560852,
1.4015579223632812,
0.1411844938993454,
0.1937309056520462,
-0.8194696307182312,
0.5836685299873352,
-0.6202000379562378,
0.011139966547489166,
... |
css/reference/properties/padding-right/index.md | CSS - Properties - padding-right - Syntax:
Example:
/* <length> values */
padding-right: 0.5em;
padding-right: 0;
padding-right: 2cm;
/* <percentage> value */
padding-right: 10%;
/* Global values */
padding-right: inherit;
padding-right: initial;
padding-right: revert;
padding-right: revert-layer;
padding-right: un... | [
-1.353127360343933,
0.08917684108018875,
-0.5632551312446594,
-0.020023517310619354,
-0.5644694566726685,
-1.2830301523208618,
1.2294219732284546,
2.3559892177581787,
0.308451771736145,
0.41524773836135864,
-1.2094316482543945,
0.9767487049102783,
-0.3891891539096832,
-0.21521592140197754,... |
css/reference/properties/padding-right/index.md | CSS - Properties - padding-right - Syntax - Values:
- `<length>`: The size of the padding as a fixed value. Must be non-negative.
- `<percentage>`: 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.6097601652145386,
-0.48052528500556946,
-0.584130048751831,
-0.2910323143005371,
-0.7408812046051025,
-1.2533107995986938,
1.0339124202728271,
1.6997251510620117,
0.6535691618919373,
-0.14676544070243835,
-1.3095331192016602,
0.6962487697601318,
-0.20755591988563538,
-0.0255403257906436... |
css/reference/properties/padding-right/index.md | CSS - Properties - padding-right - Examples - Setting right padding using pixels and percentages:
Example:
.content {
padding-right: 5%;
}
.side-box {
padding-right: 10px;
} | [
-1.4322224855422974,
-0.04084028676152229,
-0.2323622852563858,
0.05967219918966293,
-0.8408197164535522,
-0.6935563683509827,
1.5423816442489624,
2.1414079666137695,
-0.01511276513338089,
-0.2253107726573944,
-1.3194440603256226,
0.2595011591911316,
-0.46509477496147156,
0.133512809872627... |
css/reference/properties/interest-delay-start/index.md | CSS - Properties - interest-delay-start:
The `interest-delay-start` CSS property specifies the delay between the user showing interest in an interest invoker element and the `interest` event firing.
The `interest-delay-start` and `interest-delay-end` properties can both be set using the `interest-delay` shorthand. | [
0.6575153470039368,
-0.7756941318511963,
-0.8869420886039734,
0.3413403630256653,
-0.6908577084541321,
-0.8875413537025452,
0.6753009557723999,
1.2853024005889893,
-0.14034810662269592,
0.16075967252254486,
0.013850200921297073,
0.15478897094726562,
-0.6522863507270813,
-0.3185801208019256... |
css/reference/properties/interest-delay-start/index.md | CSS - Properties - interest-delay-start - Syntax:
Example:
/* Keyword or custom delay */
interest-delay-start: normal;
interest-delay-start: 2s;
interest-delay-start: 250ms;
/* Global values */
interest-delay-start: inherit;
interest-delay-start: initial;
interest-delay-start: revert;
interest-delay-start: revert-la... | [
0.09971068054437637,
0.03679309040307999,
-0.14336952567100525,
0.02307409793138504,
-1.2630345821380615,
-0.435956209897995,
-0.09003603458404541,
1.4634640216827393,
0.11377616226673126,
-0.00948668085038662,
-0.9202640056610107,
0.9451777935028076,
-0.5722524523735046,
0.101589038968086... |
css/reference/properties/interest-delay-start/index.md | CSS - Properties - interest-delay-start - Syntax - Values:
This property is specified as one `<time>` value or the keyword `normal`:
- `normal`: Sets the delay to the browser's default delay. This is the initial value.
- `<time>`: Sets the delay to a specific duration. The value must be positive, otherwise the pro... | [
-0.20707039535045624,
-0.38285142183303833,
-0.4468413293361664,
0.020886212587356567,
-0.6558208465576172,
-0.29315170645713806,
1.0218175649642944,
1.6622638702392578,
0.4197586178779602,
-0.3270937502384186,
-0.6092345714569092,
0.5087010264396667,
-0.3579205572605133,
-0.02637973055243... |
css/reference/properties/interest-delay-start/index.md | CSS - Properties - interest-delay-start - Examples - Creating a basic `interest-delay-start` effect:
In this example, we demonstrate how `interest-delay-start` affects interest invoker behavior. | [
0.8484150767326355,
-0.10540559142827988,
-0.6674373149871826,
0.06420248746871948,
-1.3708306550979614,
-0.12533634901046753,
1.386722445487976,
1.2627801895141602,
0.1602727621793747,
0.053753118962049484,
-0.5783719420433044,
-0.014813601970672607,
-1.251908779144287,
-0.576727151870727... |
css/reference/properties/interest-delay-start/index.md | CSS - Properties - interest-delay-start - Examples - Creating a basic `interest-delay-start` effect - HTML:
The markup includes a `button`, a `p`, and an `input` of type `checkbox`. We specify the `<button>` as an interest invoker by giving it the `interestfor` attribute, whose value matches the `id` of the `<p>` elem... | [
-0.879137396812439,
0.591567873954773,
-0.12305118143558502,
-0.1529916524887085,
0.10067076981067657,
-1.4998148679733276,
0.2886686623096466,
1.0022302865982056,
-0.35518550872802734,
0.2406434714794159,
-0.34565162658691406,
0.1707904040813446,
-0.25280052423477173,
0.1761852502822876,
... |
css/reference/properties/interest-delay-start/index.md | CSS - Properties - interest-delay-start - Examples - Creating a basic `interest-delay-start` effect - CSS:
In the CSS, we specify a rule with a `.delay` selector that applies an `interest-delay-start` value of `2s` to any interest invoker the `delay` class is set on. We will set this on the `<button>` when the checkbo... | [
-0.29429641366004944,
-0.013781574554741383,
-0.5845039486885071,
-0.39614295959472656,
0.4367749094963074,
-1.3541759252548218,
0.36410221457481384,
1.2609814405441284,
-0.635397732257843,
0.19072231650352478,
0.044349126517772675,
0.04912780970335007,
-0.08803919702768326,
-0.01700967550... |
css/reference/properties/interest-delay-start/index.md | CSS - Properties - interest-delay-start - Examples - Creating a basic `interest-delay-start` effect - JavaScript:
In our script, we get references to the `<button>` and the checkbox, then create an event listener that toggles the `delay` class on the `<button>` whenever the checkbox value changes (when it is checked o... | [
0.36125287413597107,
-1.0442663431167603,
-0.23883891105651855,
-0.16154368221759796,
-0.26516154408454895,
-1.1366002559661865,
0.8264040946960449,
1.1511914730072021,
-0.26583942770957947,
0.39202550053596497,
0.08678340911865234,
0.032814525067806244,
-1.009605884552002,
-0.307580292224... |
css/reference/properties/interest-delay-start/index.md | CSS - Properties - interest-delay-start - Examples - Removing `interest-delay-start` after interest has been shown:
In this example, we show how to remove the `interest-delay-start` from multiple interest invoker elements after interest has been shown on one of them.
This is a useful technique. Having a popover appea... | [
1.019206166267395,
-0.6933099031448364,
-0.47125929594039917,
0.29686546325683594,
-1.015019178390503,
-0.5690463185310364,
1.3434685468673706,
0.4329623579978943,
0.21228313446044922,
-0.10354994982481003,
0.01001746580004692,
0.06976428627967834,
-0.8894191384315491,
-0.43520277738571167... |
css/reference/properties/interest-delay-start/index.md | CSS - Properties - interest-delay-start - Examples - Removing `interest-delay-start` after interest has been shown - HTML:
The markup includes three `<button>` elements wrapped in a paragraph with a `container` class, and another paragraph that has been turned into a popover using the `popover` attribute. All three bu... | [
-0.9855567216873169,
-0.4224327504634857,
-0.2576395571231842,
-0.09423837065696716,
0.25371411442756653,
-0.8009417653083801,
0.44865092635154724,
0.667198896408081,
-0.3091239929199219,
0.30740994215011597,
-0.04112386330962181,
0.05912390351295471,
0.14458101987838745,
0.121385097503662... |
css/reference/properties/interest-delay-start/index.md | CSS - Properties - interest-delay-start - Examples - Removing `interest-delay-start` after interest has been shown - CSS:
In the CSS, we apply an `interest-delay-start` value of `1s` to the buttons, then position the popover below whatever button is having interest shown on it by giving it a `position-area` value of `... | [
0.4568561911582947,
-0.39352554082870483,
-1.0848225355148315,
-0.15325188636779785,
0.41942256689071655,
-1.7539207935333252,
0.394252747297287,
1.7312159538269043,
0.15571492910385132,
0.264792799949646,
0.2837439775466919,
-0.15245437622070312,
-0.027997376397252083,
0.6684643030166626,... |
css/reference/properties/mask-border-mode/index.md | CSS - Properties - mask-border-mode:
The `mask-border-mode` CSS property specifies the blending mode used in a mask border. | [
-0.0765116736292839,
0.14667841792106628,
-1.964098334312439,
-0.6541489958763123,
-0.4089895188808441,
-0.7540310621261597,
0.5343908071517944,
1.7441132068634033,
0.7851937413215637,
0.45959851145744324,
-0.9812226295471191,
0.3729633390903473,
0.06806205213069916,
0.3859782814979553,
... |
css/reference/properties/mask-border-mode/index.md | CSS - Properties - mask-border-mode - Syntax:
Example:
/* Keyword values */
mask-border-mode: luminance;
mask-border-mode: alpha;
/* Global values */
mask-border-mode: inherit;
mask-border-mode: initial;
mask-border-mode: revert;
mask-border-mode: revert-layer;
mask-border-mode: unset; | [
-0.9171829223632812,
0.6952910423278809,
-0.3314124047756195,
-0.3802861273288727,
-0.05397602170705795,
-1.3930158615112305,
0.48850327730178833,
1.1405019760131836,
0.5394111275672913,
0.08212970942258835,
-1.262151837348938,
0.04018337279558182,
0.31891119480133057,
0.14422576129436493,... |
css/reference/properties/mask-border-mode/index.md | CSS - Properties - mask-border-mode - Syntax - Values:
This property is specified as one of the following keyword values:
- `luminance`: The luminance values of the mask border image are used as the mask values.
- `alpha`: The alpha values of the mask border image are used as the mask values. | [
-0.04152080416679382,
0.4644578695297241,
-1.3303120136260986,
-0.6671708226203918,
-0.8921002149581909,
-0.8398407101631165,
0.9929935932159424,
2.2902116775512695,
0.8286418914794922,
-0.026397544890642166,
-0.9823888540267944,
0.7019369602203369,
0.09151523560285568,
0.02520869672298431... |
css/reference/properties/ruby-overhang/index.md | CSS - Properties - ruby-overhang:
The `ruby-overhang` CSS property specifies whether or not a `ruby` annotation overhangs any surrounding text.
Example:
ruby-overhang: auto;
Example:
ruby-overhang: none;
Example:
<section id="default-example">
<p id="example-element">
あの<ruby>表<rp>(</rp><rt>ひょう</rt><rp>)</... | [
-1.2046103477478027,
0.6373952031135559,
-0.43672096729278564,
-0.06546033173799515,
0.3403843939304352,
-2.4305617809295654,
0.15518444776535034,
1.7919389009475708,
0.2283003032207489,
0.25003036856651306,
0.37669864296913147,
-0.10331904143095016,
0.04139169305562973,
0.6021164059638977... |
css/reference/properties/ruby-overhang/index.md | CSS - Properties - ruby-overhang - Syntax:
Example:
/* Keyword values */
ruby-overhang: auto;
ruby-overhang: none;
/* Global values */
ruby-overhang: inherit;
ruby-overhang: initial;
ruby-overhang: revert;
ruby-overhang: revert-layer;
ruby-overhang: unset; | [
-0.9861592054367065,
0.49105507135391235,
-0.31316643953323364,
0.24489378929138184,
-0.993393063545227,
-1.2896934747695923,
0.35855889320373535,
2.3600759506225586,
0.26457321643829346,
0.07003670930862427,
-0.867820143699646,
0.9181958436965942,
0.09546367824077606,
0.27765053510665894,... |
css/reference/properties/ruby-overhang/index.md | CSS - Properties - ruby-overhang - Syntax - Values:
This property is specified as one of the following keyword values:
- `auto`: When a ruby annotation container is longer than its corresponding base container, the annotation may partially overlap adjacent text. Whether, and how much to overhang are determined by the... | [
-1.3607944250106812,
-0.4778275787830353,
-1.017948865890503,
0.8152356743812561,
-0.4541166424751282,
-1.4022071361541748,
0.46373462677001953,
2.155647039413452,
0.2926035225391388,
-0.05683841556310654,
-0.5660489797592163,
0.4561396837234497,
-0.5681472420692444,
0.33615878224372864,
... |
css/reference/properties/ruby-overhang/index.md | CSS - Properties - ruby-overhang - Description:
The `ruby-overhang` property controls whether the ruby annotation text box (`rt`) may overlap adjacent text outside the `<ruby>` container box.
When ruby annotation text is not allowed to overhang — when `ruby-overhang: none` is set on the `<ruby>` element —... | [
-0.9210437536239624,
0.26339253783226013,
-0.3328194320201874,
0.22815147042274475,
0.47030824422836304,
-1.8262028694152832,
0.029839344322681427,
1.8536832332611084,
0.6374131441116333,
0.051819074898958206,
-0.2735198438167572,
-0.12879788875579834,
-0.22213950753211975,
0.6358079314231... |
css/reference/properties/ruby-overhang/index.md | CSS - Properties - ruby-overhang - Examples - Ruby overhanging base text:
This examples demonstrates both values of the `ruby-overhang` property. | [
0.13948844373226166,
0.8781813979148865,
-1.3423428535461426,
0.11770956218242645,
-0.5880770683288574,
-0.9353439807891846,
0.4322606325149536,
2.6989524364471436,
0.45982688665390015,
-0.5466099977493286,
-0.922113299369812,
1.0216654539108276,
-0.35751649737358093,
-0.3327472507953644,
... |
css/reference/properties/ruby-overhang/index.md | CSS - Properties - ruby-overhang - Examples - Ruby overhanging base text - HTML:
We include two paragraphs with identical `<ruby>` content and structures, other than their class names.
Example:
<p class="auto">
あの<ruby>表<rp>(</rp><rt>ひょう</rt><rp>)</rp></ruby
><ruby>現<rp>(</rp><rt>げん</rt><rp>)</rp></ruby>は面白い。
</... | [
-0.8582404255867004,
0.31327247619628906,
-0.4494306743144989,
0.2405661642551422,
-0.46358397603034973,
-1.4337610006332397,
0.8555033206939697,
1.2479453086853027,
-0.06890507787466049,
0.08184058964252472,
-0.9429575800895691,
0.7152090072631836,
-0.18116481602191925,
-0.151552617549896... |
css/reference/properties/ruby-overhang/index.md | CSS - Properties - ruby-overhang - Examples - Ruby overhanging base text - CSS:
A red `outline` of `1px` helps highlight the text annotation of `rt` elements. The first paragraph has `ruby-overhang: auto` and the second has `ruby-overhang: none`.
Example:
p {
font-size: 40px;
display: block;
margin: 0.5rem;
}
... | [
-1.0312331914901733,
0.4751953184604645,
-0.6274102330207825,
-0.4709705412387848,
0.44247400760650635,
-1.2376102209091187,
-0.11755366623401642,
2.181411027908325,
0.04656080901622772,
-0.06709140539169312,
0.03541606664657593,
-0.07865225523710251,
0.10670477151870728,
0.127269506454467... |
css/reference/properties/animation-fill-mode/index.md | CSS - Properties - animation-fill-mode:
The `animation-fill-mode` CSS property sets how a CSS animation applies styles to its target before and after its execution.
It is often convenient to use the shorthand property `animation` to set all animation properties at once.
Example:
animation-fill-mode: none;
animation... | [
0.7124589681625366,
-0.5819673538208008,
-0.8363564014434814,
0.4545266330242157,
0.5918257236480713,
-1.5825330018997192,
0.4186725318431854,
1.4912407398223877,
-1.4055895805358887,
0.20953133702278137,
0.41184455156326294,
0.1138797402381897,
-0.1728113740682602,
0.8433258533477783,
-... |
css/reference/properties/animation-fill-mode/index.md | CSS - Properties - animation-fill-mode - Syntax:
Example:
/* Single animation */
animation-fill-mode: none;
animation-fill-mode: forwards;
animation-fill-mode: backwards;
animation-fill-mode: both;
/* Multiple animations */
animation-fill-mode: none, backwards;
animation-fill-mode: both, forwards, none;
/* Global v... | [
-0.6442164778709412,
-0.535017192363739,
0.11409716308116913,
-0.005231618881225586,
-0.5598955154418945,
-1.2669639587402344,
0.655112624168396,
2.336120128631592,
-0.44256502389907837,
-0.6249567270278931,
-0.31845930218696594,
-0.35730549693107605,
-0.16739624738693237,
-0.0294225625693... |
css/reference/properties/animation-fill-mode/index.md | CSS - Properties - animation-fill-mode - Syntax - Values:
This property is specified as a comma-separated list of the following keyword values:
- `none`: The animation will not apply any styles to the target when it's not executing. The element will instead be displayed using any other CSS rules applied to it. This i... | [
1.2091234922409058,
-0.5088685154914856,
-0.48283901810646057,
0.7982422113418579,
0.9842004776000977,
-1.423142433166504,
0.4636317789554596,
1.5826339721679688,
-1.2789117097854614,
-0.17692148685455322,
0.3360033631324768,
0.18688857555389404,
-0.17792324721813202,
0.49244725704193115,
... |
css/reference/properties/animation-fill-mode/index.md | CSS - Properties - animation-fill-mode - Examples - Setting fill mode:
You can see the effect of `animation-fill-mode` in the following example. It demonstrates how you can make the animation remain in its final state rather than reverting to the original state (which is the default). | [
-0.3965490758419037,
-0.4733060300350189,
-0.8425676226615906,
-0.05435353145003319,
-0.9795300364494324,
-1.110140085220337,
1.7366305589675903,
2.0485610961914062,
-0.620299220085144,
-0.349515438079834,
0.14523383975028992,
-0.13960063457489014,
-0.3632301688194275,
0.053280070424079895... |
css/reference/properties/animation-fill-mode/index.md | CSS - Properties - animation-fill-mode - Examples - Setting fill mode - HTML:
Example:
<p>Move your mouse over the gray box!</p>
<div class="demo">
<div class="grows-and-stays">This grows and stays big.</div>
<div class="grows">This just grows.</div>
</div> | [
-1.4513503313064575,
-0.2795774042606354,
-0.023806866258382797,
0.1808599829673767,
-0.9021744728088379,
-1.0543301105499268,
1.0976207256317139,
1.8801997900009155,
-0.8256263136863708,
-0.23246091604232788,
-0.4167984127998352,
0.2428905963897705,
-0.32513532042503357,
0.034678503870964... |
css/reference/properties/animation-fill-mode/index.md | CSS - Properties - animation-fill-mode - Examples - Setting fill mode - CSS:
Example:
.demo {
border-top: 100px solid #cccccc;
height: 300px;
}
@keyframes grow {
0% {
font-size: 0;
}
100% {
font-size: 40px;
}
}
.demo:hover .grows {
animation-name: grow;
animation-duration: 3s;
}
.demo:hover... | [
-0.41867998242378235,
0.21280740201473236,
-0.7104443311691284,
0.15380461513996124,
-0.1821908950805664,
-0.6431315541267395,
-0.17856864631175995,
1.5649657249450684,
-1.4592676162719727,
-0.0941624566912651,
0.944145917892456,
0.25850412249565125,
-0.22040487825870514,
0.226285904645919... |
css/reference/properties/image-rendering/index.md | CSS - Properties - image-rendering:
The `image-rendering` CSS property sets an image scaling algorithm. The property applies to an element itself, to any images set in its other properties, and to its descendants.
Example:
image-rendering: auto;
Example:
image-rendering: smooth;
Example:
image-rendering: crisp-e... | [
-0.8352097868919373,
-0.007127435877919197,
-0.6683811545372009,
0.14705894887447357,
0.4319278597831726,
-1.7763490676879883,
0.09291547536849976,
1.4021649360656738,
0.036315493285655975,
-0.07984157651662827,
0.4348304271697998,
0.13265925645828247,
-0.7700063586235046,
0.76060903072357... |
css/reference/properties/image-rendering/index.md | CSS - Properties - image-rendering - Syntax:
Example:
/* Keyword values */
image-rendering: auto;
image-rendering: smooth;
image-rendering: crisp-edges;
image-rendering: pixelated;
/* Global values */
image-rendering: inherit;
image-rendering: initial;
image-rendering: revert;
image-rendering: revert-layer;
image-re... | [
-1.6621403694152832,
0.2607423663139343,
-0.16419193148612976,
-0.005720961838960648,
0.02352885901927948,
-1.0832618474960327,
0.13976053893566132,
1.6956524848937988,
0.19410541653633118,
0.012867298908531666,
0.011567078530788422,
-0.032768700271844864,
-0.18398018181324005,
0.664491713... |
css/reference/properties/image-rendering/index.md | CSS - Properties - image-rendering - Syntax - Values:
This property is specified as one of the following keyword values:
- `auto`: The scaling algorithm is UA dependent. Since version 1.9 (Firefox 3.0), Gecko uses bilinear resampling (high quality).
- `smooth`: The image should be scaled with an algorithm that maximi... | [
-1.0262303352355957,
0.013917645439505577,
-0.9139885306358337,
-0.8028361201286316,
0.3990866541862488,
-0.9175266623497009,
-0.5955728888511658,
1.8755207061767578,
-0.12172170728445053,
0.3326815962791443,
-0.33043554425239563,
0.43755418062210083,
-0.15716864168643951,
0.52332520484924... |
css/reference/properties/image-rendering/index.md | CSS - Properties - image-rendering - Examples - Setting image scaling algorithms:
In this example, an image is repeated four times, with each having a different `image-rendering` value applied.
Example:
<div>
<img
class="auto"
alt="A small photo of some white and yellow flower against a leafy green backgro... | [
-1.2121237516403198,
0.09683935344219208,
-0.2354331612586975,
0.09151391685009003,
0.061273425817489624,
-0.22611987590789795,
0.9025437831878662,
1.3766945600509644,
0.24656054377555847,
-0.0062374453991651535,
-0.2628747820854187,
0.6704555153846741,
-0.08681459724903107,
0.439276516437... |
css/reference/properties/image-rendering/index.md | CSS - Properties - image-rendering - Examples - Setting image scaling algorithms - CSS:
Example:
.auto {
image-rendering: auto;
}
.smooth {
image-rendering: smooth;
}
.pixelated {
image-rendering: pixelated;
}
.crisp-edges {
image-rendering: crisp-edges;
} | [
-1.1035058498382568,
-0.15428373217582703,
-0.16258694231510162,
-0.7223296165466309,
-0.4569789171218872,
-0.8511062264442444,
1.1981456279754639,
1.3187382221221924,
-0.055070698261260986,
0.29584893584251404,
0.46487951278686523,
-0.13867056369781494,
-0.07629799842834473,
0.32923734188... |
css/reference/properties/display/index.md | CSS - Properties - display:
The `display` CSS property sets whether an element is treated as a block or inline box and the layout used for its children, such as flow layout, grid or flex.
Formally, the `display` property sets an element's inner and outer display types. The outer type sets an element's participation i... | [
0.48142769932746887,
-0.6507827043533325,
-1.5409820079803467,
0.13983292877674103,
0.11663365364074707,
-1.518173336982727,
0.024356305599212646,
1.9800310134887695,
-0.3045634329319,
0.5288332104682922,
1.0828957557678223,
0.7026203870773315,
0.359750360250473,
0.490392804145813,
-0.72... |
css/reference/properties/display/index.md | CSS - Properties - display - Syntax:
Example:
/* short display */
display: none;
display: contents;
display: block;
display: flow-root;
display: inline;
display: inline-block;
display: list-item;
display: inline list-item;
display: flex;
display: inline-flex;
display: grid;
display: inline-grid;
display: table;
displ... | [
-0.7122939229011536,
0.5232419371604919,
-1.065056562423706,
-0.13151994347572327,
-0.7267519235610962,
-1.480612874031067,
0.4035815894603729,
2.202404260635376,
0.0549297034740448,
0.6832512617111206,
-0.13791728019714355,
0.372572660446167,
-0.02755730226635933,
0.9576270580291748,
0.... |
css/reference/properties/display/index.md | CSS - Properties - display - Grouped values:
The keyword values can be grouped into six value categories. | [
-0.18572410941123962,
-0.24905124306678772,
-0.29038792848587036,
-0.21403443813323975,
-0.45398926734924316,
0.2552608251571655,
0.5626140832901001,
0.9588294625282288,
0.06170743703842163,
-0.44243112206459045,
-0.4630288779735565,
-0.006235089153051376,
-0.47331503033638,
-0.00901277735... |
css/reference/properties/display/index.md | CSS - Properties - display - Grouped values - Outside:
- `<display-outside>`: These keywords specify the element's outer display type, which is essentially its role in flow layout:
- `block`: The element generates a block box, generating line breaks both before and after the element when in the normal flow.
... | [
-0.1420312523841858,
-0.017014356330037117,
-1.2260892391204834,
0.32692021131515503,
0.3396713435649872,
-0.6515868306159973,
-1.053087830543518,
1.6347143650054932,
-0.005763322114944458,
0.11298248171806335,
-0.18216408789157867,
-0.1052074134349823,
-0.035646479576826096,
0.45561659336... |
css/reference/properties/display/index.md | CSS - Properties - display - Grouped values - Inside:
- `<display-inside>`: These keywords specify the element's inner display type, which defines the type of formatting context that its contents are laid out in (assuming it is a non-replaced element). When one of these keywords is used by itself as a single val... | [
-0.03286826238036156,
0.2013217955827713,
-0.8382308483123779,
0.41573572158813477,
-0.037833139300346375,
-0.9056941866874695,
-0.20487120747566223,
0.9790308475494385,
-0.6779798865318298,
0.16918042302131653,
0.1409052163362503,
-0.01829594001173973,
0.0675266832113266,
0.66293960809707... |
css/reference/properties/display/index.md | CSS - Properties - display - Grouped values - List Item:
- `<display-listitem>`: The element generates a block box for the content and a separate list-item inline box.
A single value of `list-item` will cause the element to behave like a list item. This can be used together with `list-style-type` and `list-styl... | [
0.6445074677467346,
-0.15393564105033875,
-1.1752771139144897,
0.3849635720252991,
-0.08847599476575851,
-1.0532758235931396,
-0.3218269646167755,
1.6986743211746216,
0.06960712373256683,
0.1377289742231369,
-0.2252560555934906,
0.8066529035568237,
-0.8774015307426453,
0.2107323706150055,
... |
css/reference/properties/display/index.md | CSS - Properties - display - Grouped values - Internal:
- `<display-internal>`: Some layout models such as `table` and `ruby` have a complex internal structure, with several different roles that their children and descendants can fill. This section defines those "internal" display values, which only have meaning... | [
-0.08218014985322952,
0.45005500316619873,
-0.8627695441246033,
0.3452810049057007,
0.1127142459154129,
-0.7870129346847534,
0.3535444736480713,
1.1622742414474487,
0.19262167811393738,
-0.021760761737823486,
0.22599002718925476,
0.40767553448677063,
0.2837163507938385,
0.6365560293197632,... |
css/reference/properties/display/index.md | CSS - Properties - display - Grouped values - Box:
- `<display-box>`: These values define whether an element generates display boxes at all.
- `contents`: These elements don't produce a specific box by themselves. They are replaced by their pseudo-box and their child boxes. Please note that the CSS Display Lev... | [
-0.518699586391449,
-0.44998428225517273,
-0.8518897891044617,
-0.03864534944295883,
-0.24011445045471191,
-1.7638074159622192,
0.8772967457771301,
1.6958565711975098,
0.2468242049217224,
0.04544118419289589,
-0.17208530008792877,
0.2385258972644806,
-0.8487261533737183,
0.7349289059638977... |
css/reference/properties/display/index.md | CSS - Properties - display - Grouped values - Precomposed:
- `<display-legacy>`: CSS 2 used a single-keyword, precomposed syntax for the `display` property, requiring separate keywords for block-level and inline-level variants of the same layout mode.
- `inline-block`: The element generates a block box that wi... | [
-0.6622552275657654,
0.5944827795028687,
-1.3039613962173462,
0.4334564805030823,
0.3669939935207367,
-1.7162107229232788,
-0.9450236558914185,
1.5814067125320435,
0.031235061585903168,
0.053835704922676086,
0.1752898246049881,
-0.0628785789012909,
-0.22895285487174988,
0.647075891494751,
... |
css/reference/properties/display/index.md | CSS - Properties - display - Grouped values - Which syntax should you use?:
The CSS display module describes a multi-keyword syntax for values you can use with the `display` property to explicitly define outer and inner display. The single keyword values (precomposed `<display-legacy>` values) are supported for backwa... | [
0.604421079158783,
-0.9749211072921753,
-1.0987565517425537,
0.6780506372451782,
0.10804641246795654,
-2.089902877807617,
-0.4188317060470581,
1.5041124820709229,
-0.3940936326980591,
0.36152198910713196,
0.7022185325622559,
0.8901416063308716,
0.5184102654457092,
0.39535409212112427,
-0... |
css/reference/properties/display/index.md | CSS - Properties - display - Description:
The individual pages for the different types of value that `display` can have set on it feature multiple examples of those values in action — see the Syntax section. In addition, see the following material, which covers the various values of display in depth. | [
-0.4762367904186249,
-0.16878101229667664,
-1.1517034769058228,
-0.025550929829478264,
-0.7126457095146179,
-0.22755669057369232,
1.5668179988861084,
1.391985297203064,
0.31638509035110474,
-0.2878399193286896,
0.5430071949958801,
0.6920704245567322,
0.25162890553474426,
0.0475008934736251... |
css/reference/properties/display/index.md | CSS - Properties - display - Description - Multi-keyword values:
- Using the multi-keyword syntax with CSS display | [
-0.42796266078948975,
0.13840720057487488,
-0.7670157551765442,
-0.360690712928772,
-0.9216954112052917,
-0.5661235451698303,
0.9357851147651672,
1.5723648071289062,
0.46877342462539673,
-0.23942992091178894,
0.11376099288463593,
0.5673549771308899,
0.2511865794658661,
0.17099881172180176,... |
css/reference/properties/display/index.md | CSS - Properties - display - Description - CSS Flow Layout (display: block, display: inline):
- Block and inline layout in normal flow
- Flow layout and overflow
- Flow layout and writing modes
- Introduction to formatting contexts
- In flow and out of flow | [
-0.6354607939720154,
0.2359236776828766,
-1.3658485412597656,
0.30137577652931213,
-0.08703325688838959,
-1.182262897491455,
-0.7943370938301086,
0.7280331254005432,
0.5512351393699646,
0.27754342555999756,
0.6036613583564758,
-0.42739322781562805,
0.1257549673318863,
0.5832846760749817,
... |
css/reference/properties/display/index.md | CSS - Properties - display - Description - display: flex:
- Basic concepts of flexbox
- Aligning items in a flex container
- Controlling ratios of flex items along the main axis
- Mastering wrapping of flex items
- Ordering flex items
- Relationship of flexbox to other layout methods
- Typical use cases of flexbox | [
-0.490368127822876,
-0.2954656779766083,
-1.1751002073287964,
-0.16257697343826294,
-0.6508328914642334,
-0.04033324122428894,
0.2227010726928711,
1.2910964488983154,
0.20112520456314087,
-0.06960424035787582,
-0.2580295205116272,
-0.2651384770870209,
-0.9531315565109253,
0.698443591594696... |
css/reference/properties/display/index.md | CSS - Properties - display - Description - display: grid:
- Basic concepts of grid layout
- Relationship to other layout methods
- Line-based placement
- Grid template areas
- Layout using named grid lines
- Auto-placement in grid layout
- Aligning items in CSS grid layout
- Grids, logical values and writing modes
- C... | [
-0.7249776721000671,
0.13008655607700348,
-0.9360418915748596,
-0.36555683612823486,
-0.7290861010551453,
-1.182471752166748,
0.5039300918579102,
1.09537672996521,
0.47248053550720215,
0.35938820242881775,
-0.3248346447944641,
0.2735366225242615,
-0.5804158449172974,
1.0892393589019775,
... |
css/reference/properties/display/index.md | CSS - Properties - display - Description - Animating display:
Supporting browsers animate `display` with a discrete animation type. This generally means that the property will flip between two values 50% through animating between the two.
There is one exception, which is when animating to or from `display: none`. In ... | [
-0.08549623936414719,
-0.22614498436450958,
-1.0222997665405273,
0.7464916110038757,
0.3913474977016449,
-0.7186316847801208,
-0.4782465100288391,
1.8570637702941895,
-0.4701071083545685,
0.5358378291130066,
1.0489221811294556,
-0.3747108280658722,
-0.1959161013364792,
0.4205408990383148,
... |
css/reference/properties/display/index.md | CSS - Properties - display - Accessibility - display: none:
Using a `display` value of `none` on an element will remove it from the accessibility tree. This will cause the element and all its descendant elements to no longer be announced by screen reading technology.
If you want to visually hide the element, a more a... | [
0.14398695528507233,
0.08209483325481415,
-1.1211414337158203,
-0.5929644107818604,
-0.10096270591020584,
-1.4012740850448608,
0.4338959753513336,
1.179789662361145,
0.07992535829544067,
0.37021517753601074,
0.09465204179286957,
-0.45394107699394226,
0.017469197511672974,
0.607926249504089... |
css/reference/properties/display/index.md | CSS - Properties - display - Accessibility - display: contents:
Current implementations in some browsers will remove from the accessibility tree any element with a `display` value of `contents` (but descendants will remain). This will cause the element itself to no longer be announced by screen reading technology. Thi... | [
-0.3699655830860138,
-0.6368013620376587,
-0.86428302526474,
-0.237287700176239,
-0.5171631574630737,
-2.053419589996338,
1.01716148853302,
0.5827254056930542,
0.31347259879112244,
-0.07922617346048355,
0.35056203603744507,
0.21157687902450562,
-0.208945170044899,
0.3917393386363983,
-1.... |
css/reference/properties/display/index.md | CSS - Properties - display - Accessibility - Tables:
In some browsers, changing the `display` value of a `table` element to `block`, `grid`, or `flex` will alter its representation in the accessibility tree. This will cause the table to no longer be announced properly by screen reading technology.
- Hidden content fo... | [
-1.3954404592514038,
-0.21615412831306458,
-1.1830068826675415,
-0.5060319900512695,
-0.3495924174785614,
-1.7720379829406738,
0.25056302547454834,
0.9553473591804504,
0.4648165702819824,
0.5885714292526245,
-0.19533038139343262,
-0.4050294756889343,
-0.9148725867271423,
0.4154989421367645... |
css/reference/properties/display/index.md | CSS - Properties - display - Examples - display value comparison:
In this example we have two block-level container elements, each one with three inline children. Below that, we have a select menu that allows you to apply different `display` values to the containers, allowing you to compare and contrast how the differ... | [
-0.4537213444709778,
-0.9950665831565857,
-1.4342119693756104,
0.14332963526248932,
-0.7594389319419861,
-0.09507959336042404,
0.8746594190597534,
2.214578866958618,
0.2820616066455841,
0.18072140216827393,
0.21157445013523102,
0.46561479568481445,
-0.3331621587276459,
0.27380287647247314,... |
css/reference/properties/display/index.md | CSS - Properties - display - Examples - display value comparison - HTML:
Example:
<article class="container">
<span>First</span>
<span>Second</span>
<span>Third</span>
</article>
<article class="container">
<span>First</span>
<span>Second</span>
<span>Third</span>
</article>
<div>
<label for="display"... | [
-0.9875720739364624,
0.12352368235588074,
-0.7280669808387756,
0.5060721039772034,
0.11384928226470947,
-0.663213312625885,
0.1594012975692749,
0.6269806027412415,
-0.3855949342250824,
0.6215877532958984,
0.283052533864975,
-0.20230022072792053,
0.061337701976299286,
0.387870192527771,
-... |
css/reference/properties/display/index.md | CSS - Properties - display - Examples - display value comparison - CSS:
Example:
html {
font-family: "Helvetica", "Arial", sans-serif;
letter-spacing: 1px;
padding-top: 10px;
}
article {
background-color: red;
}
article span {
background-color: black;
color: white;
margin: 1px;
}
article,
span {
pa... | [
-0.6928860545158386,
0.3561304211616516,
-0.055561259388923645,
-0.5664684176445007,
0.4991230368614197,
-1.2310675382614136,
-0.4099208116531372,
0.9248260259628296,
-0.5705686807632446,
-0.7134975790977478,
0.6404754519462585,
-0.1971103549003601,
-0.13547492027282715,
0.1033343821763992... |
css/reference/properties/display/index.md | CSS - Properties - display - Examples - display value comparison - JavaScript:
Example:
const articles = document.querySelectorAll(".container");
const select = document.querySelector("select");
function updateDisplay() {
articles.forEach((article) => {
article.style.display = select.value;
});
}
select.add... | [
-0.411022812128067,
-0.11052878201007843,
-0.46025994420051575,
0.17538315057754517,
0.1685549020767212,
-1.2102501392364502,
0.383309006690979,
0.8484118580818176,
-0.726711630821228,
-0.018709681928157806,
0.481903076171875,
-0.11442172527313232,
-0.6241093277931213,
0.5071892142295837,
... |
css/reference/properties/lighting-color/index.md | CSS - Properties - lighting-color:
The `lighting-color` CSS property defines the color of the light source for the `feDiffuseLighting` and `feSpecularLighting` SVG lighting filter primitives within an SVG `filter`. If present, it overrides the element's `lighting-color` attribute.
Note: The `lighting-color` property ... | [
-1.4021364450454712,
-0.3966924250125885,
-0.3102062940597534,
0.12369072437286377,
0.4758407473564148,
-2.1805601119995117,
-0.08879686146974564,
1.7232937812805176,
-0.19875939190387726,
0.14120709896087646,
0.42860960960388184,
0.08889971673488617,
0.10005331039428711,
-0.08449624478816... |
css/reference/properties/lighting-color/index.md | CSS - Properties - lighting-color - Syntax:
Example:
/* <color> values */
lighting-color: red;
lighting-color: hsl(120deg 75% 25% / 60%);
lighting-color: currentColor;
/* Global values */
lighting-color: inherit;
lighting-color: initial;
lighting-color: revert;
lighting-color: revert-layer;
lighting-color: unset; | [
-1.8679802417755127,
0.5392428040504456,
-0.20418402552604675,
-0.4612351357936859,
-0.7557187080383301,
-1.4221320152282715,
-0.14231592416763306,
1.9697465896606445,
0.2664942741394043,
-0.27510660886764526,
-0.44233188033103943,
0.7708669304847717,
0.47956013679504395,
0.032355062663555... |
css/reference/properties/lighting-color/index.md | CSS - Properties - lighting-color - Syntax - Values:
This property is specified as one `<color>` value:
- `<color>`: The lighting's color. This can be any valid CSS `<color>` value. | [
-1.0131378173828125,
0.5503419041633606,
-0.7958449125289917,
-0.41349637508392334,
-0.3905145823955536,
-2.1456658840179443,
0.41119804978370667,
2.433000326156616,
0.3975476324558258,
-0.26883935928344727,
0.23861238360404968,
0.3382315933704376,
0.2083130180835724,
-0.08999219536781311,... |
css/reference/properties/lighting-color/index.md | CSS - Properties - lighting-color - Examples - Defining the color of filter lighting:
This example demonstrates the basic use case of `lighting-color`, and how the CSS `lighting-color` property takes precedence over the `lighting-color` attribute. | [
-1.0147852897644043,
0.08689160645008087,
-0.898637056350708,
-0.06249284744262695,
-0.3332158327102661,
-1.9264411926269531,
0.052235156297683716,
1.9509844779968262,
0.038636744022369385,
0.20461060106754303,
0.5800815224647522,
-0.708191990852356,
-0.003967719152569771,
0.13455495238304... |
css/reference/properties/lighting-color/index.md | CSS - Properties - lighting-color - Examples - Defining the color of filter lighting - HTML:
We have an SVG with two `filter` elements, one with a `<feDiffuseLighting>` and one with a `<feSpecularLighting>` child. Each includes the SVG `lighting-color` attribute defining the lighting color as `red`. Both of these chil... | [
-2.0275535583496094,
-0.11770857870578766,
-0.47244834899902344,
0.1340039074420929,
0.4926142692565918,
-0.8868890404701233,
-0.45968765020370483,
1.4557876586914062,
-0.16160744428634644,
0.16443166136741638,
0.11189591884613037,
0.11700439453125,
0.20980584621429443,
-0.1581669896841049... |
css/reference/properties/lighting-color/index.md | CSS - Properties - lighting-color - Examples - Defining the color of filter lighting - CSS:
We define the size and position of our `<rect>` using the CSS `height`, `width`, `x`, and `y` properties. We also add a background image to the SVG to make any color alpha transparency more apparent:
Example:
svg {
backgrou... | [
-1.1515811681747437,
-0.2691549062728882,
-0.732160747051239,
-0.4898095726966858,
0.5672694444656372,
-1.2546976804733276,
-0.3764136731624603,
1.2038531303405762,
-0.07569570094347,
0.6081799864768982,
0.30813878774642944,
0.46578913927078247,
0.6105617880821228,
0.17357441782951355,
-... |
css/reference/properties/text-wrap/index.md | CSS - Properties - text-wrap:
The `text-wrap` CSS shorthand property controls how text inside an element is wrapped. The different values provide:
- Typographic improvements, for example more balanced line lengths across broken headings
- A way to turn text wrapping off completely.
Example:
text-wrap: wrap;
Exampl... | [
-0.7167714238166809,
0.2527824938297272,
-0.37742292881011963,
-0.26066747307777405,
0.6810883283615112,
-2.189833641052246,
-0.06216977909207344,
1.6204445362091064,
-0.22760099172592163,
0.4671632945537567,
0.23610949516296387,
-0.12681755423545837,
-0.650773823261261,
-0.271040052175521... |
css/reference/properties/text-wrap/index.md | CSS - Properties - text-wrap - Constituent properties:
This property is a shorthand for the following CSS properties:
- `text-wrap-mode`
- `text-wrap-style` | [
-0.96900475025177,
0.8787733912467957,
-0.7098737359046936,
0.5003640651702881,
-0.25528210401535034,
-1.8207014799118042,
0.32732489705085754,
2.586961030960083,
0.6822556257247925,
-0.10291963815689087,
-0.45983222126960754,
-0.12703877687454224,
-0.45460233092308044,
-0.7071443200111389... |
css/reference/properties/text-wrap/index.md | CSS - Properties - text-wrap - Syntax:
Example:
/* Keyword values */
text-wrap: wrap;
text-wrap: nowrap;
text-wrap: balance;
text-wrap: pretty;
text-wrap: stable;
/* Global values */
text-wrap: inherit;
text-wrap: initial;
text-wrap: revert;
text-wrap: revert-layer;
text-wrap: unset; | [
-0.7745438814163208,
0.9272401332855225,
0.26192283630371094,
0.09225286543369293,
-0.08805090188980103,
-1.505727767944336,
-0.19121134281158447,
2.0032193660736084,
0.715277373790741,
0.5472762584686279,
-0.3840619623661041,
0.47611910104751587,
-0.9244491457939148,
-0.2981860637664795,
... |
css/reference/properties/text-wrap/index.md | CSS - Properties - text-wrap - Syntax - Values:
This property is specified as one of the following keyword values:
- `wrap`: Text is wrapped across lines at appropriate characters (for example spaces, in languages like English that use space separators) to minimize overflow. This is the default value.
- `nowrap`: Tex... | [
-0.7648724317550659,
0.765942394733429,
-0.41016262769699097,
-0.2682802677154541,
0.9440641403198242,
-0.7221402525901794,
0.23465368151664734,
1.4377578496932983,
0.1566348820924759,
0.4565046727657318,
-0.25776246190071106,
-0.25300002098083496,
-0.35494932532310486,
-0.1357186138629913... |
css/reference/properties/text-wrap/index.md | CSS - Properties - text-wrap - Description:
There are 2 ways that text can flow across lines within a block of content, such as a paragraph (`p`) or headings (`<h1>–<h6>`). These are forced line breaks, that are controlled by the user, and soft line breaks, that are controlled by the browser. The `text-wra... | [
-0.6030598282814026,
0.7093953490257263,
-0.3763447403907776,
0.03788326680660248,
0.6638967990875244,
-0.6877633929252625,
-0.615853488445282,
1.4899355173110962,
0.07828429341316223,
0.48945051431655884,
0.014045212417840958,
-0.37147465348243713,
-0.6892820596694946,
0.10817340016365051... |
css/reference/properties/text-wrap/index.md | CSS - Properties - text-wrap - Examples - Basic text wrap value comparison - HTML:
Example:
<h2 class="wrap" contenteditable="true">
The default behavior; the text in the heading wraps "normally"
</h2>
<h2 class="nowrap" contenteditable="true">
In this case the text in the heading doesn't wrap, and overflows the... | [
-1.751086950302124,
0.008716318756341934,
0.08279134333133698,
0.35804668068885803,
-0.21393035352230072,
-2.2842466831207275,
0.017344310879707336,
1.4763962030410767,
-0.7433243989944458,
0.16057491302490234,
-0.8378776907920837,
-0.6798700094223022,
-0.4871281385421753,
-0.2850024700164... |
css/reference/properties/text-wrap/index.md | CSS - Properties - text-wrap - Examples - CSS:
Example:
.wrap {
text-wrap: wrap;
}
.nowrap {
text-wrap: nowrap;
}
.balance {
text-wrap: balance;
}
h2 {
font-size: 2rem;
font-family: sans-serif;
} | [
-1.289556622505188,
1.114456295967102,
0.2311563491821289,
-0.2123372107744217,
-0.4208919405937195,
-0.29381445050239563,
0.5543625354766846,
1.8345590829849243,
0.07986365258693695,
0.0774870365858078,
-0.027764957398176193,
-0.2747105062007904,
-0.7074511051177979,
-0.654873788356781,
... |
css/reference/properties/font-kerning/index.md | CSS - Properties - font-kerning:
The `font-kerning` CSS property sets the use of the kerning information stored in a font.
Example:
font-kerning: auto;
Example:
font-kerning: normal;
Example:
font-kerning: none;
Example:
<section class="default-example" id="default-example">
<div class="transition-all" id="e... | [
-0.9696275591850281,
-0.093464195728302,
-0.6450993418693542,
-0.08362893760204315,
0.8566046953201294,
-2.1820662021636963,
0.10879071056842804,
1.7276921272277832,
-0.16229823231697083,
0.25578904151916504,
1.1109853982925415,
-0.49385514855384827,
-0.07371775805950165,
0.232559919357299... |
css/reference/properties/font-kerning/index.md | CSS - Properties - font-kerning - Syntax:
Example:
font-kerning: auto;
font-kerning: normal;
font-kerning: none;
/* Global values */
font-kerning: inherit;
font-kerning: initial;
font-kerning: revert;
font-kerning: revert-layer;
font-kerning: unset; | [
-1.5203460454940796,
0.3078085482120514,
0.5564849972724915,
0.10239048302173615,
-0.1011093407869339,
-1.0451511144638062,
0.14789645373821259,
1.572571873664856,
0.2964121103286743,
-0.29020634293556213,
-0.39666295051574707,
-0.32739683985710144,
-0.012156497687101364,
0.061616763472557... |
css/reference/properties/font-kerning/index.md | CSS - Properties - font-kerning - Syntax - Values:
This property is specified as one of the following keyword values:
- `auto`: The browser determines whether font kerning should be used or not. For example, some browsers will disable kerning on small fonts, since applying it could harm the readability of text.
- `no... | [
-1.3537381887435913,
-0.5562885403633118,
0.09565162658691406,
-0.043676573783159256,
0.4086732864379883,
-1.071980595588684,
0.8718177080154419,
1.8163172006607056,
0.3829864263534546,
-0.12348350882530212,
-0.38531532883644104,
-0.0949425995349884,
0.1918714940547943,
-0.0597196854650974... |
css/reference/properties/font-kerning/index.md | CSS - Properties - font-kerning - Examples - Enabling and disabling kerning - HTML:
Example:
<div id="kern"></div>
<div id="no-kern"></div>
<textarea id="input">AV T. ij</textarea> | [
-1.7735676765441895,
0.24089568853378296,
0.20463940501213074,
-0.10684765130281448,
-0.4582466781139374,
-0.3398890793323517,
1.3222578763961792,
1.296777367591858,
-0.7686107754707336,
0.09514761716127396,
0.4698486328125,
-0.5199862718582153,
-1.0994524955749512,
-0.1826697140932083,
... |
css/reference/properties/font-kerning/index.md | CSS - Properties - font-kerning - Examples - Enabling and disabling kerning - CSS:
Example:
div {
font-size: 2rem;
font-family: serif;
}
#no-kern {
font-kerning: none;
}
#kern {
font-kerning: normal;
} | [
-1.3718314170837402,
0.5243694186210632,
-0.15851537883281708,
-0.5994997620582581,
0.7157180905342102,
-1.050268530845642,
0.6196305155754089,
1.396254062652588,
-0.9419761896133423,
-0.500881016254425,
1.1877442598342896,
-0.11011569947004318,
-0.6192992925643921,
0.1394408792257309,
-... |
css/reference/properties/font-kerning/index.md | CSS - Properties - font-kerning - Examples - Enabling and disabling kerning - JavaScript:
Example:
const input = document.getElementById("input");
const kern = document.getElementById("kern");
const noKern = document.getElementById("no-kern");
input.addEventListener("keyup", () => {
kern.textContent = input.value;... | [
-0.47872334718704224,
0.27260899543762207,
-0.08167827129364014,
0.05734654515981674,
-0.5949000716209412,
-0.9854301810264587,
1.0758066177368164,
1.0293691158294678,
-0.6178774237632751,
0.05642765387892723,
0.008447479456663132,
-0.2817312180995941,
-1.35347580909729,
-0.293573737144470... |
css/reference/properties/text-underline-offset/index.md | CSS - Properties - text-underline-offset:
The `text-underline-offset` CSS property sets the offset distance of an underline text decoration line (applied using `text-decoration`) from its original position.
Example:
text-underline-offset: auto;
Example:
text-underline-offset: 8px;
Example:
text-underline-offset:... | [
-0.5358357429504395,
0.012728480622172356,
-0.6818625330924988,
-0.27960386872291565,
0.7611770629882812,
-2.0639264583587646,
-1.0647220611572266,
1.8388476371765137,
-0.3025205135345459,
-0.39699018001556396,
-0.23217126727104187,
-0.29246005415916443,
-0.4629283845424652,
-0.15457691252... |
css/reference/properties/text-underline-offset/index.md | CSS - Properties - text-underline-offset - Syntax:
Example:
/* Single keyword */
text-underline-offset: auto;
/* length */
text-underline-offset: 0.1em;
text-underline-offset: 3px;
/* percentage */
text-underline-offset: 20%;
/* Global values */
text-underline-offset: inherit;
text-underline-offset: initial;
text-... | [
-1.2100108861923218,
-0.16036061942577362,
-0.049933649599552155,
-0.2955101728439331,
-0.2738490104675293,
-1.2869675159454346,
0.3244711458683014,
2.446969747543335,
-0.09121256321668625,
0.04588394612073898,
-1.2984176874160767,
0.37240466475486755,
-0.7053000330924988,
-0.1727126240730... |
css/reference/properties/text-underline-offset/index.md | CSS - Properties - text-underline-offset - Syntax - Values:
This property is specified as one of the following values:
- `auto`: The browser chooses the appropriate offset for underlines.
- `<length>`: Specifies the offset of underlines as a `length`, overriding the font file suggestion and the browser default. It is... | [
-1.206740140914917,
-0.8742395043373108,
-1.105255365371704,
0.0909041315317154,
-0.11998876929283142,
-1.0303245782852173,
1.1087268590927124,
2.4378583431243896,
0.2581736445426941,
-0.38012197613716125,
-0.812002956867218,
0.5876428484916687,
-0.430703341960907,
-0.21281443536281586,
... |
css/reference/properties/text-underline-offset/index.md | CSS - Properties - text-underline-offset - Examples - Demonstration of text-underline-offset:
Example:
<p class="one-line">Here's some text with an offset wavy red underline!</p>
<br />
<p class="two-lines">
This text has lines both above and below it. Only the bottom one is offset.
</p>
Example:
p {
text-decor... | [
-1.6125613451004028,
-0.015675438567996025,
-0.16651712357997894,
-0.7227679491043091,
0.9531140327453613,
-0.6716476678848267,
-0.08414892852306366,
2.0943381786346436,
0.11809222400188446,
0.19027301669120789,
-0.4860876202583313,
0.3036087453365326,
0.18585507571697235,
-0.8361728191375... |
css/reference/properties/padding-block-start/index.md | CSS - Properties - padding-block-start:
The `padding-block-start` CSS property defines the logical block start padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.
Example:
padding-block-start: 20px;
writing-mode: horizontal-tb;
Examp... | [
-0.1584082394838333,
0.2990061342716217,
-0.9436187744140625,
-0.14825698733329773,
0.45292752981185913,
-1.497113585472107,
-0.13026727735996246,
1.1459996700286865,
0.5837165713310242,
-0.33989956974983215,
0.11554358899593353,
-0.28037774562835693,
-0.30392566323280334,
0.67699277400970... |
css/reference/properties/padding-block-start/index.md | CSS - Properties - padding-block-start - Syntax:
Example:
/* <length> values */
padding-block-start: 10px; /* An absolute length */
padding-block-start: 1em; /* A length relative to the text size */
/* <percentage> value */
padding-block-start: 5%; /* A padding relative to the block container's width */
/* Global v... | [
0.00746419932693243,
0.5269562005996704,
-0.42932549118995667,
0.027111805975437164,
-0.621333658695221,
-1.4287174940109253,
0.8116356730461121,
1.8039031028747559,
0.5442039966583252,
0.09369920939207077,
-1.0160503387451172,
0.5276584029197693,
-1.0875855684280396,
0.719045102596283,
... |
css/reference/properties/padding-block-start/index.md | CSS - Properties - padding-block-start - Syntax - Values:
- `<length>`: The size of the padding as a fixed value. Must be non-negative.
- `<percentage>`: The size of the padding as a percentage, relative to the inline-size (width in a horizontal language) of the containing block. Must be non-negative. | [
-0.5143639445304871,
-0.04915572330355644,
-0.953451931476593,
-0.14553406834602356,
-0.738346517086029,
-0.9165058135986328,
1.1625078916549683,
1.6897401809692383,
0.483023464679718,
-0.06965068727731705,
-1.2021516561508179,
0.41024014353752136,
-0.34821346402168274,
0.474681556224823,
... |
css/reference/properties/padding-block-start/index.md | CSS - Properties - padding-block-start - Description:
The `padding-block-start` property takes the same values as physical padding properties such as `padding-top`. However, it can be equivalent to `padding-top`, `padding-bottom`, `padding-left`, or `padding-right` depending on the values set for `writing-mode`, `dire... | [
-0.37470003962516785,
0.5043617486953735,
-0.5151365995407104,
0.2871725857257843,
0.5088715553283691,
-0.31843605637550354,
0.4438328444957733,
1.5225335359573364,
0.4744279980659485,
-0.134453684091568,
-0.2713216543197632,
-0.072260782122612,
-0.5332087874412537,
0.3180842101573944,
-... |
css/reference/properties/padding-block-start/index.md | CSS - Properties - padding-block-start - Examples - Setting block start padding for vertical text - HTML:
Example:
<div>
<p class="exampleText">Example text</p>
</div> | [
-1.3719581365585327,
0.5648724436759949,
-0.38097888231277466,
0.7298266887664795,
-1.0834648609161377,
-0.29148632287979126,
1.5235474109649658,
2.195909023284912,
0.5981431603431702,
-0.23850548267364502,
-0.7826425433158875,
-0.010152865201234818,
-0.527108907699585,
0.17392481863498688... |
css/reference/properties/padding-block-start/index.md | CSS - Properties - padding-block-start - Examples - Setting block start padding for vertical text - CSS:
Example:
div {
background-color: yellow;
width: 120px;
height: 120px;
}
.exampleText {
writing-mode: vertical-lr;
padding-block-start: 20px;
background-color: #c8c800;
} | [
-1.8382960557937622,
0.5876889228820801,
-0.34682250022888184,
0.23747655749320984,
-0.6242141127586365,
0.43057015538215637,
1.124752163887024,
1.734782338142395,
0.31987056136131287,
-0.19030435383319855,
-0.7271239757537842,
0.31368184089660645,
-0.4310597777366638,
0.6275079250335693,
... |
css/reference/properties/border-bottom-color/index.md | CSS - Properties - border-bottom-color:
The `border-bottom-color` CSS property sets the color of an element's bottom border. It can also be set with the shorthand CSS properties `border-color` or `border-bottom`.
Example:
border-bottom-color: red;
Example:
border-bottom-color: #32a1ce;
Example:
border-bottom-col... | [
-0.9165735244750977,
-0.19800665974617004,
-0.7161264419555664,
-0.6735157370567322,
0.2706257700920105,
-2.130950689315796,
0.16578254103660583,
1.9379432201385498,
-0.06267698854207993,
0.24688048660755157,
-1.12908136844635,
0.8752493262290955,
-0.06439600884914398,
0.5707024931907654,
... |
css/reference/properties/border-bottom-color/index.md | CSS - Properties - border-bottom-color - Syntax:
Example:
/* <color> values */
border-bottom-color: red;
border-bottom-color: #ffbb00;
border-bottom-color: rgb(255 0 0);
border-bottom-color: hsl(100deg 50% 25% / 75%);
border-bottom-color: currentColor;
border-bottom-color: transparent;
/* Global values */
border-bot... | [
-1.2499043941497803,
0.17789144814014435,
-0.15265028178691864,
-0.34795504808425903,
-0.22319278120994568,
-1.4110488891601562,
0.07858657091856003,
2.244192123413086,
0.23530060052871704,
0.04362091049551964,
-1.528591513633728,
1.1083030700683594,
0.27158352732658386,
0.2321337759494781... |
css/reference/properties/border-bottom-color/index.md | CSS - Properties - border-bottom-color - Syntax - Values:
This property is specified as one value:
- `<color>`: The color of the bottom border. | [
-0.7454317808151245,
0.18983669579029083,
-1.4638361930847168,
-0.037905678153038025,
-0.16842283308506012,
-1.5646125078201294,
0.4975125193595886,
2.591665029525757,
0.20601943135261536,
-0.3464948832988739,
-1.1809847354888916,
0.8209502100944519,
0.009414415806531906,
0.263443380594253... |
css/reference/properties/border-bottom-color/index.md | CSS - Properties - border-bottom-color - Examples - A div with a border - HTML:
Example:
<div class="my-box">
<p>
This is a box with a border around it. Note which side of the box is
<span class="red-text">red</span>.
</p>
</div> | [
-1.4300075769424438,
-0.03989040106534958,
-0.3420320153236389,
-0.2888094186782837,
-0.37215572595596313,
-0.5265920758247375,
0.7355910539627075,
2.557328939437866,
0.5124657154083252,
0.031387366354465485,
-1.2506465911865234,
0.5642277002334595,
-0.7412102818489075,
-0.0418756082653999... |
css/reference/properties/border-bottom-color/index.md | CSS - Properties - border-bottom-color - Examples - A div with a border - CSS:
Example:
.my-box {
border: solid 0.3em gold;
border-bottom-color: red;
width: auto;
}
.red-text {
color: red;
} | [
-1.3371978998184204,
-0.08625708520412445,
-0.3465873897075653,
-0.730224072933197,
-0.2460167407989502,
-0.5643105506896973,
0.3636648952960968,
2.115658760070801,
0.29508668184280396,
0.0342424176633358,
-0.8543151021003723,
0.7296342849731445,
-0.5627200603485107,
0.13099031150341034,
... |
css/reference/properties/border-right-width/index.md | CSS - Properties - border-right-width:
The `border-right-width` CSS property sets the width of the right border of an element.
Example:
border-right-width: thick;
Example:
border-right-width: 2em;
Example:
border-right-width: 4px;
Example:
border-right-width: 2ex;
Example:
border-right-width: 0;
Example:
<... | [
-1.076653242111206,
0.11940868198871613,
-1.0598253011703491,
-0.6506235599517822,
-0.06892195343971252,
-1.733215093612671,
0.1478070318698883,
1.3974708318710327,
0.3404240310192108,
-0.11016619205474854,
-1.0063469409942627,
0.7619990706443787,
-0.34804823994636536,
-0.00370400026440620... |
css/reference/properties/border-right-width/index.md | CSS - Properties - border-right-width - Syntax:
Example:
/* Keyword values */
border-right-width: thin;
border-right-width: medium;
border-right-width: thick;
/* <length> values */
border-right-width: 10em;
border-right-width: 3vmax;
border-right-width: 6px;
/* Global keywords */
border-right-width: inherit;
border... | [
-1.3659573793411255,
0.5660315752029419,
0.18947523832321167,
-0.7938418388366699,
0.43637901544570923,
-1.2497761249542236,
-0.32941895723342896,
1.0423610210418701,
0.03292863816022873,
-0.38373225927352905,
-0.9281035661697388,
0.267910361289978,
-0.5286425352096558,
0.2171679139137268,... |
css/reference/properties/border-right-width/index.md | CSS - Properties - border-right-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.0348697900772095,
-0.49833446741104126,
-1.1425368785858154,
-0.9712122082710266,
-0.3234998881816864,
-0.5910123586654663,
-0.15440036356449127,
1.8365803956985474,
0.9874112606048584,
-0.14810360968112946,
-1.2095659971237183,
0.8519696593284607,
-0.5806028246879578,
-0.36173427104949... |
css/reference/properties/border-right-width/index.md | CSS - Properties - border-right-width - Examples - Comparing border widths - HTML:
Example:
<div>Element 1</div>
<div>Element 2</div> | [
-0.8530542850494385,
0.13771268725395203,
-0.36817777156829834,
-0.7695145606994629,
-0.6783093214035034,
-0.5078995227813721,
0.5986438989639282,
1.530413031578064,
0.800200343132019,
-0.6097452044487,
-1.060860514640808,
0.41697922348976135,
-0.5359372496604919,
-0.18996229767799377,
-... |
css/reference/properties/border-right-width/index.md | CSS - Properties - border-right-width - Examples - Comparing border widths - CSS:
Example:
div {
border: 1px solid red;
margin: 1em 0;
}
div:nth-child(1) {
border-right-width: thick;
}
div:nth-child(2) {
border-right-width: 2em;
} | [
-1.0783859491348267,
0.05061075836420059,
-0.3437167704105377,
-1.225785493850708,
-0.5880911350250244,
-0.5000979900360107,
0.8477867245674133,
1.5633293390274048,
0.40629255771636963,
-0.028677377849817276,
-0.533628523349762,
0.7913723587989807,
-1.0674744844436646,
-0.03438133746385574... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.