Support first-child, nth-child(n), etc.

Support pseudo-classes, such as first-child, nth-child(n), etc. within the Designer class selector.

  • Jason Zucchetto
  • Jan 11 2017
  • Meritt Thomas commented
    09 Jun 01:06

    Pleaseeeeee

  • Pablo González Day commented
    23 Apr 00:58

    This would be a great addition.

  • Peter Granholm commented
    November 01, 2019 07:06

    +1

  • Vadim Semeniuk commented
    October 29, 2019 19:30

    Important feature, somewhat easy to implement. 

    From the child view: allow all child elements to be selected ('set inherit from Section'), and only if they're all the same element category ('div', or 'list', or whatever).

    Webview would determine how deep that relationship is (is it 'div.section > div > div.child' or is it 'div.section > div > div > div > div.child'?).

    For first-type/last-type: each style from the Style tab (right menu) would have an icon allowing user to toggle whether to use applicable style (Webflow would determine what's first or last).

    For nth-child/not: Webflow would have a nth-child selector in the Styles tab (right menu), allowing user to set the child number to affect.

  • Dev Lumsden commented
    August 30, 2019 00:03

    This would be super handy in a whole host of situations

  • Josh Williams commented
    August 22, 2019 22:52

    bumping this :)

  • Nehemie KOFFI commented
    May 02, 2019 01:13

    Would love to have this

  • Alain Gutjahr commented
    April 26, 2019 21:46

    Yes please support it!

  • Rick Messer commented
    April 07, 2019 21:17

    Yes just searched hoping this would be in here. Could very-much use.

  • Tim Armstrong commented
    March 19, 2019 16:58

    Yes!  Please add support for pseudo elements 

  • Lucas Fabossi commented
    January 18, 2019 18:50

    +1

  • Adrien Olczak commented
    December 02, 2018 06:24

    This has been 2 years now almost.

    Please.


  • Adrien Olczak commented
    December 02, 2018 06:23

    +3

  • Toni HD commented
    October 22, 2018 16:21

    +1

  • Rijk van Wel commented
    September 11, 2018 11:20
  • Rijk van Wel commented
    September 11, 2018 09:38

    Would be very useful to e.g. remove the left padding on the first item in a list.

  • Collette Smith commented
    August 18, 2018 19:21

    +1

  • Joe Million commented
    July 29, 2018 17:03

    Need.

  • Mazzy Bart commented
    July 24, 2018 16:11

    It's a lovely feature! Save so much time!

  • Scott Stephens commented
    May 01, 2018 17:32

    This would be amazing!

  • Load older comments
  • and 495 more