CSS Note 1.2 常用文本属性

关于hexo博客的note标签美化 前言:为了美化hexo博客文章,所以加入note标签并加以美化 效果图: 引入FontAwesome v4.7.0 版本的 CSS 文件 <link type='text/css' rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" media='all'/> 添加一段自定义css代码,复制即可 /* note 公共样式 */ .not 阅读详情

一、常用文本属性

background: red;/*设置背景颜色*/
text-align: justify;/*center中间对齐,left左对齐,right右对齐,css中新增start和end,通常情况下start=left,end=right,justify两端对齐*/
color: lime;/*设置文本颜色*/
line-height: 2em;/*设置行高*/
text-indent: 32px;/*设置首行缩进*/
text-decoration: underline;/*underlin下划线,overline上划线,line-through删除线,none去掉下划线*/
letter-spacing: 16px;/*字符间距,可以设置负值*/
word-spacing: 16px;/*对字和单词之间增加间距,需要在词或字之间加空格,可以设置负值*/
text-transform: none;/*uppercase转换成大写,lowercase转换成小写,capitalize首字母转换成大写*/
text-shadow: 5px 5px 5px green;/*水平偏移/垂直偏移/模糊度/阴影颜色,可以添加多种颜色*/
white-space: normal;/*
1、normal保留一个空白符,遇到br才换行
2、pre空白会被浏览器保留,类似pre标签
3、nowrap文本不会换行,直到遇到br标签
4、pre-wrap保留空白符,但是可以正常换行
5、pre-line压缩空白符,仅保留一个
*/
direction: ltr;/*ltr默认值,文本方向从左到右,rtl文本方向从右到做*/
word-wrap: normal;/*break-word在长单词或者url地址进行换行*/
word-break: break-all;/*break-all单词内进行换行,keep-all允许在空格或者连字符的地方换行*/
第三篇:AMD 和 Intel 它像“乐高积木”一样,可以通过标准化的接口与其他部分组合,构建复杂系统。理解组件后,你会发现从操作系统到微服务,现代软件本质上都是组件的组合! 阅读详情

相关推荐

Hopfield神经网络(HNN)详解

Hopfield神经网络是一种比较特殊的网络,它不像一般的神经网络那样有输入层和输出层,并且通过训练来改变神经网络中的参数,最终实现预测、识别等功能。Hopfield网络只有一群神经元节点,所有节点之间相互连接,形式如下: 虽然有些文章会画出像深度神经网络那样有输入输出的图,并且输出后又返回输入,但本质上就是多个节点之间的全连接,也就是上面的图形。Hopfield神经网络主要有两个应用:一是起到类似储存器的作用,也就是我们把多个序列或图片输入这个网络,最终这个网络会以神经元之间连接权重的形式储存这

weixin_60737527的博客 4万+

CSS Note 1.7 table属性及列表属性

一、html  &lt;!DOCTYPE html&gt; &lt;html lang="en"&gt; &lt;head&gt; &lt;meta charset="UTF-8"&gt; &lt;title&gt;Title&lt;/title&gt; &lt;link rel="stylesheet" href=&

LetsStudy的博客 297

MAX31856高精度热电偶测温系统实战:从寄存器配置到温度读取

本文详细介绍了MAX31856高精度热电偶测温系统的实战应用。从硬件连接避坑、核心寄存器配置(如CR0、CR1),到利用中断高效读取并解析温度数据,提供了完整的驱动框架和代码示例。该方案解决了传统热电偶信号微弱、非线性及冷端补偿难题,适用于工业测温等场景,帮助开发者快速实现稳定可靠的高精度温度测量。

coffee的博客 483

nodeType属性

