
這個由 google 開發釋出的 免費視覺化設計開發速成工具軟體
可讓您創建基於 HTML5 的交互式設計和動態圖形。





<div id="posts-list">
<img src="https://pic.pimg.tw/e717/1608523373-3319523954-g.png" id="iexpen" style="margin:0px 45%; transition: 1s;" />
<ul id="post-list"></ul>
</div>
<style type="text/css">
#posts-list {margin-top: -42px; overflow:hidden;}
#post-list div{margin:3px 0 3px -132px;
overflow:hidden; position: absolute; width:120px; height:100px;}
#post-list a {text-decoration:none; color:#222;
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
z-index: 10;}
#post-list {border: 1px dotted; overflow:hidden; padding:2PX; list-style:none;}
#post-list li{ min-height:110px; border-bottom: 1px solid; background:white;
padding-left:130px;overflow:hidden;position: relative; line-height: 150%;}
#post-list p{margin:5px;}
#post-list div img{width:102%; height:102%; transition: .5s;}
#post-list li:hover div img{transform:scale(1.3)}
#post-list li:hover span{color:#ff50fa;}
#post-list span{ margin-right:30px; line-height: 180%; font-size:18px;
font-weight: bold;}
#post-list > li:nth-of-type(2n+1){background:#f0fbfb !important;}
</style>
<script>
$(function() {
function psone(data) {
var tent = data.feed.entry, temp='';
if (!tent) { $('#post-list').html('<span>沒文章 下載</span>'); return(0);}
for ( i in tent) {
temp += '<li><a href="'+ tent[i].link[4].href+ '"></a><div>';
temp += tent[i].content.$t.match(/<img\S*.[^>]*>/) + "</div><p><span>";
temp += tent[i].title.$t+' : </span>';
temp += tent[i].published.$t.replace(/[T].*/,"") +"<br />";
temp += tent[i].content.$t.replace(/<\S[^>]*>/g,"").substr(0,30) + '</p></li>';
}
$('#post-list').append(temp);
}
var cx=0,ip=0;
$("#post-list").animate({ height: 'toggle'}, 0);
jQuery("#iexpen").click(function(){
if(ip==0){ $.ajax({
url: '/feeds/posts/default?alt=json-in-script&max-results=10',
type: 'get',
dataType: 'jsonp',
success: psone,
}); ip++;
}
if(cx==0){ cx=1; $("#iexpen").css('transform' , 'rotate(180deg)'); }
else{cx=0; $("#iexpen").css('transform' , 'rotate(0deg)'); }
$("#post-list").animate({ height: 'toggle',opacity: 'toggle'}, 1200);
});});
</script>
<style type="text/css">
#comment-list {margin-top: -42px; position: relative;}
.autimg{ position: absolute; margin: 8px; width:80px;height:65px; box-shadow: 2px 2px 8px rgba(10%,10%,10%,0.6);left:0;}
.pimg{float:left; width:100px; height:80px;}
#com-list P{margin-top:5px; max-height:120px;}
#com-list a {text-decoration:none; color:#222;}
#com-list {border: 1px dotted; overflow:hidden; padding:2PX; list-style:none;}
#com-list li{ border-bottom: 1px solid; background:white; padding-top:6px; overflow:hidden; position: relative;}
#com-list li img{max-width:100px; max-height:90px;}
#com-list span{ margin-right:25px; color:#36F;}
.e717{max-width:130px; max-height:120px; }
#com-list > li:nth-of-type(2n+1){background:#e9fbfb !important;}
</style>
<div id="comment-list">
<img src="https://pic.pimg.tw/e717/1608523373-3319523954-g.png" id="iexpent" style="margin:0px 45%; transition: 1s;" />
<ul id="com-list"></ul>
</div>
<script>
$(function() {
$.ajax({
url: '/feeds/comments/default?alt=json&max-results=8',
type: 'get',
dataType: 'json',
success: xson
});
function xson(data) {
var tent = data.feed.entry, temp='';
if (tent !== undefined) {
for ( i in tent) {
temp += '<li><a href="'+ tent[i].link[2].href;
temp += '"><img class="autimg" src="https:'+ tent[i].author[0].gd$image.src.replace(/https?:.*/ig,'//1.bp.blogspot.com/-xifjV61gz-c/X_PIzvy2D3I/AAAAAAABHt8/jyd-FgLaLrcUXzDCIN4HDskegMWaXT98gCLcBGAsYHQ/s0/pic_338.jpg');
temp += '" /><div class="pimg"> </div><span>'+ tent[i].gd$extendedProperty[1].value.replace(/\s.*/i,"") + '</span>';
temp += tent[i].author[0].name.$t+' :<p>';
temp += tent[i].content.$t.replace(/(https?:\/\/.*?(gif|jpg|png))/ig,'<img src="$1" class="e717" />') + '</p></a></li>';
}
$('#com-list').append(temp);
} }
$('#com-list').animate({ height:'toggle' }, 0);
var cx=0;
jQuery("#iexpent").click(function(){
if(cx==0){ cx=1;
$("#iexpent").css('transform' , 'rotate(180deg)');
}
else{cx=0;
$("#iexpent").css('transform' , 'rotate(0deg)');
}
$("#com-list").animate({ height: 'toggle',opacity: 'toggle'}, 1200);
}); });
</script>
<div id="e717_article"></div>
<style><!--
.fi-set img {
-webkit-transition: opacity .4s;
-moz-transition: opacity .4s;
-o-transition: opacity .4s;
transition: opacity .4s;
margin:6px 0px;
max-width:100%;
opacity:1;
border-radius:0px 50px;
border:1px solid #777;
-webkit-filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.7));
filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.7));
}
.fi-set:hover img {opacity:0.5;
transition: 2s;
transform: rotate(-10deg) rotateY(360deg) rotate(10deg);
}
.fi-set:hover legend{ color:#f5e;}
.fi-set {
border-radius: 10px ;
border: 1px solid #f77;
padding: 5px;
margin: 12px auto;
text-align:center;
}
legend{
padding: 0px 6px;
margin: 0 auto;
}
--></style>
<script type="text/javascript">// <![CDATA[
var new_article = function(user,put,count="1"){
jQuery.getJSON("https://emma.pixnet.cc/blog/articles/latest?user="+ user +"&limit="+count+"&format=json&api_version=2", function(data){
if(data.error!="0"){
jQuery("#DebugZone").append("Message:" + data.message + "<br>");
return;
}
var fi_set ='';
jQuery.each(data.articles, function(i,blog){
fi_set = ('<fieldset class="fi-set">');
fi_set += '<legend>' + blog.title + '</legend><a href="' + blog.link + '" class="relate-link" title="' + blog.title + '">';
if(blog.thumb.match('90x90')!=null){
fi_set += '<img src="' + blog.thumb.substring(0,blog.thumb.length-9) + '200x130.jpg" class="article-image">';
}
else if(blog.thumb.match('width=90&height=90')!=null){
fi_set += '<img src="' + blog.thumb.substring(0,blog.thumb.length-12) + '225&height=135" class="article-image">';
}
else{
fi_set += '<img src="' + blog.thumb + '" class="article-image">';
}
fi_set += '</a></fieldset>';
jQuery(put).append(fi_set);
});
});
};
new_article('你痞客邦的帳號ID','#e717_article','6');
// ]]></script>


