<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <body class="home"> <div class="popup main">main</div> <div class="popup">another</div> </body> Run code snippetHide results