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 6196141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:35:31+00:00 2026-05-24T03:35:31+00:00

Yo everyone My question is quite simple: I need to style the red border

  • 0

Yo everyone

My question is quite simple: I need to style the red border (or shadow?) of the inputs that couldn’t be validated (like email). Is there any new CSS trick to do that?

If you still don’t understand what I am telling you, then this is the color that needs changing:
enter image description here

  • 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-05-24T03:35:33+00:00Added an answer on May 24, 2026 at 3:35 am

    See https://developer.mozilla.org/en/CSS/%3Ainvalid for Firefox details, although presumably the parts without “-moz” apply to other browsers too:

    The :invalid CSS pseudo-class is applied automatically to <input>
    elements whose contents fail to validate according to the input’s type
    setting. This allows you to easily have invalid fields adopt an
    appearance that helps the user identify and correct errors.

    By default, Gecko does not apply a style to the :invalid pseudo-class.
    However it does apply a style (a red “glow” using the box-shadow
    property) to the :-moz-ui-invalid pseudo-class, which applies in a
    subset of cases for :invalid.

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

Sidebar

Related Questions

Hey everyone, got a quick question that I can't seem to find anything about...
Sorry in advance everyone for this question as I know the cascading select boxes
So my quick question to everyone is, would anyone be able to explain to
Now I do have a hw question for everyone...I've been staring at this for
A few days ago I posted this question and everyone suggested me to use
First question here so hello everyone. The requirement I'm working on is a small
This question is famous but everyone always says go to see this Notepad Tutorial
Hello and thanks to everyone for reading my question. I've been working on a
Hey everyone, here is the site in question: http://www.myvintagesecret.com/ I have a bunch of
This is my first question. Thanks to everyone who contributes to this site, it's

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.