Forums

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

Home Forums CSS how to write a shorthand for border:

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24189
    jitendra
    Participant

    I can write a shorthand for other elements efficiently. but this is confusing me

    Code:
    border-top:none;
    border-right:1px solid #BBB;
    border-bottom:1px solid #BBB;
    border-left:1px solid #BBB;

    i made this

    Code:
    border:0 1px 1px 1px solid #BBB;

    but it not works.

    #53923
    Rob MacKay
    Participant
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.