auto embedded component in an online code editor

how to auto open a component in the third parts online editor or IDE

codepen & prefill_data_id

Prefill Embeds

https://blog.codepen.io/documentation/prefill-embeds/

https://blog.codepen.io/documentation/prefill/

live demo

https://codepen.io/xgqfrms/pen/xxZpKZP

See the Pen Prefill Pen by xgqfrms
(@xgqfrms) on CodePen.

demos

antd skeleton

https://ant.design/components/skeleton-cn/

https://github.com/ant-design/ant-design/blob/master/.codesandbox/ci.json

https://github.com/ant-design/ant-design/blob/master/components/skeleton/Skeleton.tsx

quasar skeleton

https://quasar.dev/vue-components/skeleton

svg use


<svg class="half-circle" width="80px" height="80px">
<use xlink:href="#half-circle"></use>
</svg> <svg id="half-circle" viewBox="0 0 106 57"><path d="M102 4c0 27.1-21.9 49-49 49S4 31.1 4 4"></path></svg>
svg:not(:root) {
overflow: hidden;
}
.author-avatar .half-circle {
position: absolute;
bottom: 0;
left: 0;
width: 80px;
height: 56px;
fill: none;
stroke: url(#orange-to-pink);
stroke-width: 8;
stroke-linecap: round;
pointer-events: none;
}
.link-shared-by svg {
fill: #ff8a00;
}

https://css-tricks.com/new-codepen-feature-prefill-embeds/

https://css-tricks.com/wp-content/themes/CSS-Tricks-17/style.css?cache_bust=1593635813019#orange-to-pink

https://css-tricks.com/wp-content/themes/CSS-Tricks-17/images/squiggle.svg

noscript & srcset & lazy loaded

<div class="author-avatar">

<img
alt="" src="https://secure.gravatar.com/avatar/8081b26e05bb4354f7d65ffc34cbbd67?s=350&d=retro&r=pg" class="avatar avatar-350 photo jetpack-lazy-image jetpack-lazy-image--handled"
height="350"
width="350" srcset="https://secure.gravatar.com/avatar/8081b26e05bb4354f7d65ffc34cbbd67?s=700&d=retro&r=pg 2x" data-lazy-loaded="1" /> <noscript>
<img alt='' src='https://secure.gravatar.com/avatar/8081b26e05bb4354f7d65ffc34cbbd67?s=350&d=retro&r=pg' srcset='https://secure.gravatar.com/avatar/8081b26e05bb4354f7d65ffc34cbbd67?s=700&d=retro&r=pg 2x' class='avatar avatar-350 photo' height='350' width='350' />
</noscript> <svg class="half-circle" width="80px" height="80px">
<use xlink:href="#half-circle"></use>
</svg> </div>

refs



xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


最新文章

  1. iOS 获取设备唯一标示符的方法
  2. 网页mp3播放代码
  3. 苹果App store 2015最新审核标准公布(2015.3)
  4. java 连接sql server2008配置
  5. React Native-目前最火的前端技术?
  6. MVC 4 插件化架构简单实现
  7. automaticallyAdjustsScrollViewInsets (iOS)
  8. 让SQL再快一点儿
  9. 【原创】大叔问题定位分享(13)HBase Region频繁下线
  10. android -------- RecyclerView的可(多个Item水平,垂直)滚动列表的实现
  11. firefox 屏蔽Backspace按键的后退功能
  12. flume 使用手册
  13. powerDesigner 把name项添加到注释(comment)
  14. (转)GCT之逻辑经验总结(拿来主义)
  15. 修复日志,阻止给日志多次添加handlers时候重复打印的问题
  16. 抓包工具 - HttpWatch(功能详细介绍)
  17. static关键字的内存分析
  18. Showing a tooltip
  19. linux 文件操作库函数
  20. Spring Cloud Summary

热门文章

  1. Docker逃逸
  2. 分布式缓存 — Docker
  3. Linux忽略大小写的查找技巧(转)
  4. sql如何查询数据库最后10条记录并正序输出
  5. 【Spring-Security】Re01 入门上手
  6. 设计模式(二)——Java简单工厂模式
  7. 一文入门Linux下gdb调试(二)
  8. 阿里新晋 CNCF TOC 委员张磊:“云原生”为什么对云计算生态充满吸引力?
  9. 【uva 534】Frogger(图论--最小瓶颈路 模版题)
  10. 【noi 2.6_9283】&amp;【poj 3088】Push Botton Lock(DP--排列组合 Stirling数)