Version:

    Border width properties

    Set the border width on an element.

    Border width top, bottom, left and right

    Set the border width of each side individually using TopBottomLeft and Right.

    Expected value:

    • Enter a number (Negative values are not accepted)
    • Enter a keyword - thin, medium, thick (Browsers may render these widths differently)

    Accepted units:

    You can leave blank or specify a unit to be used.

    • blank - Enter a number and the value will be interpreted as pixels
    • px - The value will be applied in pixels

    Note: Additional units are accepted. For more information see https://www.w3schools.com/cssref/css_units.asp

    Border width equal

    Set the border width on all sides of an element. Equal width and individual side widths can be used together. An individual side width will override the equal width on that side.

    Expected value:

    • Enter a number (Negative values are not accepted)
    • Enter a keyword - thin, medium, thick (Browsers may render these widths differently)

    Accepted units:

    You can leave blank or specify a unit to be used.

    • blank - Enter a number and the value will be interpreted as pixels
    • px - The value will be applied in pixels

    Note: Additional units are accepted. For more information see https://www.w3schools.com/cssref/css_units.asp

    Find more information at https://developer.mozilla.org/en-US/docs/Web/CSS/border-width

    Border width block-start, block-end, inline-start, inline-end

    Set the physical border to which it maps depends on the element's writing mode, directionality, and text orientation.

    Expected value:

    • Enter a number (Negative values are not accepted)
    • Enter a keyword - thin, medium, thick (Browsers may render these widths differently)

    Accepted units:

    You can leave blank or specify a unit to be used.

    • blank - Enter a number and the value will be interpreted as pixels
    • px - The value will be applied in pixels

    Note: Additional units are accepted. For more information see https://www.w3schools.com/cssref/css_units.asp

    Find more information at https://developer.mozilla.org/en-US/docs/Web/CSS/border-block-start

    DX8 knowledge base icon

    Frequently asked questions

    Get instant answers to common questions. Available online 24/7.

    Find answers

    Raise a ticket icon

    Raise a support ticket

    To raise a ticket, sign into Acquia Cloud and select Help in the top menu.

    Raise support ticket

    Acquia

    Copyright © 2020 Acquia, Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.