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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T13:25:45+00:00 2026-06-08T13:25:45+00:00

I have different widths for borders applied to a div , and only Firefox

  • 0

I have different widths for borders applied to a div, and only Firefox shows thin seams when the div is rotated to any angle using CSS3 Transition Rotate. These thin seams change slightly depending on angle.

If the borders are the same width, Firefox behaves nicely.

The div is not using an image, just a colored background, but the content seems irrelevant for the border of different widths issue I’m having.

Unfortunately the area behind the border is going to be reserved so I’m not able to use another div as a wrapper.

Here’s a jsFiddle of an example to be seen in Firefox that has this issue. There are no issues in Chrome.

Status Update: Updated jsFiddle to show border-style prior to border-color per CSS rule but no change.

I wonder if this issue is because border-image property, which I am not using, allows up to eight images, one for each border slice. That said, if there were border-corner-color properties then that would solve the issue when using Rotate.

  • 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-08T13:25:47+00:00Added an answer on June 8, 2026 at 1:25 pm

    I have made a solution using :before in CSS: jsFiddle example.

    I added this code:

    #thinLinesInFirefox:before {
        content: '';
        display: block;
        width: 201px;
        height: 201px;
        position: absolute;
        top: -105px;
        left: -120px;
        border-top:    104px;
        border-right:  110px;
        border-bottom: 115px;
        border-left:   119px;
    
        /* Define border-style before border-class per CSS rule. */    
        border-style: solid;
    
        /* Define boder-color */
        border-color: black;
    
        z-index: -1;
    }
    

    Basically, it overlays the same square using :before, except I have decreased the border-top and border-left by 1 pixel, and then increased the width and height by 1 pixel so that the ‘real’ div underneath appears to be the same size.

    Because of the different borders, the seams are in slightly different positions, so what is underneath doesn’t show.

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

Sidebar

Related Questions

Does anyone have any idea why I get different line widths on the canvas
I want to have an inner div that sites inside different sized container divs,
I have three different tables that have the exact same style rules applied to
I have a table with lots of different columns, like resolution, brightness, type, width,
I have different Bundles: MainBundle (Homepage), SecurityBundle (Login, Registration), MessageBundle (Message System), ShopBundle. I
I have different values in different classes. I need to insert them in the
I have different blocks of 34 threads each (0...33). I need to find a
I have different php output in jQuery-based tabs. This output is formed from database
I have different urls that points to the same code www.url1.com www.url2.com I need
I have different projects written in .NET 3.5 and some unit test projects to

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.