Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add theme ezexam #19

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

add theme ezexam #19

wants to merge 3 commits into from

Conversation

ezshine
Copy link

@ezshine ezshine commented Nov 13, 2020

添加主题:答隐,适合测验/试题类文章。将答案隐藏起来

@DawnLck
Copy link
Contributor

DawnLck commented Nov 15, 2020

想法非常棒,功能性挺独特的,特别适合我在掘金上刷面经什么的👍。

另外提一个建议,针对这类文章,可以多做点主题化,感觉现在的改动还是太简单了些。比如用户鼠标悬浮在答案的时候,增加答案慢慢浮现的效果,这个并不难做,而且对只用笔记本触控板的用户而言,会体验好很多。

chrome-capture

@pd4d10
Copy link
Member

pd4d10 commented Nov 15, 2020

这个是指用 blockquote 作为答案的展示吗。用 <detail><summary 可以解决不

@ezshine
Copy link
Author

ezshine commented Nov 15, 2020

@DawnLck 鼠标移上去就显示我做了:hover就行,但从用户体验上来说,我担心这样答案容易误触显示,所以我并没有提交hover的版本。这是我的一些思考。

@ezshine
Copy link
Author

ezshine commented Nov 15, 2020

@pd4d10 是的,这里是用blockquote来显示答案,并修改了显示样式。detail/summary的形式可以,但样式不一样

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants