draw a line with title in react
<html>
<head>
<style>
.draw-line:before {
content: "";
display: block;
background-color: black;
height: 1px;
width: 10px;
margin-right: 10px;
}
.draw-line:after {
content: "";
display: block;
background-color: black;
height: 1px;
flex-grow: 1;
margin-left: 10px;
}
.draw-line {
display: flex;
align-items: center;
}
</style>
</head>
<body>
<div class="draw-line">Title</div>
</body>
</html>
Also in JavaScript:
- using regex in javascript
- int to octal javascript
- $(...).autocomplete is not a function
- TypeError [ERR_INVALID_ARG_TYPE]: The "from" argument must be of type string. Received undefined at validateString (internal/validators.js:120:11)
- bootstrap in javascript
- isnan in javascript
- avoid compressing imagepicker react native
- splice()
- How to pass a map from controller to javascript function in VF page
- return array javascript
- nodejs cronjob
- jQuery Arrow Keys Binding Examples
- icon api node js to browser
- js check if variable is string
- nodejs include json file
- react native android padding style
- javscript send ajax request only if submit is valid
- append element javascript
- cannot find module @babel/compat-data/data/corejs3-shipped-proposals
- check if localstorage key exists js
- cypress disabled
- mongoose populate filter
- redirect javascript code
- js create object from array