Skip to content

Commit

Permalink
自动提交
Browse files Browse the repository at this point in the history
  • Loading branch information
frankelinli committed Dec 11, 2024
1 parent 466ea63 commit 1cff5bf
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 25 deletions.
1 change: 1 addition & 0 deletions src/pages/friend-link.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ hide_table_of_contents: true
13. HTML+CSS教程开发;https://www.bilibili.com/video/BV1ux41127DU/
14. 青蛙游戏联系CSS的Flexbox布局https://flexboxfroggy.com/

https://frankelinli.github.io/wordpress%20HTML%20block.html

---

Expand Down
24 changes: 0 additions & 24 deletions static/404.html

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -812,4 +812,66 @@ <h3>标题3</h3>
50% { top: 250px; }
}
</style>
</div>
</div>





<div class="faq-container">
<style>
.faq-container {
max-width: 800px;
margin: 0 auto;
}
.faq-item {
border: 1px solid #eee;
margin-bottom: 10px;
border-radius: 4px;
}
.faq-question {
padding: 15px;
background: #f7f7f7;
cursor: pointer;
position: relative;
font-weight: bold;
}
.faq-question::after {
content: '+';
position: absolute;
right: 15px;
}
.faq-answer {
padding: 0 15px;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-out;
}
.faq-item.active .faq-answer {
max-height: 500px;
padding: 15px;
}
.faq-item.active .faq-question::after {
content: '-';
}
</style>

<div class="faq-item" onclick="this.classList.toggle('active')">
<div class="faq-question">WordPress如何添加HTML块?</div>
<div class="faq-answer">
1. 点击添加区块按钮
2. 搜索"自定义HTML"
3. 将代码粘贴到编辑器中
</div>
</div>

<div class="faq-item" onclick="this.classList.toggle('active')">
<div class="faq-question">HTML块有什么优势?</div>
<div class="faq-answer">
1. 更快的加载速度
2. 更好的安全性
3. 更容易维护
4. 无需依赖插件
</div>
</div>
</div>

0 comments on commit 1cff5bf

Please sign in to comment.