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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:48:35+00:00 2026-06-15T09:48:35+00:00

Like many front-end devs, I’ve been using the border trick to render triangles in

  • 0

Like many front-end devs, I’ve been using the border trick to render triangles in CSS.
http://apps.eky.hk/css-triangle-generator/ this generator helps with the technique.

Today, the Firefox team released a new version without any clear changelog on the rendering engine.

Now we can see an ungraceful gray border around those triangles. I haven’t found a trick to get rid of it yet.
edit : it’s easier to see if you force the “chess-like transparent” background to something like “green”

On top of that, before Firefox 17, when people were complaining about how aliased those triangles looked, an additional trick was to set the border-style property to “dashed” instead of solid.

Using firebug on the triangle generator, you can quickly see how it shows up now.

Does anyone know a fix for this?

edit : using border-style:inset as suggested renders a lighter color on my FF17

  • 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-15T09:48:36+00:00Added an answer on June 15, 2026 at 9:48 am

    Ok here is the best solution I have so far :

    get the rgb value of your triangle, and use this as a 0 opacity rgba instead of “transparent” for the opposing borders of your triangle.

    Keeping the old syntax “transparent”-based will work as a fallback for IE8

    that ends up with something like this :

    border-color: transparent transparent transparent #ffffff;
    border-color: rgba(255,255,255,0) rgba(255,255,255,0) rgba(255,255,255,0) #ffffff;
    

    as said in replies : setting the border-style to “inset” as suggested alters the color on FF17.

    I hope somebody will find a simpler solution, or that this post will help other people.

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

Sidebar

Related Questions

I'm using CVS on Windows (with the WinCVS front end), and would like to
Like many variables in PHP using ini_set() on a page doesn't actually work. I've
I'm a front end developer who's recently started using IntelliJ Idea for JS development.
I have a front-end Access 2007 database connecting to MySql tables using MySQL ODBC
Our front-end MVC3 web application is using AsyncController, because each of our instances is
I have an svn repo, and I'd like to use Mercurial as a front-end
I'm not a command line person by any means. I have been a front-end
Like many others Knockout developers before me, I encountered a slow running script warning
Like many people here, I started my programming experience with the good ol' green
Like many programmers, I'm prone to periodic fits of inspiration wherein I will suddenly

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.