---
title: "Discussion on \"Pseudo selectors, elements and custom attribute  in CSS\" | Hashnode"
description: "Discussion on \"Pseudo selectors, elements and custom attribute  in CSS\". Pseudo selectors are as following:\n\nchained selectors\ncombined selectors\ninside an element\ndirect child\nsiblings (~ and +)\nbefore, after\nfocus\nfirst-child, last-child, nth-child(n) etc...\ncustom attribute\n\n1) Chained Selectors\n\nsyntax\n\n//HTML\n<li cla..."
url: "https://hashnode.com/posts/pseudo-selectors-elements-and-custom-attribute-in-css/62f7a207fffdab933bde771e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Pseudo selectors, elements and custom attribute in CSS](https://geekyjedy.hashnode.dev/pseudo-selectors-elements-and-custom-attribute-in-css?utm_source=hashnode&utm_medium=feed)

Pseudo selectors are as following: chained selectors combined selectors inside an element direct child siblings (~ and +) before, after focus first-child, last-child, nth-child(n) etc... custom attribute 1) Chained Selectors syntax //HTML <li cla...

Aug 13, 2022 · 3 min read · geekyjedy.hashnode.dev  
Read the article

-   [#iwritecode](https://hashnode.com/tag/iwritecode)
-   [#ineuron](https://hashnode.com/tag/ineuron)
-   [#css3](https://hashnode.com/tag/css3)
-   [#pseudo-elements](https://hashnode.com/tag/pseudo-elements)
-   [#pseudo-classes](https://hashnode.com/tag/pseudo-classes)

## Written by

[jaydatt](https://hashnode.com/@geekyjedy)

@geekyjedy · India

  
[View profile](https://hashnode.com/@geekyjedy)

i build products that creates impact and generates revenue for organization

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
