Put a <div>
around the markup where you want the line to appear to next, and use CSS to style it:
.verticalLine {
border-left: thick solid #ff0000;
}
<div class="verticalLine">
some other content
</div>
More Related Contents:
- Bold tag breaking the divs?
- Font Awesome 5 on pseudo elements shows square instead of icon
- Center image horizontally within a div
- Bootstrap 4: Multilevel Dropdown Inside Navigation
- Can you target with css?
- Why can’t be flex containers?
- Prevent flex items from rendering side to side
- How can I find unused images and CSS styles in a website? [duplicate]
- How to increase space between dotted border dots
- How can I make all images of different height and width the same via CSS?
- How to center nav-items in Bootstrap? [duplicate]
- Fonts on the Web [duplicate]
- How to horizontally center an unordered list of unknown width?
- space between divs – display table-cell
- Height Calculation By Browsers : Containing Blocks and Children
- Get input type=text to look like type=password
- How to display text, a dotted line then more text spanning the width of the page?
- How can I apply a border only inside a table?
- What does the clearfix class do in css? [duplicate]
- Center image in div horizontally [duplicate]
- Add spacing between vertically stacked columns in Bootstrap 4
- HTML — Two Tables Horizontally Side by Side
- Draw double curved item with beveled edges
- How to center an unordered list?
- Center a large image of unknown size inside a smaller div with overflow hidden
- How to change border color of textarea on :focus
- Change the color of glyphicons to blue in some- but not at all places using Bootstrap 2
- Is there any way to add padding to select options via CSS?
- CSS Selector for No-Children-But-Not-Empty
- How to center and crop an image to always appear in square shape with CSS?