html5编辑文档,HTML5带各种趣味动画的文本编辑器

CSS

语言:

CSSSCSS

确定

body {

background-color: #eee;

}

html,

body {

margin: 0px;

height: 100%;

overflow: hidden;

}

.toolbar {

width: 100%;

background: #fff;

padding: 4px 10px;

}

.characters {

display: inline-block;

margin-right: 20px;

vertical-align: top;

}

.characters__item {

border: 1px solid #333333;

border-radius: 0;

display: inline-block;

width: 25px;

height: 25px;

text-align: center;

background-color: #eee;

}

.characters__item--selected {

background: #fff;

}

.characters__item--first {

border-bottom-left-radius: 2px;

border-top-left-radius: 2px;

}

.characters__item--last {

border-bottom-right-radius: 2px;

border-top-right-radius: 2px;

}

.characters__item--middle {

border-left-width: 0;

border-right-width: 0;

}

.characters__item--color {

border: 0;

width: 55px;

}

.characters__item__button {

width: 100%;

height: 100%;

cursor: pointer;

}

.characters__item__colorInput {

width: 100%;

cursor: pointer;

}

.bm {

background-color: transparent;

width: 100px;

height: 120px;

display: inline-block;

/*float: left;*/

overflow: hidden;

transform: translate3d(0, 0, 0);

vertical-align: top;

position: absolute;

left: 0;

top: 0;

}

.bm.char {

pointer-events: none;

}

.bm .hoverer {

width: 100%;

height: 100%;

background-color: rgba(0, 0, 0, 0);

position: absolute;

top: 0;

left: 0;

}

.bm .loader {

width: 50%;

height: 50%;

background-color: rgba(0, 0, 0, 0);

position: absolute;

top: 0;

left: 0;

bottom: 0;

right: 0;

margin: auto;

}

.bm svg g {

pointer-events: auto;

}

.space {

position: absolute;

transform: translate3d(0, 0, 0);

width: 100px;

height: 120px;

background-color: rgba(255, 0, 0, 0);

pointer-events: none;

}

.line-break {

height: 120px;

width: 0px;

}

.textBox {

position: relative;

top: 0;

left: 0;

overflow-y: auto;

overflow-x: hidden;

height: calc(100% - 56px);

width: 100%;

}

.caret {

position: absolute;

top: 0;

left: 0;

background-color: #333333;

width: 4px;

margin-left: -2px;

animation: blink-animation 1.5s steps(5, start) infinite;

-webkit-animation: blink-animation 1.5s steps(5, start) infinite;

}

.textHelper {

position: absolute;

top: 0;

left: -100%;

/*visibility: hidden;*/

opacity: 0.01;

}

@keyframes blink-animation {

to {

visibility: hidden;

}

}

@-webkit-keyframes blink-animation {

to {

visibility: hidden;

}

}

.title {

float: right;

line-height: 2em;

}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/259330.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

社会转型

转载,版权由作者所有。 常常在政府工作报告中看到关于“社会转型期”的说法,不是太明白,在百度里找了找,果然有不少,摘抄下来,做为学习资料用: 一是指体制转型,即从计划经济体制向市…

在WPF中处理Windows消息

在Winform中 处理Windows消息通过重写WndProc方法 在WPF中 使用的是System.Windows. Sytem.Windows.Controls等名字空间,没有WndProc函数 WPF中处理消息首先要获取窗口句柄,创建HwndSource对象 通过HwndSource对象添加消息处理回调函数。 此外 WPF中没有…

Android Material风格的应用(三)--DrawerLayout

添加抽屉导航 Android Material风格的应用(一)--AppBar TabLayoutAndroid Material风格的应用(二)--RecyclerViewAndroid Material风格的应用(三)--DrawerLayoutAndroid Material风格的应用(四)--FloatActionButtonAndroid Material风格的应用(五)--CollapsingToolbar DrawerLa…

html5 数据缓存,HTML5: 本地缓存

HTML5 提供了两种在客户端存储数据的新对象:localStorage:没有时间限制的数据存储,在同一个浏览器中,只要没被手动清理,第二天、第二周或下一年之后,数据依然可用。sessionStorage:针对一个 ses…

C# 委托:把方法组合到一个数组中使用

C# 委托:把方法组合到一个数组中使用 using System; using System.Collections.Generic; using System.Linq; using System.Text;namespace ConsoleApplication1 {class MathOperations{public static double MultiplyByTwo(double value){return value * 2;}public…

上传Text文档并转换为PDF

今天在ASP.NET MVC环境中学习一些PDF相关的知识,想法是上传文件成功时,并把文件转换为PDF文档。 打开你的专案,运行NuGet包管理器,下载一个叫iTextSharp的东东:点击Install,按钮提示确认安装,成…

某著名公司2015暑期实习招聘试题及相关内容复习

1.&#xff09;输出下面的结果<pre name"code" class"cpp">#include <iostream> using namespace std;int main(int argc, char *argv[]) {int **a[5][4];int *b[5][4];int *c[5];int d[5][4];char *e"helloworld";char g[]"01…

