Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Hides the Bubble on the Message Box opening.
  • Loading branch information
cara-tm committed Sep 10, 2017
1 parent 1f67217 commit bce7468
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 5 additions & 0 deletions css/message-box.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
animation: fade-in-pulse-08 .3s forwards cubic-bezier(.8,.02,.45,.91)
}

/**
* Hide the bubble on message box open
*/
.modal-dialog:target ~ .wrapper .bubble{display:none}

/*
* Use of zero as prefix with decimal
* values for older webkit browsers.
Expand Down
7 changes: 0 additions & 7 deletions message-box.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,14 +192,7 @@ <h1>Hi</h1>
<h2>Modal Box</h2>

<p>This is a sample modal box that can be created using the powers of CSS3.</p>
<p>You could do a lot of things here like have a pop-up ad that shows when your website loads, or create a login/register form for users.</p>

<p>This is a sample modal box that can be created using the powers of CSS3.</p>
<p>You could do a lot of things here like have a pop-up ad that shows when your website loads, or create a login/register form for users.</p>

<p>This is a sample modal box that can be created using the powers of CSS3.</p>
<p>You could do a lot of things here like have a pop-up ad that shows when your website loads, or create a login/register form for users.</p>


</div> <!-- /inner-dialog -->

Expand Down

0 comments on commit bce7468

Please sign in to comment.