:::demo Use attribute `content` to set the display content when hover. The attribute `placement` determines the position of the tooltip. Its value is `[orientation]-[alignment]` with four orientations `top`, `left`, `right`, `bottom` and three alignments `start`, `end`, `null`, and the default alignment is null. Take `placement="left-end"` for example, Tooltip will display on the left of the element which you are hovering and the bottom of the tooltip aligns with the bottom of the element.
:::demo Use attribute `content` to set the display content when hover. The attribute `placement` determines the position of the tooltip. Its value is `[orientation]-[alignment]` with four orientations `top`, `left`, `right`, `bottom` and three alignments `start`, `end`, `null`, and the default alignment is null. Take `placement="left-end"` for example, Tooltip will display on the left of the element which you are hovering and the bottom of the tooltip aligns with the bottom of the element.
```html
```html
<style>
.box{
width:400px;
.top{
text-align:center;
}
.left{
float:left;
width:110px;
}
.right{
float:right;
width:110px;
}
.bottom{
clear:both;
text-align:center;
}
.item{
margin:4px;
}
.left.el-tooltip__popper,
.right.el-tooltip__popper{
padding:8px10px;
}
.el-button{
width:110px;
}
}
</style>
<divclass="box">
<divclass="box">
<divclass="top">
<divclass="top">
<el-tooltipclass="item"effect="dark"content="Top Left prompts info"placement="top-start">
<el-tooltipclass="item"effect="dark"content="Top Left prompts info"placement="top-start">