I want to show a div named dot-menu when hover the after content of h1. I have tried the following code but did't work.
h1{
    font-size: 20px;
    font-weight: 400;
    color: #3d3d3d;
    margin-top:50px
}
 h1:after{
    content: "\22EE";
    float: right;
    font-size: 35px;
    padding-right: 20px;
}
.dot-menu{
    float: right;
    background-color: #3d3d3d;
    color: #FFFFFF;
    font-size: 16px;
    padding: 10px;
    font-weight: 400;
    font-family: "Montserrat Light", "Open Sans";
    position: relative;
    top:-10px;
    opacity:0;
}
h1:after:hover .dot-menu{
    opacity:1;
}<h1>Henry Little</h1><h3 class="dot-menu">about</h3>  
     
     
    