Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS border opacity

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27574
    kloy
    Member

    Is it possible to control opacity of borders?

    #69538
    dcp3450
    Participant

    Don’t think you can change the opacity of a border. however you could use css or jquery to set the opacity of a div then center another div inside that one. it would give the illusion of a border.

    #115342
    Farzanmc
    Member

    You can use rgba color instead of hexadecimal color for the border-color :
    border : solid 1px rgba(0,0,0,0.5); instead of border : solid 1px #000000;

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘border opacity’ is closed to new replies.