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

  • Home
  • SEARCH
  • 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 8834705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T09:05:07+00:00 2026-06-14T09:05:07+00:00

Check out this screenshot: Is it possible, using only css(3), to get a border

  • 0

Check out this screenshot:

enter image description here

Is it possible, using only css(3), to get a border around a textfield that only wraps partially up each side?

  • 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-14T09:05:09+00:00Added an answer on June 14, 2026 at 9:05 am

    See the codepen: here

    <div class="wrapper">
      <input type="text" placeholder="text field">
    </div>
    
    <div class="wrapper">
     <input type="text" placeholder="Another one">
    </div>
    

    with the following CSS:

    * {
    
       box-sizing: border-box;
    
    }
    
    
    body {
    
      background: #dfdfdf;
    
    }
    
    
    input {
    
      width: 250px;
      text-transform: uppercase;
      position: relative;
      background: #dfdfdf;
      color: #444;
      padding: 5px;
      border: 0;
      outlne: none;
      display: block;
    
    }
    
    input:focus {
    
        outline:none;
    
    }
    
    
    .wrapper {
    
      position: relative;
      left: 50%;
      margin-left: -125px;
      margin-top: 50px;
      width: 250px;
      border-bottom: 1px solid #888;
    
    }
    
    
    .wrapper:before {
    
      width: 1px;
      height: 5px;
      background-color: #888;
      content: " ";
      display: block;
      position: absolute;
      bottom: 0px;
      left: -1px;
    
    }
    
    .wrapper:after {
    
      width: 1px;
      height: 5px;
      background-color: #888;
      content: " ";
      display: block;
      position: absolute;
      bottom: 0px;
      right: 0px;
    
    }
    
    .wrapper:hover::after, .wrapper:hover::before {
    
        background: #57B8D6;
        width: 2px;
    
    }
    
    .wrapper:hover::after {
    
        right: 0px;
    
    }
    
    .wrapper:hover::before {
    
        left: 0px;
    
    }
    
    .wrapper:before {
    
        left: 0px;
        z-index: 100;
    
    }
    
    .wrapper:hover {
    
        border-bottom: 2px solid #57B8D6;
        margin-top: 50px;
        margin-left: -125px;
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Check out this jsbin . I have a form with a custom button that
Check out this demo by FaTaL. It is explained in his blog that he
Possible Duplicate: White space at bottom of anchor tag Check out this sample page
Check out this jsfiddle . I'm using the nested sortable plugin, but for some
Check out this link: http://humorjots.com/Barry/BarryWashington.htm The part in the script that says: if(emailInput.value !=
Check out my screenshot. Some text gets cut off: This is what the row.xml
So, check out this screenshot of a page I'm working on in Chrome Developer
Check out this web page: http://dev.driz.co.uk/attachment.html dead link As you will see you get
Check out this piece of JavaScript code: (function (w, d) { var loader =
Could you please check out this piece of code: #include <vector> class A {

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.