Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8723525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:39:03+00:00 2026-06-13T07:39:03+00:00

As a practice (not sure if it’s good), but I’ve been adding a .last

  • 0

As a practice (not sure if it’s good), but I’ve been adding a .last to lists of things wherein I need to select the last item. I do this because I am not confident about how :last-child will work across browsers.

Do I need to worry about this in Bootstrap? Or was I wrong to worry about it in the first place?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T07:39:04+00:00Added an answer on June 13, 2026 at 7:39 am

    There is no :last pseudo-class in css. You may be thinking of the :last-child pseudo-class, which is supported in IE8 and up, as well as all modern versions of Chrome, Firefox, and Safari, as well as modern mobile browsers.

    Twitter Bootstrap was made as a starting point, and so long as IE7 support is not a concern, using pseudo-classes like :last-child is safe. Be sure to reference the specific pseudo classes browser support though. Here’s a nice list: http://net.tutsplus.com/tutorials/html-css-techniques/the-30-css-selectors-you-must-memorize/

    EDIT: I had first-child and last-child mixed up, last-child is ie9 and up.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am not sure if this is 'good python practice', but would it be
I am not sure if this is good programming practice, but I would like
I'm not sure why but I haven't really been able to find the right
Not sure if it's a best practice, but we wish to have a menu
I'm not sure if this has been asked or not yet, but how much
I'm faced with the following and I'm not sure what's best practice. Consider the
Just wondering if the following is considered to be good programming practice or not?
I know this sort of code is not best practice, but nevertheless in certain
Is it good practice to set all text fields to nvarchar(MAX)? if im not
I have been using dean edwards ie7/8 script . Not sure if it's my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.