Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>First, you should adjust your html to include a list as follows (notice I also added id attributes): </p> <pre><code>&lt;ul&gt; &lt;li&gt;&lt;a href="#" class="button" id="profile-btn"&gt; Profile &lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#" class="button" id="privacy-btn"&gt; Privacy &lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#" class="button" id="services-btn"&gt; Services &lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#" class="button" id="avatar-btn"&gt; Avatar &lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#" class="button" id="language-btn"&gt; Language &lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </code></pre> <p>Then, to add the image use the following css:</p> <pre><code> a#profile-btn { background-image:url(/image_path/profile.png); } a#privacy-btn { background-image:url(/image_path/privacy.png); } a#services-btn { background-image:url(/image_path/services.png); } a#avatar-btn { background-image:url(/image_path/avatar.png); } a#language-btn { background-image:url(/image_path/language.png); } </code></pre> <p>And finally the rounded borders:</p> <pre><code>ul {list-style:none;} ul li:first-child a { -moz-border-radius-topleft: 25px; -moz-border-radius-topright: 25px; -webkit-border-radius-topleft:25px; -webkit-border-radius-topright:25px; border-top-right-radius:25px; border-top-left-radius:25px; } ul li:last-child a { -moz-border-radius-bottomleft: 25px; -moz-border-radius-bottomright: 25px; -webkit-border-radius-bottomleft:25px; -webkit-border-radius-bottomright:25px; border-bottom-right-radius:25px; border-bottom-left-radius:25px; } </code></pre> <p>EDIT: This code is intended to work with all your other provided css, as long as you replace the HTML as shown.</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.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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