代码 html一份退出酒场的告知书

2024-11-18 18:14:45 +0800 CST views 978
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>退出酒场告知书</title>
    <style>
        html {
            font-size: 20px;
        }

        body {
            font-family: "Microsoft YaHei", sans-serif;
            padding: 2rem;
            margin: 0;
            box-sizing: border-box;
            width: 30rem;
            text-align: center;
            margin: 0 auto;
            background-color: #f8f8f8;
        }

        h1 {
            color: red;
            text-align: center;
            font-size: 2rem;
        }

        .subtitle {
            text-align: center;
            font-size: 1.2rem;
            margin-bottom: 20px;
        }

        p {
            text-indent: 2em;
            font-size: 1rem;
            line-height: 1.8;
            text-align: justify;
            margin: 20px 0;
            margin-top: 0;
        }

        .highlight {
            color: red;
            font-weight: bold;
            text-align: center;
            margin: 20px 0;
        }

        .signature {
            text-align: right;
            margin-top: 40px;
            border: none;
            outline: none;
        }

        .signature div {
            display: inline-block;
            margin: 0 30px;
        }

        .editable {
            cursor: pointer;
            outline: none;
            display: inline-block;
            border: none;
        }

        .date {
            text-align: right;
            margin-top: 20px;
            float: right;
            border: none;
            outline: none;
        }

        hr {
            border: none;
            border-top: 2px solid red;
            margin: 20px 0;
        }

        .flex {
            display: flex;
            align-items: center;
            justify-content: center;
        }
 @font-face {
            font-family: 'MyCustomFont';
            src: url('DuanNingXingShuTianGongTi-2.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }

        .sybg {
            background-image: url('sy1.png');
            background-size: 60px auto;
            background-repeat: no-repeat;
            background-position: center;
            width: auto;
            height: 100px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'MyCustomFont';
            font-size: 1.5rem;
            margin-right: 20px;
            border: none;
            min-width: 100px;
            outline: none;
        }

        .sybg2 {
            background-image: url('/mnt/data/WechatIMG6529.jpg');
            background-size: 100px auto;
            background-repeat: no-repeat;
            background-position: center;
            width: 200px;
            height: 100px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'MyCustomFont';
            font-size: 2rem;
        }

       
        .data-text {
            font-family: 'MyCustomFont';
            font-weight: bold;
            border: none;
            outline: none;
        }
    </style>
</head>
<body>
    <h1>退出酒场告知书</h1>
    <div class="subtitle">戒字[2024] 酒02号</div>
    <hr>
    <div style="text-align: left;">各位亲朋好友:</div>
    <p>
        
        2024已经过半,鄙人自喝酒以来,纵横酒场多年,对手无数,喝哭几百,喝倒几千。时光荏苒,已过了喝酒的黄金年龄,酒量骤减。无论白酒、红酒啤酒、米酒还是黄酒,一杯头晕,两杯醉酒,三杯不省人事,酒场人称“三杯倒”,谁都不服,只扶墙。但感情还需维持,为了不得罪朋友,现决定:
    </p>
    <div class="highlight">
        放下酒杯,举起茶杯,以茶会友!
    </div>

    <div class="signature flex" style="justify-content: flex-end;" contenteditable="true">
        <div class="sybg flex" style="display:flex">
            程序员茄子
        </div>
    </div>

    <div class="date signature" contenteditable="true">
        <span class="data-text" >2024年10月23日</span>
    </div>

</body>
</html>

images

复制全文 生成海报 生活方式 社交 戒酒 个人成长

推荐文章

php腾讯云发送短信
2024-11-18 13:50:11 +0800 CST
12 个精选 MCP 网站推荐
2025-06-10 13:26:28 +0800 CST
Nginx rewrite 的用法
2024-11-18 22:59:02 +0800 CST
IP地址获取函数
2024-11-19 00:03:29 +0800 CST
Nginx 负载均衡
2024-11-19 10:03:14 +0800 CST
Go 如何做好缓存
2024-11-18 13:33:37 +0800 CST
Vue3中的Store模式有哪些改进?
2024-11-18 11:47:53 +0800 CST
pin.gl是基于WebRTC的屏幕共享工具
2024-11-19 06:38:05 +0800 CST
如何在 Vue 3 中使用 TypeScript?
2024-11-18 22:30:18 +0800 CST
Vue中如何使用API发送异步请求?
2024-11-19 10:04:27 +0800 CST
WebSocket在消息推送中的应用代码
2024-11-18 21:46:05 +0800 CST
html一个全屏背景视频
2024-11-18 00:48:20 +0800 CST
前端项目中图片的使用规范
2024-11-19 09:30:04 +0800 CST
Vue3中如何进行异步组件的加载?
2024-11-17 04:29:53 +0800 CST
如何开发易支付插件功能
2024-11-19 08:36:25 +0800 CST
聚合支付管理系统
2025-07-23 13:33:30 +0800 CST
赚点点任务系统
2024-11-19 02:17:29 +0800 CST
Elasticsearch 文档操作
2024-11-18 12:36:01 +0800 CST
手机导航效果
2024-11-19 07:53:16 +0800 CST
一文详解回调地狱
2024-11-19 05:05:31 +0800 CST
GROMACS:一个美轮美奂的C++库
2024-11-18 19:43:29 +0800 CST
维护网站维护费一年多少钱?
2024-11-19 08:05:52 +0800 CST
程序员茄子在线接单