Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to make this CSS to be in the middle?
    primarykey
    data
    text
    <p>I have a problem with the CSS that I found on google.com at the moment in trying to turn out this CSS results are not going to the middle .. I try to edit the CSS but still can not,,, maybe because of my knowledge of CSS is less ..</p> <p>Its this HTML.</p> <pre><code>&lt;div class='menu'&gt; &lt;a href='clearsessions.php'&gt;&lt;span&gt;Home&lt;/span&gt;&lt;/a&gt; &lt;a href='#'&gt;&lt;span&gt;Blog&lt;/span&gt;&lt;/a&gt; &lt;a href='#'&gt;&lt;span&gt;Buy Followers&lt;/span&gt;&lt;/a&gt; &lt;a href='#'&gt;&lt;span&gt;Contact&lt;/span&gt;&lt;/a&gt; &lt;/div </code></pre> <p>CSS</p> <pre><code>.menu:after, .menu:before { margin-top:0.5em; content: ""; float:left; border:1.5em solid rgba(0, 159, 234, 0.3 );} .menu:after { border-right-color:transparent;} .menu:before { border-left-color:transparent; } .menu a:link, .menu a:visited { color:#fff; text-decoration:none; float:left; height:3.5em; overflow:hidden;} .menu span { background:rgba(0, 159, 234, 0.3 ); display:inline-block; line-height:3em; padding:0 1em; margin-top:0.5em; position:relative; -webkit-transition: background, margin 0.2s; -moz-transition: background, margin 0.2s; -o-transition: background-color, margin-top 0.2s; transition: background, margin 0.2s; } .menu a:hover span { background:rgba(0, 159, 234, 0.5 ); margin-top:0; } .menu span:before { content: ""; position:absolute; top:3em; left:0; border-right:0.5em solid #9B8651; border-bottom:0.5em solid rgba(0, 159, 234, 0.3 ); } .menu span:after { content: ""; position:absolute; top:3em; right:0; border-left:0.5em solid #9B8651; border-bottom:0.5em solid rgba(0, 159, 234, 0.3 );} </code></pre> <p>Please Help,, :(</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload