Note that there are some explanatory texts on larger screens.

plurals
  1. POAdding 3 different buttons on to a semi-transparent area
    primarykey
    data
    text
    <p>I need help to </p> <ol> <li><p>How can I add two more image buttons inside the semi transparent area (<code>&lt;figcaption&gt;</code>) and all 3 buttons to be vertically centered and distributed equally inside the semi transparent area?</p></li> <li><p>The button I've added seems to be semi-transparent (same as the <code>&lt;figcaption&gt;</code> opacity). I need the buttons to be <code>opacity:1;</code>?</p></li> </ol> <p>This is the code:</p> <pre><code>&lt;div class="container demo-2"&gt; &lt;ul class="grid cs-style-2"&gt; &lt;li&gt; &lt;figure&gt; &lt;gt_descA&gt;Chair&lt;/gt_descA&gt; &lt;gt_descC&gt;$87.34&lt;/gt_descC&gt; &lt;img src="imagez/designs/thumbs/0/01.jpg" alt="img02"&gt; &lt;figcaption&gt; &lt;a href="index.html" onClick=""&gt;&lt;span class="hint hint--top hint--rounded" data-hint="Zoom Image"&gt;&lt;img src="additional/buttons/bu_zoom.jpg"&gt;&lt;/img&gt;&lt;/span&gt;&lt;/a&gt; &lt;/figcaption&gt; &lt;/figure&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </code></pre> <p>CSS</p> <pre><code>.grid { padding: 70px 20px 100px 20px; max-width: 1300px; margin: 0 auto; list-style: none; text-align: center; } .grid li { display: inline-block; width: 234px; margin: 0; padding: 20px; text-align: left; position: relative; } .grid figure { margin: 0; position: relative; } .grid figure img { max-width: 100%; display: block; position: relative; } .grid figcaption { position: absolute; top: 0; left: 0; padding: 20px; background: #000; color: #ed4e6e; opacity:0; } /*button*/ .grid figcaption a { display: inline-block; } /* Caption Style*/ .cs-style-2 figure figcaption { z-index: 10; -webkit-transition: -webkit-transform 0.4s; -moz-transition: -moz-transform 0.4s; transition: transform 0.4s; } .no-touch .cs-style-2 figure:hover figcaption, .cs-style-2 figure.cs-hover figcaption { -webkit-transform: translateY(0px); -moz-transform: translateY(0px); -ms-transform: translateY(0px); transform: translateY(0px); opacity:0.6; } .cs-style-2 figcaption { height: 24px; width: 187px; top: auto; bottom: 0px; } .cs-style-2 figcaption a { position: absolute; right: 20px; top: 30px; } @media screen and (max-width: 31.5em) { .grid { padding: 10px 10px 100px 10px; } .grid li { width: 100%; min-width: 234px; } } </code></pre>
    singulars
    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. 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