10050
<html id="html-block-html" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-type" content="text/html; charset=utf-8"><link rel="stylesheet" href="/common--theme/base/css/html-block.css"></head><body> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.5.0.min.js"></script> <script> $(function() { $('.div').click(function() { $('.div').css('color', '#fff'); $('.div').css('background', '#2d8c3c'); $('.div').text('フォロー中'); }); }); </script> <div class="div"> フォローする </div> <style> div { color: #2d8c3c; text-decoration: none !important; border: 1px solid #2d8c3c; padding: 5px 2px; border-radius: 7px; height: min-content; width: 90px; text-align: center; box-sizing: border-box; font-size: 13px; transition: 1s; } div:hover { background: #2d8c3c; color: #fff !important; } body { display: inline-block; width: 90px; } html#html-block-html { display: inline-block; width: 90px; } </style> <script type="text/javascript" src="/common--javascript/html-block-iframe.js"></script><div id="div_67b49a7540113951f142dffb75f69d11ac2bcc2f-83606299719359671180.03828450691162044" style="display: none"><iframe id="iframe_67b49a7540113951f142dffb75f69d11ac2bcc2f-83606299719359671180.03828450691162044" src="http://dog-punch.wikidot.com/common--javascript/resize-iframe.html?0.6851744367037411#31/67b49a7540113951f142dffb75f69d11ac2bcc2f-8360629971935967118"></iframe></div></body></html>
<html id="html-block-html" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-type" content="text/html; charset=utf-8"><link rel="stylesheet" href="/common--theme/base/css/html-block.css"></head><body> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.5.0.min.js"></script> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css"> <link href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" rel="stylesheet"> <script> $(function() { $('.div').click(function() { var x ; x = 189 + 1 $('.div').text(x); $('span').css('background','none'); $('.heart').addClass('after'); }); }); </script> <style> .div { line-height: 1; color: #ea3f60; font-size: 15px; display: inline-block; margin: 2px 0; padding-left: 23px; z-index: 20; } .heart { position: relative; width: 100px; height: 90px; display: inline-block; } .heart:before, .heart:after { border: 6px solid #ea3f60; box-sizing: border-box; position: absolute; content: ""; left: 50px; top: 0; width: 50px; height: 80px; -moz-border-radius: 50px 50px 0 0; border-radius: 50px 50px 0 0; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); -webkit-transform-origin: 0 100%; -moz-transform-origin: 0 100%; -ms-transform-origin: 0 100%; -o-transform-origin: 0 100%; transform-origin: 0 100%; } .heart:after { left: 0; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); -webkit-transform-origin: 100% 100%; -moz-transform-origin: 100% 100%; -ms-transform-origin: 100% 100%; -o-transform-origin: 100% 100%; transform-origin :100% 100%; } .after:before, .after:after { background: #ea3f60; } .bod { position: relative; width: 90px; } .bo { display: inline-block; transform: scale(0.2); position: absolute; left: -40px; top: -34px; z-index: -1; } span { display: inline-block; width: 38px; height: 25px; transform: rotate(-45deg); background: #fff; position: absolute; top: 19px; left: 18px; z-index: 10; } span:nth-child(2) { transform: rotate(45deg); top: 20px; left: 43px; } </style> <div class="bod"> <div class="bo"> <div class="heart"> <span></span> <span></span> </div> </div> <div class="div">189</div> </div> <script type="text/javascript" src="/common--javascript/html-block-iframe.js"></script><div id="div_0f388ec8385b2295e3c46f20cf35330edc3ed695-12436773379875987800.1822073831297899" style="display: none"><iframe id="iframe_0f388ec8385b2295e3c46f20cf35330edc3ed695-12436773379875987800.1822073831297899" src="http://dog-punch.wikidot.com/common--javascript/resize-iframe.html?0.07491245566544857#20/0f388ec8385b2295e3c46f20cf35330edc3ed695-1243677337987598780"></iframe></div></body></html>
page revision: 62, last edited: 28 Aug 2020 11:48