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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T07:36:31+00:00 2026-06-09T07:36:31+00:00

here is design of my button (different backgrounds for example, zoom ~1500% and actual

  • 0

here is design of my button (different backgrounds for example, zoom ~1500% and actual size). how can i do it with single element and some css3, or minimum of additional elements? css guru, anyone?

http://ompldr.org/vZjBudQ/button.png

  • 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-09T07:36:34+00:00Added an answer on June 9, 2026 at 7:36 am

    HTML

    <a href="#" class="button"></a>​
    

    CSS

    .button {
        position: relative;
        z-index: 1;
        display: block;
        width: 22px;
        height: 22px;
        background: -webkit-linear-gradient(#f5f0ee, #e7ddd7);
        background: -ms-linear-gradient(#f5f0ee, #e7ddd7);
        background: -moz-linear-gradient(#f5f0ee, #e7ddd7);
        background: linear-gradient(#f5f0ee, #e7ddd7);
        border: 1px solid #c0b9b3;
        border-radius: 3px;
        box-shadow: inset 0px 1px #fcfbfb, 0px 1px rgba(0, 0, 0, 0.3);
    }
    
    .button:before {
        content: "";
        position: absolute;
        left: -4px;
        top: -4px;
        z-index: -1;
        padding: 4px;
        width: 22px;
        height: 22px;
        background: -webkit-linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
        background: -ms-linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
        background: -moz-linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
        background: linear-gradient(#f5f0ee, #e7ddd7);
        border-radius: 3px;
        box-shadow: 0px 1px rgba(255, 255, 255, 0.3);
    }
    

    JSFiddle.

    I think the only thing I couldn’t get was the border with gradient.

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

Sidebar

Related Questions

Updated Problem solved, I have some design problem here. The directory looks like that:
There's some really great code for a glass button here: http://www.lukesw.net/articles/GlassButton.aspx The only trouble
I tried to make a navigation inline list. You can find it here: http://www.luukratief-design.nl/dump/parallax/para.html
Using Fluent Interface design here if i call something like dog.Train(Running).Train(Eating).Do(Running).Do(Eating); what is the
Im having a big headcache with a header design: Here the demo: http://jsfiddle.net/uGECm/ The
I have posted a question about multilanguage database design here, [] What are best
oo design basics here... Edit: To clarify after first answer - I'm not asking
Small design question here. I'm trying to develop a calculation app in C#. I
Here is the design for the shot i have posted : <div id=site_content> <div
Question over here is are design patterns specific to a programming language or technology,

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.