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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:58:25+00:00 2026-05-29T05:58:25+00:00

Right now, our mockups / live demo use images to achieve this effect (including

  • 0

enter image description here

Right now, our mockups / live demo use images to achieve this effect (including button text). This is less than desirable for all of the standard reasons. I can get everything working except that pesky outer border. I’d really like to not add markup to my document just to have that.

I’ve got my test code on jsfiddle, although it doesn’t work as well there as it does on my local machine: http://jsfiddle.net/Axtjm/

tldr: how to add inset border like that and keep rounded corners without extra markup.

  • 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-29T05:58:26+00:00Added an answer on May 29, 2026 at 5:58 am

    Use an inset box-shadow. If you’re already using a box-shadow on your buttons, remember that you can stack box-shadows by using commas to separate each.

    button {
     border: 1px solid #369;
     box-shadow: inset 0 0 1px #fff, 1px 1px 2px #000;
    }
    

    The above is just an example; replace the values with your own if necessary. If you want a bolder inset shadow, you can also stack two insets of the same value to achieve that.

    Live example: http://jsfiddle.net/Axtjm/5/

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

Sidebar

Related Questions

Our applications use lot of custom built and third party libraries and right now
Right now when I run this it keeps clicking on the same button every
Right now, I'm using this to allow a file to be moved to our
Our restaurant menus are pretty boring right now and display in plain text format
We're trying to use the Facebook Authenticated Referrals feature on our website. Right now
So in our database right now, we can store text, and text only. So,
We have a script right now which our Windows users run on a Linux
Right now we have AD/Exchange to manage all of our users logins/e-mail on-site at
Our company has a project that right now uses nginx as a reverse proxy
I am taking a software engineering class right now. Our assignment is to evaluate

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.