作 用 辨识节点的DOM 型态。   基本语法 numNodeType = xmlDocNode.nodeType ;   说 明 此属性只读且传回一个数值。 有效的数值符合以下的型别: 1-ELEMENT 2-ATTRIBUTE 3-TEXT 4-CDATA 5-ENTITY REFERENCE 6-ENTITY 7-PI (processing instru...

fengyunxnc的专栏 192

Cadence Virtuoso实战:NMOS差分放大器设计与SPICE仿真全解析

本文详细解析了使用Cadence Virtuoso设计NMOS差分放大器并进行SPICE仿真的全流程。从基础设计要点、原理图绘制到工作点分析与性能调优,提供了实用的设计技巧和常见问题解决方案,帮助工程师高效完成模拟集成电路设计。重点介绍了差分放大器的关键参数设置、饱和区优化及版图设计注意事项,适用于ADC、DAC等高性能电路开发。

weixin_28340315的博客 610

用 dism 合并与删除 wim 映像

一、合并 假设 installA.wim 有 3 个映像,installB.wim 有 1 个映像。 1、全部合并 将 installA.wim 中的 3 个卷映像合并到 installB.wim 中,这样 installB.wim 中的卷映像增加到 4 个。 dism/export-image/sourceimagefile:d:\installA.wim/sourceindex:1/destinationimagefile:d:\installB.wim dism/export-image/source

KefanWon的博客 5198

[Note]位置属性

style.top style.left var one=document.getElementById("one"); alert(one.style.width); alert(one.offsetWidth); offsetWidth offsetHeight offsetTop//距离上一级的顶top的偏移距离 offsetLeft body{

BoaHock 432

【OpenClaw从入门到精通】第63篇:A股智能分析实战——用OpenClaw搭建个人量化研究助手(2026实测版)

2026年,OpenClaw已成为量化投研圈的现象级工具,八家头部券商密集发布专题研报力证其价值。传统量化投研面临技术门槛高、重复劳动多、策略迭代慢、非结构化数据处理弱四大痛点,而OpenClaw通过“AI智能体+金融Skill+量化API”的融合,实现了从数据获取、策略生成、回测验证到持仓监控的全流程自动化。本文基于2026年最新实测经验,完整呈现个人量化研究助手搭建:从阿里云部署、阿里云百炼API配置(含解析失败解决方案)、Tushare数据源接入,到PB-ROE价值选股、研报复现、自动化回测、持仓监控

专注于人工智能、软件开发、工控自动化、工厂数字化及智能化等领域,希望和大家共同进步! 1058

CSS学习.note1

目录 一、CSS语法规范 二、CSS选择器 1.基础选择器: 1.1 标签选择器 1.2 类选择器 1.3 id选择器 1.4 通配符选择器 1.5 分组选择器 三、 CSS使用 1. 外部CSS 2.内部CSS 3.行内CSS 4.优先顺序 四、 CSS字体属性 1. 字体系列 2. 字体大小 3.字体粗细 4. 文字样式 5. 字体复合属性 五、 CSS 文本属性 1. 文本颜色 2.对齐文本 3. 装饰文本 4. 文本缩进 一、CSS语法规范 C

Juan_Eleanor的博客 221

PCIE的MSI中断处理机制与优化策略

PCIe设备的。

xiaoheshang_123的博客 513

仿真学习系列(四十九):Sigrity仿真之电容库制作

在高速电路设计中,电源完整性(PI)是确保系统稳定、可靠运行的关键因素。随着电子产品对性能的要求不断提升,PDN(电源分配网络)的设计与优化变得尤为重要。为了确保电源网络在高速工作状态下不会引发电压波动和信号干扰,我们需要在设计中精确地选择电容器进行优化,而电容库的制作则是这一过程的核心。 OptimizePI作为一个强大的电源完整性优化工具,能够帮助设计师根据不同的目标,批量进行PDN仿真,以得出最佳电容选择。

案例文章,高速信号 223

CSS2基础(part-2 继续part-1)

CSS2part-2(关于各种属性的使用和注意事项)

wozhaonue_w的博客 942

C2000ware介绍

C2000的下载安装指南C2000目录。

小柚子的博客 2794

CSS note

boarder 的设置white space 可以用来设置文字在一行,或自动换行,或每一个空格另起一行width: 可以设置省 100%, 或 35 rpx元素靠左p:first-child 满足条件的第一项eg。

u010669626的博客 1925

Camera2Demo

在Camera2 的基础上进行封装,使得Camera2一堆初始化逻辑与Activity分离,降低耦合度,完成预览拍照并保存的操作

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

[CSS3] CSS3 Note(1)

一、CSS3的主要新特性 1)选择器 2)阴影 3)形状转换(2d,3d) 4)变形 5)动画(过度动画,帧动画) 6)边框 7)多重背景 8)反射 9)文字 10)颜色(rgba/hsl/hsla) 11)滤镜 12)弹性布局 13)多列布局 14)盒模型 15)web字体 16)媒体查询 二、CSS3属性前缀 兼容不同浏览器,添加厂商前缀 Trident内核:主要代表为IE浏览器 Gecko内核:主要代表为Firefox Blink内核:主要代表为Chrome和Opera ——>是webki

S号口袋怪:| 276

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

CSS -- Note

CSS的优先级: 内联 > id选择器 > class选择器 > 标签选择器 注释: 1、/* code */ 2、//code    长度单位 px :像素 em :倍数(适用于文字) 颜色 单词 rgb #abc CSS选择器 1、常用选择器 2、基本选择器 3、层级选择器 4...

