CSS Layout - Most popular layouts and patterns that can be built with CSS | Product Hunt Embed
You can use the close button to represent the button for closing the notification.
<div style="
    display: flex;
    justify-content: space-between;
    <!-- Content -->

    <!-- Close button sticks to the right -->
Subscribe to the newsletter for the latest layouts or patterns. No spam. Ever!