From 95aca4b4d8fa62815d4bd412fff1a364f842814a Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Thu, 29 Apr 2021 16:16:42 -0700 Subject: remove retired locales (#699) --- .../web/css/adjacent_sibling_combinator/index.html | 80 ---------------------- 1 file changed, 80 deletions(-) delete mode 100644 files/fa/web/css/adjacent_sibling_combinator/index.html (limited to 'files/fa/web/css/adjacent_sibling_combinator') diff --git a/files/fa/web/css/adjacent_sibling_combinator/index.html b/files/fa/web/css/adjacent_sibling_combinator/index.html deleted file mode 100644 index c988c47aed..0000000000 --- a/files/fa/web/css/adjacent_sibling_combinator/index.html +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: Adjacent sibling combinator -slug: Web/CSS/Adjacent_sibling_combinator -translation_of: Web/CSS/Adjacent_sibling_combinator ---- -
{{CSSRef("Selectors")}}
- -

ترکیب  (+) adjacent sibling combinator دو انتخابگر را از هم جدا می‌کند و زمانی تطابق انجام می‌شود که انتخابگر دوم بلافاصله بعد از انتخابگر اول آمده باشد و هر فرزند یک والد {{domxref("element")}} باشند.

- -
/* باشند img پارگراف‌هایی که بلافاصله بعد از */
-img + p {
-  font-style: bold;
-}
- -

Syntax

- -
former_element + target_element { style properties }
-
- -

Example

- -

CSS

- -
li:first-of-type + li {
-  color: red;
-}
-
- -

HTML

- -
<ul>
-  <li>One</li>
-  <li>Two!</li>
-  <li>Three</li>
-</ul>
- -

Result

- -

{{EmbedLiveSample('Example', 200, 100)}}

- -

Specifications

- - - - - - - - - - - - - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('CSS4 Selectors', '#adjacent-sibling-combinators', 'next-sibling combinator')}}{{Spec2('CSS4 Selectors')}}Renames it the "next-sibling" combinator.
{{SpecName('CSS3 Selectors', '#adjacent-sibling-combinators', 'Adjacent sibling combinator')}}{{Spec2('CSS3 Selectors')}} 
{{SpecName('CSS2.1', 'selector.html#adjacent-selectors', 'Adjacent sibling selectors')}}{{Spec2('CSS2.1')}}Initial definition.
- -

Browser compatibility

- - - -

{{Compat("css.selectors.adjacent_sibling")}}

- -

See also

- - -- cgit v1.2.3-54-g00ecf