(案例贴1)html+js+css todolist便签条

版本1:静态壁纸背景

版本二:动态小球跳动背景

f86084d896df68b0ba2e64467afe4983_raw

html代码:

<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
    <title>TODO便签</title>
    <link rel="stylesheet" href="/assets/css/index.css">
    <link rel="stylesheet" href="/assets/css/icon.css">
</head>

<body>
    <div id="background"></div>
    <div id="app">
        <div id="msg"></div>
        <div id="container">
            <div id="toolsList">
                <div class="top">
                    <div>
                        <div class="icon"><i class="fas fa-user-circle"></i></div>
                        <div class="title">账号</div>
                    </div>
                    <div class="active" activeAble id="list_memo">
                        <div class="icon"><i class="fas fa-edit"></i></div>
                        <div class="title">笔记</div>
                    </div>
                    <div activeAble id="list_todos">
                        <div class="icon"><i class="fas fa-list-ul"></i></div>
                        <div class="title">代办</div>
                    </div>
                    <div activeAble id="list_star">
                        <div class="icon"><i class="fas fa-star"></i></div>
                        <div class="title">收藏</div>
                    </div>
                </div>
                <!-- <div class="bottom">
                    <div>
                        <div class="icon" id="bottom_setting"><i class="fas fa-cog"></i></div>
                        <div class="title">设置</div>
                    </div>
                </div> -->
            </div>
            <div id="memosList">
                <div class="topTool">
                    <div class="searchBar">
                        <i class="fal fa-search"></i>
                        <input type="text" autocomplete="off" placeholder="Search..." id="searchBox">
                    </div>
                    <div class="addBar" id="mainAddInput">
                        <i class="fal fa-plus"></i>
                    </div>
                </div>
                <div id="totalList"></div>
            </div>
            <div id="editor">
                <div class="header">
                    <div class="pages">
                        <div class="page_back page_item" style="display: none;"><i class="fas fa-chevron-left"></i></div>
                        <div class="page_item">标题</div>
                    </div>
                    <div class="page">
                        <div class="information">
                            <div class="image" style="background-image: url(/assets/image/icon_5.png);">
                                <div class="content" id="note_cover"></div>
                            </div>
                            <div class="title">
                                <input type="text" id="note_title" placeholder="标题">
                            </div>
                        </div>
                        <div class="about">
                            <i class="fas fa-star" id="about_star"></i>
                            <i class="fal fa-ellipsis-h" id="about_more"></i>
                        </div>
                    </div>
                </div>
                <div class="editor-container">
                    <div id="editorTextarea"></div>
                </div>
            </div>
        </div>
    </div>
    <script src="/assets/js/marked.js"></script>
    <script src="/assets/js/index.js"></script>

</body>

</html>
相关推荐
Martin -Tang1 小时前
Vue 3 中,ref 和 reactive的区别
前端·javascript·vue.js
FakeOccupational3 小时前
nodejs 020: React语法规则 props和state
前端·javascript·react.js
放逐者-保持本心,方可放逐3 小时前
react 组件应用
开发语言·前端·javascript·react.js·前端框架
曹天骄4 小时前
next中服务端组件共享接口数据
前端·javascript·react.js
郝晨妤6 小时前
鸿蒙ArkTS和TS有什么区别?
前端·javascript·typescript·鸿蒙
喝旺仔la6 小时前
vue的样式知识点
前端·javascript·vue.js
别忘了微笑_cuicui6 小时前
elementUI中2个日期组件实现开始时间、结束时间(禁用日期面板、控制开始时间不能超过结束时间的时分秒)实现方案
前端·javascript·elementui
尝尝你的优乐美6 小时前
vue3.0中h函数的简单使用
前端·javascript·vue.js
windy1a6 小时前
【C语言】js写一个冒泡顺序
javascript
会发光的猪。7 小时前
如何使用脚手架创建一个若依框架vue3+setup+js+vite的项目详细教程
前端·javascript·vue.js·前端框架