首页 > 其他分享 >神奇字体在线小工具

神奇字体在线小工具

时间:2022-08-19 22:27:01浏览次数:74  
标签:codePoint 在线 color rgb 字体 radius 15px border 神奇

Alfred插件 https://github.com/WangGuibin/alfred-unicode
学习React的demo https://my-react-app-demo.vercel.app/#/alfred
基于之前的代码整合了一下,搬了过来~





<!-- run -->
<style>
        .bg {
            display: hidden;
            margin: 40px;
            border-radius: 15px;
            box-shadow: 5px 5px 15px rgb(74, 73, 77);
            max-width: 720px;
            height: 100px;
            background-color: rgb(74, 73, 77);
            position: relative;
        }
        
        .container {
            height: 66px;
        }
        
        #textInput {
            padding: 10px;
            position: absolute;
            margin: 10px;
            outline: 0;
            height: 66px;
            width: calc(100% - 126px);
            font-size: 35px;
            font-weight: bold;
            color: #FFFFFF;
            border-color: rgb(56, 55, 58);
            border-radius: 10px;
            background-color: rgb(56, 55, 58);
        }
        
        #img {
            top: 10px;
            right: 15px;
            position: absolute;
            width: 66px;
            height: 66px;
            box-shadow: 5px 5px 5px rgb(74, 73, 77);
        }
        
        #data-list {
            margin-top: -30px;
            max-width: 760px;
            font-size: 24px;
            font-weight: bold;
        }
        
        .item {
            background-color: rgb(74, 73, 77);
            color: #fff;
            margin: 1px;
            padding: 15px;
        }
        
        item:first-child {
            border-top-left-radius: 15px;
            border-top-right-radius: 15px;
        }
        
        item:last-child {
            border-bottom-left-radius: 15px;
            border-bottom-right-radius: 15px;
        }
    </style>
<div class="bg">
        <div class="container">
            <input id="textInput" oninput="inputOnChange()" type="text" />
            <img id="img" src="https://images.cnblogs.com/cnblogs_com/wgb1234/2204281/o_220816122031_alfredappicon.png" />
        </div>
    </div>
    <div id="data-list">
    </div>

<script>
    const numArr = [
        //数字

标签:codePoint,在线,color,rgb,字体,radius,15px,border,神奇
From: https://www.cnblogs.com/wgb1234/p/16603478.html

相关文章

  • 在线编程常见输入输出
    在线编程常见输入输出题目链接1.输入包括两个正整数a,b(1<=a,b<=1000),输入数据包括多组,输出a+b的结果#include<iostream>usingnamespacestd;intmain(){......
  • 【里程碑】牛X的一塌糊涂,不需要目标板额外做任何代码,实时检测RTOS的任务执行情况,支持
    H7-TOOL详细介绍:https://www.armbbs.cn/forum.php?mod=viewthread&tid=89934 【说明】这几天一直在思考如何方便的使用SWD接口实时分析RTOS任务执行情况的问题,今天终于......
  • linux 在线安装redis6.2.4
    1.下载安装包(usr/local)wgethttp://download.redis.io/releases/redis-6.2.4.tar.gz1.1如果wget报错安装weget插件yum-yinstallwget 2.解压安装包tar......
  • 开发一个在线聊天
    在线聊天技术选型在线聊天因为涉及到互相通信,所以采用socket.io前端框架vue3打包工具vite机器人打招呼刚开始的时候,首先显示客户机器人打招呼,先不显示人工,有点类似......
  • 外贸跨境电商网站常用的在线客服系统
    如果想在外贸网站上使用在线客服软件,最好选择一个可以支持在线翻译并具有本地化功能的在线客服系统。此外,还需要能够根据大量访客的用户行为数据进行诊断。 一、什么是......
  • vue中使用自定义字体
    1、在scss文件内引入,且将scss文件导入到全局,一般都是将自定义字体作为一个单独的scss文件存放,再将该字体文件导入到全局的样式文件内,@importurl('./font.scss');,再将全局......
  • Linux下安装宋体和微软雅黑字体
    背景最近工作用itext生成pdf在windows环境下没有出现中文乱码而在linux下出现中文乱码,打开pdf查看pdf编码,以及显示的编码,发现编码并没有对应。原因是使用的宋体和微软雅黑......
  • 使用自定义字体 vue electron
    1,把自定义字体包导入项目  2,font.css文件下1字体名2字体路径3,4字体样式(可省略) 3,App。vue文件中修改样式中的font-family属性   ......
  • 队列:队列在线程池等有限资源池中的应用
    目录如何理解“队列”?顺序队列和链式队列循环队列阻塞队列和并发队列阻塞队列并发队列线程池没有空闲线程时,新的任务请求线程资源时,线程池该如何处理?各种处理策略又是如何......
  • POI生成word设置的字体不生效
    原始修改字体XWPFRunrun=para.createRun();run.setText(runText,0);run.setFontFamily("仿宋");//字体run.setFontSize(16);//字体大小修改中文字体XWPFRunrun......