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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T22:49:14+00:00 2026-05-24T22:49:14+00:00

I am trying to create a box like below picture. This box will use

  • 0

I am trying to create a box like below picture.
This box will use for time and other two-digit numbers.

enter image description here

I putted my code here
I have some problems and questions:

  • Boxes in picture seems have two-color borders. outside is a color (color=”#706f6f”) and inside like shadow . with what technique I can create this inside border? Is this CSS3 effect ?
  • I think my code style classification is not good.would you please help me to make it better?
  • I don’t know where should I put colons(:) between days hours mins and secs ?
  • Last question is where is better to putt texts under boxes ? (DAYS , HOURS , MINS , SECS) Is it better to put them in separate Div container ?
  • 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-24T22:49:15+00:00Added an answer on May 24, 2026 at 10:49 pm

    See this demo fiddle.

    1. You can add an inset shadow with CSS, but that is all. Like the already given answers and comments say, you might want to consider using a background image.
    2. There is nothing wrong with your syntax, but it indeed could need a little refresh 😉
    3. You always have to write your markup like there is no style sheet. So the colons are placed between the labels and the corresponding digits.
    4. See 3.

    The markup now shows like:

    <div id="digits">
        <p>Days<span class="colon">: </span><span class="digits">10</span></p>
        <p>Hours<span class="colon">: </span><span class="digits">00</span></p>
        <p>Mins<span class="colon">: </span><span class="digits">00</span></p>
        <p>Secs<span class="colon last">: </span><span class="digits">00</span></p>
    </div>
    

    You could narrow it down to this:

    <div id="digits">
        <p>Days<span>: </span><span>10</span></p>
        <p>Hours<span>: </span><span>00</span></p>
        <p>Mins<span>: </span><span>00</span></p>
        <p>Secs<span class="last">: </span><span>00</span></p>
    </div>
    

    Tweak it a bit further as you like.

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

Sidebar

Related Questions

i am trying to create an input box like below These are the rules
I'm trying to create a EditText box, like below which has a image on
I am trying to create a dialog box that will appear only if the
I am trying to create a table in which the border will appear like
I am trying to create a new node type like this: http://www.live-wtr.ru/leo/Tikz9.png but don't
I'm trying to figure out how to use AJAX to create a Twitter-like feed
I am trying to create something like this: This example creates view using a
I am trying to create a simple search box that results in something like
I am trying to create layout like this In the QT i created widgets
im trying to create a horizontal scrolling box to create a timeline effect... but

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.