(案例贴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>
相关推荐
前端小小王33 分钟前
React Hooks
前端·javascript·react.js
迷途小码农零零发42 分钟前
react中使用ResizeObserver来观察元素的size变化
前端·javascript·react.js
娃哈哈哈哈呀1 小时前
vue中的css深度选择器v-deep 配合!important
前端·css·vue.js
sunshine6414 小时前
【CSS】实现tag选中对钩样式
前端·css·css3
真滴book理喻4 小时前
Vue(四)
前端·javascript·vue.js
程序员_三木4 小时前
Three.js入门-Raycaster鼠标拾取详解与应用
开发语言·javascript·计算机外设·webgl·three.js
桃园码工5 小时前
4-Gin HTML 模板渲染 --[Gin 框架入门精讲与实战案例]
前端·html·gin·模板渲染
开心工作室_kaic6 小时前
springboot476基于vue篮球联盟管理系统(论文+源码)_kaic
前端·javascript·vue.js
川石教育6 小时前
Vue前端开发-缓存优化
前端·javascript·vue.js·缓存·前端框架·vue·数据缓存
搏博6 小时前
使用Vue创建前后端分离项目的过程(前端部分)
前端·javascript·vue.js