- CSS Tutorial
- CSS - Home
- CSS - Introduction
- CSS - Syntax
- CSS - Selectors
- CSS - Inclusion
- CSS - Measurement Units
- CSS - Colors
- CSS - Backgrounds
- CSS - Fonts
- CSS - Text
- CSS - Images
- CSS - Links
- CSS - Tables
- CSS - Borders
- CSS - Border Block
- CSS - Border Inline
- CSS - Margins
- CSS - Lists
- CSS - Padding
- CSS - Cursor
- CSS - Outlines
- CSS - Dimension
- CSS - Scrollbars
- CSS - Inline Block
- CSS - Dropdowns
- CSS - Visibility
- CSS - Overflow
- CSS - Clearfix
- CSS - Float
- CSS - Arrows
- CSS - Resize
- CSS - Quotes
- CSS - Order
- CSS - Position
- CSS - Hyphens
- CSS - Hover
- CSS - Display
- CSS - Focus
- CSS - Zoom
- CSS - Translate
- CSS - Height
- CSS - Hyphenate Character
- CSS - Width
- CSS - Opacity
- CSS - Z-Index
- CSS - Bottom
- CSS - Navbar
- CSS - Overlay
- CSS - Forms
- CSS - Align
- CSS - Icons
- CSS - Image Gallery
- CSS - Comments
- CSS - Loaders
- CSS - Attr Selectors
- CSS - Combinators
- CSS - Root
- CSS - Box Model
- CSS - Counters
- CSS - Clip
- CSS - Writing Mode
- CSS - Unicode-bidi
- CSS - min-content
- CSS - All
- CSS - Inset
- CSS - Isolation
- CSS - Overscroll
- CSS - Justify Items
- CSS - Justify Self
- CSS - Tab Size
- CSS - Pointer Events
- CSS - Place Content
- CSS - Place Items
- CSS - Place Self
- CSS - Max Block Size
- CSS - Min Block Size
- CSS - Mix Blend Mode
- CSS - Max Inline Size
- CSS - Min Inline Size
- CSS - Offset
- CSS - Accent Color
- CSS - User Select
- CSS Advanced
- CSS - Grid
- CSS - Grid Layout
- CSS - Flexbox
- CSS - Visibility
- CSS - Positioning
- CSS - Layers
- CSS - Pseudo Classes
- CSS - Pseudo Elements
- CSS - @ Rules
- CSS - Text Effects
- CSS - Paged Media
- CSS - Printing
- CSS - Layouts
- CSS - Validations
- CSS - Image Sprites
- CSS - Important
- CSS - Data Types
- CSS3 Tutorial
- CSS3 - Tutorial
- CSS - Rounded Corner
- CSS - Border Images
- CSS - Multi Background
- CSS - Color
- CSS - Gradients
- CSS - Box Shadow
- CSS - Box Decoration Break
- CSS - Caret Color
- CSS - Text Shadow
- CSS - Text
- CSS - 2d transform
- CSS - 3d transform
- CSS - Transition
- CSS - Animation
- CSS - Multi columns
- CSS - Box Sizing
- CSS - Tooltips
- CSS - Buttons
- CSS - Pagination
- CSS - Variables
- CSS - Media Queries
- CSS - Functions
- CSS - Math Functions
- CSS - Masking
- CSS - Shapes
- CSS - Style Images
- CSS - Specificity
- CSS - Custom Properties
- CSS Responsive
- CSS RWD - Introduction
- CSS RWD - Viewport
- CSS RWD - Grid View
- CSS RWD - Media Queries
- CSS RWD - Images
- CSS RWD - Videos
- CSS RWD - Frameworks
- CSS References
- CSS - Questions and Answers
- CSS - Quick Guide
- CSS - References
- CSS - Color References
- CSS - Web browser References
- CSS - Web safe fonts
- CSS - Units
- CSS - Animation
- CSS Resources
- CSS - Useful Resources
- CSS - Discussion
CSS - border-block-end-style Property
The logical block-end border style of an element is defined by the border-block-end-style CSS property. Based on the writing mode, directionality, and text orientation of the element, this logical border matches a physical border style.
The values given for writing-mode, direction and text-orientation attributes define the actual border-top-style, border-right-style, or border-left-style.
The additional border styles of the element are defined by related attributes border-block-start-style, border-inline-start-style, and border-inline-end-style.
Possible values
<'border-style'> - The line style of the border.
Syntax
border-block-end-style = <line-style>
Applies to
All the HTML elements.
CSS border-block-end-style - None Style
The following example demonstrates the usage of border-block-end-style property with none style value.
<html> <head> <style> .container { background-color: #d1e3ff; width: 350px; height: 350px; display: flex; align-items: center; justify-content: center; border-radius: 10px; } .demo-border { border-block-end-style: none; border-block-end-width: 8px; padding: 10px; margin: 10px; font-size: 20px; font-weight: bold; color: #333; } </style> </head> <body> <div class="container"> <p class="demo-border">This is a border-block-end-style example with none style.</p> </div> </body> </html>
CSS border-block-end-style - Hidden Style
The following example demonstrates the usage of border-block-end-style property with hidden style value.
<html> <head> <style> .container { background-color: #f3ffd1; width: 350px; height: 350px; display: flex; align-items: center; justify-content: center; border-radius: 10px; } .demo-border { border-block-end-style: hidden; border-block-end-width: 8px; padding: 10px; margin: 10px; font-size: 20px; font-weight: bold; color: #333; } </style> </head> <body> <div class="container"> <p class="demo-border">This is a border-block-end-style example with hidden style.</p> </div> </body> </html>
CSS border-block-end-style - Dotted Style
The following example demonstrates the usage of border-block-end-style property with dotted style value.
<html> <head> <style> .container { background-color: #99e0f2; width: 350px; height: 350px; display: flex; align-items: center; justify-content: center; border-radius: 10px; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2); } .demo-border { border: 3px solid grey; border-block-end-style: dotted; border-block-end-width: 6px; border-block-end-color: #0e58c7; margin: 10px; padding: 10px; font-size: 20px; font-weight: bold; color: #333; } </style> </head> <body> <div class="container"> <p class="demo-border">This is border-block-end-style property example with dotted style</p> </div> </body> </html>
CSS border-block-end-style - Dashed Style
The following example demonstrates the usage of border-block-end-style property with dashed style value.
<html> <head> <style> .container { background-color: #acf2bb; width: 350px; height: 350px; display: flex; align-items: center; justify-content: center; border-radius: 10px; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2); } .demo-border { border: 3px solid grey; border-block-end-style: dashed; border-block-end-width: 6px; border-block-end-color: #069e27; margin: 10px; padding: 10px; font-size: 20px; font-weight: bold; color: #333; } </style> </head> <body> <div class="container"> <p class="demo-border">This is border-block-end-style property example with dashed style</p> </div> </body> </html>
CSS border-block-end-style - Solid Style
The following example demonstrates the usage of border-block-end-style property with solid style value.
<html> <head> <style> .container { background-color: #e8f0c7; width: 350px; height: 350px; display: flex; align-items: center; justify-content: center; border-radius: 10px; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); } .demo-border { border: 3px dashed grey; border-block-end-style: solid; border-block-end-width: 6px; border-block-end-color: #8ba808; margin: 10px; padding: 10px; font-size: 20px; font-weight: bold; color: #333; } </style> </head> <body> <div class="container"> <p class="demo-border">This is border-block-end-style property example with solid style</p> </div> </body> </html>
CSS border-block-end-style - Double Style
The following example demonstrates the usage of border-block-end-style property with double style value.
<html> <head> <style> .container { background-color: #f1f2eb; width: 350px; height: 350px; display: flex; align-items: center; justify-content: center; border-radius: 10px; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); } .demo-border { border: 3px dashed #3b1a02; border-block-end-style: double; border-block-end-width: 10px; border-block-end-color: #ba5609; margin: 10px; padding: 10px; font-size: 20px; font-weight: bold; color: #333; } </style> </head> <body> <div class="container"> <p class="demo-border">This is border-block-end-style property example with double style</p> </div> </body> </html>
CSS border-block-end-style - Groove Style
The following example demonstrates the usage of border-block-end-style property with groove style value.
<html> <head> <style> .container { background-color: #f2f2d3; width: 350px; height: 350px; display: flex; align-items: center; justify-content: center; border-radius: 10px; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); } .demo-border { border: 3px solid #3b1a02; border-block-end-style: groove; border-block-end-width: 10px; border-block-end-color: #babd0b; margin: 10px; padding: 10px; font-size: 20px; font-weight: bold; color: #333; } </style> </head> <body> <div class="container"> <p class="demo-border">This is border-block-end-style property example with groove style</p> </div> </body> </html>
CSS border-block-end-style - Ridge Style
The following example demonstrates the usage of border-block-end-style property with ridge style value.
<html> <head> <style> .container { background-color: #f0e0c7; width: 350px; height: 350px; display: flex; align-items: center; justify-content: center; border-radius: 10px; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); } .demo-border { border: 3px dashed #3b1a02; border-block-end-style: ridge; border-block-end-width: 10px; border-block-end-color: #d6880b; margin: 10px; padding: 10px; font-size: 20px; font-weight: bold; color: #333; } </style> </head> <body> <div class="container"> <p class="demo-border">This is border-block-end-style property example with ridge style</p> </div> </body> </html>
CSS border-block-end-style - Inset Style
The following example demonstrates the usage of border-block-end-style property with inset style value.
<html> <head> <style> .container { background-color: #eef5c6; width: 350px; height: 350px; display: flex; align-items: center; justify-content: center; border-radius: 10px; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); } .demo-border { border: 3px dashed #3b1a02; border-block-end-style: inset; border-block-end-width: 8px; border-block-end-color: #a7c404; margin: 10px; padding: 10px; font-size: 20px; font-weight: bold; color: #333; } </style> </head> <body> <div class="container"> <p class="demo-border">This is border-block-end-style property example with inset style</p> </div> </body> </html>
CSS border-block-end-style - Outset Style
The following example demonstrates the usage of border-block-end-style property with outset style value.
<html> <head> <style> .container { background-color: #a0e8a4; width: 350px; height: 350px; display: flex; align-items: center; justify-content: center; border-radius: 10px; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); } .demo-border { border: 3px dashed #3b1a02; border-block-end-style: outset; border-block-end-width: 8px; border-block-end-color: #07e312; margin: 10px; padding: 10px; font-size: 20px; font-weight: bold; color: #333; } </style> </head> <body> <div class="container"> <p class="demo-border">This is border-block-end-style property example with outset style</p> </div> </body> </html>
To Continue Learning Please Login
Login with Google