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
  • Pablo González Day commented
    23 Apr 12:58am

    This would be a great addition.

  • Peter Granholm commented
    1 Nov, 2019 07:06am

    +1

  • Vadim Semeniuk commented
    29 Oct, 2019 07:30pm

    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
    30 Aug, 2019 12:03am

    This would be super handy in a whole host of situations

  • Josh Williams commented
    22 Aug, 2019 10:52pm

    bumping this :)

  • Nehemie KOFFI commented
    2 May, 2019 01:13am

    Would love to have this

  • Alain Gutjahr commented
    26 Apr, 2019 09:46pm

    Yes please support it!

  • Rick Messer commented
    7 Apr, 2019 09:17pm

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

  • Tim Armstrong commented
    19 Mar, 2019 04:58pm

    Yes!  Please add support for pseudo elements 

  • Lucas Fabossi commented
    18 Jan, 2019 06:50pm

    +1

  • Adrien Olczak commented
    2 Dec, 2018 06:24am

    This has been 2 years now almost.

    Please.


  • Adrien Olczak commented
    2 Dec, 2018 06:23am

    +3

  • Toni HD commented
    22 Oct, 2018 04:21pm

    +1

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

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

  • Collette Smith commented
    18 Aug, 2018 07:21pm

    +1

  • Joe Million commented
    29 Jul, 2018 05:03pm

    Need.

  • Mazzy Bart commented
    24 Jul, 2018 04:11pm

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

  • Scott Stephens commented
    1 May, 2018 05:32pm

    This would be amazing!

  • Joe Million commented
    22 Mar, 2018 10:11am

    Needed!

  • Load older comments
  • and 463 more