Skip to content
View in the app

A better way to browse. Learn more.

OKCCN - XenForo & IPS Plugin Marketplace

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
  • Language

CSS Combinators Reference

Featured Replies

  • Administrators

CSS Combinators Reference


CSS Combinators

A combinator is a sign that explains the relationship between selectors.

The table below shows the different combinators in CSS:

Name Sign Example Example Result
Child combinator > div > p Selects every <p> element that are direct children of a <div> element
Descendant combinator (single space) div p Selects all <p> elements inside <div> elements
Namespace separator | ns | h2 Selects all <h2> elements in namespace ns
Next-sibling combinator + div + p Selects the first <p> element that is placed immediately after <div> elements
Selector list , div, p Selects all <div> elements and all <p> elements
Subsequent-sibling combinator ~ p ~ ul Selects all <ul> elements that are preceded by a <p> element


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.