
Vue or pure js
CodePudding user response:
Iview panel split this principle should be the same with you, you can changeCodePudding user response:
Made a, there is little problem, you see:
& lt; ! DOCTYPE html>
<meta charset="utf-8"/& gt;<style>
The box {
Height: 50 px;
Overflow: hidden;
Display: table - cell;
Margin: 0 auto;
padding: 0;
position: absolute;
top: 0;
Left: 0;
The font - size: 40 px;
text-align: center;
vertical-align: middle;
Color: white.
The text - shadow: 3 px 3 px 2 p # 333;
}
</style>
<body>