JOKER0707的博客 216

ET2012新版免狗免安装绿色软件

ET2012新版免狗免安祖昂绿色软件。,新界面,新视觉,

[CSS3] CSS3 Note(2)

六、CSS3平铺背景 多重背景 backgroud:背景色 背景图片 平铺方式 位置,背景色 背景图片 平铺方式 位置,… backgroud-size:设定背景图像的尺寸 background-size: length|percentage|cover|contain; length:设置背景图像的高度和宽度。第一个值设置宽度,第二个值设置高度。如果只设置一个值,则第二个值会被设置为 “auto”。 percentage:以父元素的百分比来设置背景图像的宽度和高度。第一个值设置宽度

S号口袋怪:| 210

CSS Note 2.4 其他常用元素

一、CSS @charset "UTF-8"; div{ margin: 10px; } #div1{ background-color:rgb(255,0,0); width: 240px; height: 120px; opacity:0.6 ;/*opacity会作用于内容和元素,而rgba的透明度则只作用于元素*/ } #div2{ w...

LetsStudy的博客 221

[CSS3] CSS3 Note(3)

Created: 2020/11/07 Created by: ShianGee Hwang Tags: 动画过渡, 盒子变形 十、盒子的变形 1/CSS 2D变形 2/CSS3 3D变形 perspective 让子元素获得透视效果 persperctive: none / number; 主流浏览器都不支持,谷歌要加-webkit-,或者直接在长度后加单位 transform-style 规定如何在 3D 空间中呈现被嵌套的元素 注意 ♦️:该属性必须与 transform 属性一同使用,使

S号口袋怪:| 241

CSS2基础总结(part-1)

【全称】,又名层叠表样式CSS 描述了在屏幕、纸质、音频等其他媒体上的元素应该如何被渲染的问题。

wozhaonue_w的博客 779

JAVAWEB NOTE 1

unit01-HTML、CSS HTML: 用于开发网页的一门技术 CSS: 用于修饰、渲染网页的一门技术 HTML+CSS可以开发一个非常美观、非常漂亮的网页 开发网页 盖房子 HTML标签搭建网页的结构 砖块(搭建房子的结构) CSS属性 石灰、油漆等涂料 HTML概述 HTML是什么 HTML(Hyper Text Markup Language): 超文本标记语言 超文本: 超级文本、超过文本(其中可以包含除了文本以外的其他数据,例如图片、音频、视频等各种

张仅爱JAVA 559

CSS3_note

Css绝对定位和相对定位: 绝对定位:position:absolute;相对于最近单位已定位的父元素,若没有已定位父元素则以它相对于最初位置。移动时不会占空间 相对定位:position:relative;相对于在整个页面的初始位置。无论是否移动它都占据原来的空间,移动会覆盖其他框 什么时候需要清除浮动: 浮动元素会生成一个块级框,不论它本身是何种元素,float主要流行于页面布局,若没有清除浮...

xx080的博客 453

css note

1. css 伪类选择器last-of-type对class无效果 HTML: <pclass="visible">Firstparagraph.</p><pclass="visible">Secondparagraph.</p>&...

chibenqi9310的博客 90

[CSS3] CSS3 Note(4)

上一篇????:CSS3 Note(3) Created: 2020/11/09 Created by: ShianGee Hwang Tags: flex布局, 响应式布局, 布局 十三、多列布局 兼容写法: -moz-column-x:; /* Firefox */ -webkit-column-x:; /* Safari and Chrome */ /*IE不支持*/ column-count 规定元素应该被划分的列数 column-count: number|auto; colum

S号口袋怪:| 260

CSS Note 2.1 transform简要

一、CSS @charset "UTF-8"; body{ -webkit-perspective: 1200px;/*该属性设置后,其子元素具有透视效果*/ } div{ width: 120px; height: 80px; display: inline-block; margin: 10px; background-color: lime...

LetsStudy的博客 201

w3shool css study note

CSS 基础 1.CSS规则:选择器,以及一条或者多条声明 selector {declaration1; declaration2; ... declarationN } declaration=property:value h1 {color:red; font-size:14px;} 样式优先级 4具有最高优先级 1).浏览器缺省设置 2).外部样式表 3).内部样式表(位于

elfylin的专栏 898
上一篇: CSS Note 1.1 字体
下一篇: CSS Note 1.3 前缀及overflow
LetsStudy
博客等级 码龄9年 96粉丝 323原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值