递归函数(九):最小不动点定理

递归函数&#xff08;一&#xff09;&#xff1a;开篇递归函数&#xff08;二&#xff09;&#xff1a;编写递归函数的思路和技巧递归函数&#xff08;三&#xff09;&#xff1a;归纳原理递归函数&#xff08;四&#xff09;&#xff1a;全函数与计算的可终止性递归函数&#…

html中单选框颜色怎么改,如何更改单选按钮的颜色?

侃侃无极一种快速的解决方法是使用来覆盖单选按钮的输入样式:after&#xff0c;但是创建自己的自定义工具箱可能是更好的做法。 input[typeradio]:after { width: 15px; height: 15px; border-radius: 15px; top: -2px; left: -1px; …

PhotoShop

前景色填充&#xff1a;Altdelete 背景色填充&#xff1a;Ctrldelete 切换前景/背景色&#xff1a;X 键 接按d 是默认的黑色和白色转载于:https://www.cnblogs.com/xingfuzzhd/p/3358156.html

python 循环技巧

原文地址&#xff1a;http://docs.pythontab.com/python/python3.4/datastructures.html#tut-tuples 在字典中循环时&#xff0c;关键字和对应的值可以使用 iteritems() 方法同时解读出来。 knights {gallahad: the pure, robin: the brave}for k,v in knights.items():print(…

C++内存管理详解

C内存管理详解 转载&#xff1a;http://blog.csdn.net/yingxunren/article/details/4344933 伟大的Bill Gates 曾经失言&#xff1a;   640K ought to be enough for everybody — Bill Gates 1981   程序员们经常编写内存管理程序&#xff0c;往往提心吊胆。如果不想触…

如何先执行input (checkbox,radio)再执行函数

2019独角兽企业重金招聘Python工程师标准>>> 遇到一个问题&#xff0c;当input type"checkbox"点击时&#xff0c;没有立即执行勾选或去勾&#xff0c;而是先执行函数&#xff0c;如下代码 $(".sidebar_cart .cart_list ul").on("click&qu…

计算机基础及msoffice应用好考吗,全国计算机等级考试考试一级WPS Office和MS Office有什么不同?那个好考?...

以后的计算机office中的word等时2010版本&#xff0c;计算机一级有两个选择&#xff1a;1、一级WPS Office1. 采用无纸化考试&#xff0c;上机操作。考试时间为90 分钟。2. 软件环境:Windows 7 操作系统,WPS Office 2012 办公软件。3. 在指定时间内,完成下列各项操作:(1) 选择题…

Linux服务器上监控网络带宽的18个常用命令

本文介绍了一些可以用来监控网络使用情况的Linux命令行工具。这些工具可以监控通过网络接口传输的数据&#xff0c;并测量目前哪些数据所传输的速度。入站流量和出站流量分开来显示。 作者&#xff1a;布加迪编译来源&#xff1a;51CTO.com|2014-04-11 10:10移动端收藏分享【51…

strcpy和memcpy的区别

转载&#xff1a;http://www.cnblogs.com/stoneJin/archive/2011/09/16/2179248.html strcpy与memcpy都是标准的C库函数&#xff0c;strcpy提供了字符串的复制。即strcpy只用于字符串复制&#xff0c;并且它不仅复制字符串内容之外&#xff0c;还会复制字符串的结束符。 已知…

js正則表達式语法

1. 正則表達式规则 1.1 普通字符 字母、数字、汉字、下划线、以及后边章节中没有特殊定义的标点符号&#xff0c;都是"普通字符"。表达式中的普通字符&#xff0c;在匹配一个字符串的时候&#xff0c;匹配与之同样的一个字符。 举例1&#xff1a;表达式 "c&q…

计算机常见屏幕英语语句,计算机常见屏幕英语

计算机系统常见的屏幕英语对照,。、计算机常见屏幕英语(SCREEN ENGLISH)access 访问 data 数据 hard disk 硬盘 files 文件directory 目录 delete 删除(同&#xff1a;remove) exists 存在 name 名称 read-only 只读 change 修改&#xff0c;改变 save 保存 password 密码 conn…

[转]Windows Phone 7程序设计”完全版电子书可以免费下载了

本文转自&#xff1a;http://www.cnblogs.com/salam/archive/2010/10/29/1864246.html 现在学习Windows Phone 7开发资料十分有限&#xff0c;除了MSDN的官方开发文档外和一些博客外&#xff0c;几无其他的学习渠道。幸运地是美国的资深程序员兼作家Charles Petzold为大家免费放…

土豆春季实习试题之惨烈教训

今天做土豆的春季C实习生招聘试题&#xff0c;很多不应该错的错了&#xff0c;在此挑出一些重要的错误&#xff0c;供自己参考&#xff0c;以免以后再犯。 一、一道编程题&#xff0c;很简单&#xff0c;但是错了。 题目&#xff1a; 输入一个数组&#xff0c;求它的逆序数组…