Skip to content

Commit 4e86661

Browse files
author
Daniell Mesquita
committed
#17 Images: IMG.Caption
1 parent 748006e commit 4e86661

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

elements.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<link rel="icon" href="icon.png" />
66
<browsertab color="#CD5C5C">
77
<icon src="icon.svg">
8-
<title color="#CD5C5C">Framework.js Elements</title>
8+
<title color="#CD5C5C">Plasmmer UI Elements</title>
99
<meta name="pehtml" content="true">
1010
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
1111
<meta name="directory" content="rsc">
@@ -16,7 +16,7 @@
1616
<div class="content">
1717
<article>
1818
<nopehtml><blockquote style="background:#D6D6D6;border-top:1px solid #E7534F;border-bottom:1px solid #E7534F;border-left:10px solid #E7534F;border-right:10px solid #E7534F;border-radius:20px;margin:0 auto;text-align:center"><div style="margin-top: -7px;margin-left: 5px;width: 80px;height: 80px;clear: left;float: left"><img src="rsc/warning.svg" width="80px" height="80px"/></div><h1 style="font-size:40px;margin-top:-5px;margin-bottom:-1px">Aviso</h1><br>Seu navegador não suporta sites construídos em PEHTML. Isso significa que esse site não será exibido corretamente em seu atual navegador. <br><a href="../boat">Baixe o navegador Internet Boat</a> para experimentar todo o poder do PEHTML e aproveitar todos os recursos desse site.<br/><p>Don't know what is PEHTML? Learn <a href="https://developers.plasmmer.com/PEHTML" target="blank">here</a>.</p></blockquote></nopehtml>
19-
<p>After follow the <a href="index.html#instructions" target="blank">instructions</a>, here is the page for you start inserting elements to your page/app that uses the power of Framework.js!</p>
19+
<p>After follow the <a href="index.html#instructions" target="blank">instructions</a>, here is the page for you start inserting elements to your page/app that uses the power of Plasmmer UI Framework!</p>
2020
<h1>Popunders</h1><br/>
2121
<h4>Fullscreen</h4>
2222
<h6>Action to activate</h6>
@@ -61,6 +61,10 @@ <h6>Heading 6 <span class="badge">Badge</span></h6>
6161
&lt;h5&gt;Heading 5 &lt;span class="badge"&gt;Badge&lt;/span&gt;&lt;/h5&gt;
6262
&lt;h6&gt;Heading 6 &lt;span class="badge"&gt;Badge&lt;/span&gt;&lt;/h6&gt;
6363
&lt;p&gt;Paragraph &lt;span class="badge mini"&gt;Badge&lt;/span&gt;&lt;/p&gt;</textarea>
64+
<h1>Images</h1>
65+
<h4>IMG.Caption</h4>
66+
<div class="caption"><img class="caption" title="This is the image caption" src="https://placeholdit.imgix.net/~text?txtsize=43&bg=00A185&txtclr=7ECFC1&txt=400x350&w=400&h=350&fm=png" width="400" height="350"><span>This is the image caption</span></div><br/>
67+
<textarea onclick="this.focus();this.select()" readonly="readonly" style="margin:6px 41px;width: 392px;height: 44px;">&lt;div class="caption"&gt;&lt;img class="caption" title="This is the image caption" src="https://placeholdit.imgix.net/~text?txtsize=43&amp;bg=00A185&amp;txtclr=7ECFC1&amp;txt=400x350&amp;w=400&amp;h=350&amp;fm=png" width="400" height="350"&gt;&lt;span&gt;This is the image caption&lt;/span&gt;&lt;/div&gt;</textarea>
6468
<script type="text/javascript" src="rsc/jquery.min.js"></script>
6569
</body>
6670
</html>

rsc/common.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ h1 .badge{font-size:40px;top:-14px}h2 .badge{font-size:35px;top:-12px}h3 .badge{
1313

1414
.p,p{color:#585b55;font-weight:bold;font-size:12px}.span,span{color:#888;font-size:10px}.blockquote,blockquote{padding:10px;background:#d6d6d6;color:#585b55;font-size:12px;font-weight:bold}
1515

16+
div.caption{border:1px solid #333;padding:3px;max-width:100%;display:inline-block;height:auto}
17+
div.caption img{display:block;padding:0;margin:0;width:100%;height:auto}
18+
div.caption span{color:#333;font-size:14px}
19+
1620
.blockquotebtn {
1721
background-color: #e7534f;
1822
border-top: 1px solid #333;

0 commit comments

Comments
 (0)