how2j.cn


工具版本兼容问题
和字体相关的属性

关键字 简介 示例代码
font-size
尺寸
示例代码
font-style
风格
示例代码
font-weight
粗细
示例代码
font-family
字库
示例代码
font
声明在一起
示例代码
示例 1 : 尺寸   
示例 2 : 风格   
示例 3 : 粗细   
示例 4 : 字库   
示例 5 : 声明在一起   

示例 1 :

尺寸

属性:font-size
值:数字或者百分比
"); window.frames["iframe_show467"].document.write(decodeHtml($("textarea#stepcodeTextarea467").val())); window.frames["iframe_show467"].document.close(); $(window.frames["iframe_show467"]).load(function(){ $("#iframe_show467").height($("#iframe_show467").contents().find("body").height()+showittryitheight); }); $("#iframe_show467").height($("#iframe_show467").contents().find("body").height()+showittryitheight); setTimeout(function(){ },500); });
运行效果
<style> p.big{ font-size:30px; } p.small{ font-size:50%; } p.small2{ font-size:0.5em; } </style> <p >正常大小</p> <p class="big">30px大小的文字</p> <p class="small">50%比例的文字</p> <p class="small2">0.5em 等同于 50%比例的文字</p>
<style>
p.big{
  font-size:30px;
}

p.small{
  font-size:50%;
}
  
p.small2{
  font-size:0.5em;
}  
</style>

<p >正常大小</p>
<p class="big">30px大小的文字</p>
<p class="small">50%比例的文字</p>
<p class="small2">0.5em 等同于 50%比例的文字</p>
"); window.frames["iframe467"].document.write(decodeHtml(code467)); window.frames["iframe467"].document.close(); //load和下面的非load必需并存,因为如果代码用到了jquery就必须使用load的方式 $(window.frames["iframe467"]).load(function(){ $("#iframe467").height($("#iframe467").contents().find("body").height()+showittryitheight); }); $("#iframe467").height($("#iframe467").contents().find("body").height()+showittryitheight); alreadyWriteCode467 = code467; $("#rendering467").hide(); $("#rendered467").show(); } var tRereshRetry2DemoPanel467 = setInterval(rereshRetry2DemoPanel467,1000); var binded467 = false; $("textarea#stepcodeTextarea467").keyup(function(){ if(!binded467){ $(window).bind('beforeunload',function(){ binded467 = true; return "xxxx"; }); } var newCode = $(this).val() code467 = newCode; /*below code is replaced by function rereshRetry2DemoPanel()*/ // if(code467!=newCode){ // window.frames["iframe467"].document.write("
"); // window.frames["iframe467"].document.write(decodeHtml($("textarea#stepcodeTextarea467").val())); // window.frames["iframe467"].document.close(); // $(window.frames["iframe467"]).load(function(){ // $("#iframe467").height($("#iframe467").contents().find("body").height()+showittryitheight); // }); // code467 = newCode; // } }); $(".tryButton467").click(function(){ $("#tryDiv467").show(); $("#stepcodeTextarea467").focus(); $("#stepcodeTextarea467").height(200); $("#iframe467").height(0); window.frames["iframe467"].document.write("
"); window.frames["iframe467"].document.write(decodeHtml($("textarea#stepcodeTextarea467").val())); window.frames["iframe467"].document.close(); //load和下面的非load必需并存,因为如果代码用到了jquery就必须使用load的方式 $(window.frames["iframe467"]).load(function(){ $("#iframe467").height($("#iframe467").contents().find("body").height()+showittryitheight); }); $("#iframe467").height($("#iframe467").contents().find("body").height()+showittryitheight); this.scrollIntoView(true); editor467.focus(); editor467.setSize(null, "250"); $("#rendering467").hide(); $("#rendered467").hide(); }); var mixedMode = { name: "htmlmixed", scriptTypes: [{matches: /\/x-handlebars-template|\/x-mustache/i, mode: null}, {matches: /(text|application)\/(x-)?vb(a|script)/i, mode: "vbscript"}] }; var editor467 = CodeMirror.fromTextArea(document.getElementById("stepcodeTextarea467"), { lineNumbers: true, styleActiveLine: true, matchBrackets: true, mode:"text/html", theme:"eclipse", selectionPointer: true, lineWrapping: true, extraKeys: { "Alt-/": "autocomplete", "Ctrl-F": "findPersistent", "F8": function(cm) { cm.setOption("fullScreen", !cm.getOption("fullScreen")); }, "Esc": function(cm) { if (cm.getOption("fullScreen")) cm.setOption("fullScreen", false); } } }); editor467.on("change",function(doc){ if(!binded467){ $(window).bind('beforeunload',function(){ binded467 = true; return "xxxx"; }); } var newCode = doc.getValue(); code467 = newCode; $("textarea#stepcodeTextarea467").val(newCode); if(alreadyWriteCode467!=code467){ lastModifedTime467 = new Date().getTime(); $("#rendering467").show(); $("#rendered467").hide(); } // alert(doc.getValue()); }); $(".CodeMirror").addClass("form-control"); // var editor467 = CodeMirror.fromTextArea(, { // lineNumbers: true, // styleActiveLine: true, // matchBrackets: true, // theme:"eclipse", // }); editor467.on("change",function(doc){ // alert(doc.getValue()); }); $("#tryDiv467").hide(); }); $("div.codemirrorTips span").addClass("glyphicon glyphicon-asterisk");


源代码
1. 双击选中单词 2. 三击选中整行 3. CTRL+F 查找 4. F8 全屏编辑,再次点击恢复
渲染中 渲染完成
效果
示例 2 :

风格

font-style:
normal 标准字体
italic 斜体
"); window.frames["iframe_show468"].document.write(decodeHtml($("textarea#stepcodeTextarea468").val())); window.frames["iframe_show468"].document.close(); $(window.frames["iframe_show468"]).load(function(){ $("#iframe_show468").height($("#iframe_show468").contents().find("body").height()+showittryitheight); }); $("#iframe_show468").height($("#iframe_show468").contents().find("body").height()+showittryitheight); setTimeout(function(){ },500); });
运行效果
<style> p.n{ font-style:normal; } p.i{ font-style:italic; } </style> <p >标准字体</p> <p class="n">标准字体</p> <p class="i">斜体</p>
<style>
p.n{
  font-style:normal;
}

p.i{
  font-style:italic;
}
</style>

<p >标准字体</p>
<p class="n">标准字体</p>
<p class="i">斜体</p>
"); window.frames["iframe468"].document.write(decodeHtml(code468)); window.frames["iframe468"].document.close(); //load和下面的非load必需并存,因为如果代码用到了jquery就必须使用load的方式 $(window.frames["iframe468"]).load(function(){ $("#iframe468").height($("#iframe468").contents().find("body").height()+showittryitheight); }); $("#iframe468").height($("#iframe468").contents().find("body").height()+showittryitheight); alreadyWriteCode468 = code468; $("#rendering468").hide(); $("#rendered468").show(); } var tRereshRetry2DemoPanel468 = setInterval(rereshRetry2DemoPanel468,1000); var binded468 = false; $("textarea#stepcodeTextarea468").keyup(function(){ if(!binded468){ $(window).bind('beforeunload',function(){ binded468 = true; return "xxxx"; }); } var newCode = $(this).val() code468 = newCode; /*below code is replaced by function rereshRetry2DemoPanel()*/ // if(code468!=newCode){ // window.frames["iframe468"].document.write("
"); // window.frames["iframe468"].document.write(decodeHtml($("textarea#stepcodeTextarea468").val())); // window.frames["iframe468"].document.close(); // $(window.frames["iframe468"]).load(function(){ // $("#iframe468").height($("#iframe468").contents().find("body").height()+showittryitheight); // }); // code468 = newCode; // } }); $(".tryButton468").click(function(){ $("#tryDiv468").show(); $("#stepcodeTextarea468").focus(); $("#stepcodeTextarea468").height(200); $("#iframe468").height(0); window.frames["iframe468"].document.write("
"); window.frames["iframe468"].document.write(decodeHtml($("textarea#stepcodeTextarea468").val())); window.frames["iframe468"].document.close(); //load和下面的非load必需并存,因为如果代码用到了jquery就必须使用load的方式 $(window.frames["iframe468"]).load(function(){ $("#iframe468").height($("#iframe468").contents().find("body").height()+showittryitheight); }); $("#iframe468").height($("#iframe468").contents().find("body").height()+showittryitheight); this.scrollIntoView(true); editor468.focus(); editor468.setSize(null, "250"); $("#rendering468").hide(); $("#rendered468").hide(); }); var mixedMode = { name: "htmlmixed", scriptTypes: [{matches: /\/x-handlebars-template|\/x-mustache/i, mode: null}, {matches: /(text|application)\/(x-)?vb(a|script)/i, mode: "vbscript"}] }; var editor468 = CodeMirror.fromTextArea(document.getElementById("stepcodeTextarea468"), { lineNumbers: true, styleActiveLine: true, matchBrackets: true, mode:"text/html", theme:"eclipse", selectionPointer: true, lineWrapping: true, extraKeys: { "Alt-/": "autocomplete", "Ctrl-F": "findPersistent", "F8": function(cm) { cm.setOption("fullScreen", !cm.getOption("fullScreen")); }, "Esc": function(cm) { if (cm.getOption("fullScreen")) cm.setOption("fullScreen", false); } } }); editor468.on("change",function(doc){ if(!binded468){ $(window).bind('beforeunload',function(){ binded468 = true; return "xxxx"; }); } var newCode = doc.getValue(); code468 = newCode; $("textarea#stepcodeTextarea468").val(newCode); if(alreadyWriteCode468!=code468){ lastModifedTime468 = new Date().getTime(); $("#rendering468").show(); $("#rendered468").hide(); } // alert(doc.getValue()); }); $(".CodeMirror").addClass("form-control"); // var editor468 = CodeMirror.fromTextArea(, { // lineNumbers: true, // styleActiveLine: true, // matchBrackets: true, // theme:"eclipse", // }); editor468.on("change",function(doc){ // alert(doc.getValue()); }); $("#tryDiv468").hide(); }); $("div.codemirrorTips span").addClass("glyphicon glyphicon-asterisk");


源代码
1. 双击选中单词 2. 三击选中整行 3. CTRL+F 查找 4. F8 全屏编辑,再次点击恢复
渲染中 渲染完成
效果
示例 3 :

粗细

属性 font-weight
normal 标准粗细
bold 粗一点
"); window.frames["iframe_show469"].document.write(decodeHtml($("textarea#stepcodeTextarea469").val())); window.frames["iframe_show469"].document.close(); $(window.frames["iframe_show469"]).load(function(){ $("#iframe_show469").height($("#iframe_show469").contents().find("body").height()+showittryitheight); }); $("#iframe_show469").height($("#iframe_show469").contents().find("body").height()+showittryitheight); setTimeout(function(){ },500); });
运行效果
<style> p.n{ font-weight:normal; } p.b{ font-weight:bold; } </style> <p >标准字体</p> <p class="n">标准字体</p> <p class="b">粗一点</p>
<style>
p.n{
  font-weight:normal;
}
p.b{
  font-weight:bold;
}
</style>

<p >标准字体</p>
<p class="n">标准字体</p>
<p class="b">粗一点</p>
"); window.frames["iframe469"].document.write(decodeHtml(code469)); window.frames["iframe469"].document.close(); //load和下面的非load必需并存,因为如果代码用到了jquery就必须使用load的方式 $(window.frames["iframe469"]).load(function(){ $("#iframe469").height($("#iframe469").contents().find("body").height()+showittryitheight); }); $("#iframe469").height($("#iframe469").contents().find("body").height()+showittryitheight); alreadyWriteCode469 = code469; $("#rendering469").hide(); $("#rendered469").show(); } var tRereshRetry2DemoPanel469 = setInterval(rereshRetry2DemoPanel469,1000); var binded469 = false; $("textarea#stepcodeTextarea469").keyup(function(){ if(!binded469){ $(window).bind('beforeunload',function(){ binded469 = true; return "xxxx"; }); } var newCode = $(this).val() code469 = newCode; /*below code is replaced by function rereshRetry2DemoPanel()*/ // if(code469!=newCode){ // window.frames["iframe469"].document.write("
"); // window.frames["iframe469"].document.write(decodeHtml($("textarea#stepcodeTextarea469").val())); // window.frames["iframe469"].document.close(); // $(window.frames["iframe469"]).load(function(){ // $("#iframe469").height($("#iframe469").contents().find("body").height()+showittryitheight); // }); // code469 = newCode; // } }); $(".tryButton469").click(function(){ $("#tryDiv469").show(); $("#stepcodeTextarea469").focus(); $("#stepcodeTextarea469").height(200); $("#iframe469").height(0); window.frames["iframe469"].document.write("
"); window.frames["iframe469"].document.write(decodeHtml($("textarea#stepcodeTextarea469").val())); window.frames["iframe469"].document.close(); //load和下面的非load必需并存,因为如果代码用到了jquery就必须使用load的方式 $(window.frames["iframe469"]).load(function(){ $("#iframe469").height($("#iframe469").contents().find("body").height()+showittryitheight); }); $("#iframe469").height($("#iframe469").contents().find("body").height()+showittryitheight); this.scrollIntoView(true); editor469.focus(); editor469.setSize(null, "250"); $("#rendering469").hide(); $("#rendered469").hide(); }); var mixedMode = { name: "htmlmixed", scriptTypes: [{matches: /\/x-handlebars-template|\/x-mustache/i, mode: null}, {matches: /(text|application)\/(x-)?vb(a|script)/i, mode: "vbscript"}] }; var editor469 = CodeMirror.fromTextArea(document.getElementById("stepcodeTextarea469"), { lineNumbers: true, styleActiveLine: true, matchBrackets: true, mode:"text/html", theme:"eclipse", selectionPointer: true, lineWrapping: true, extraKeys: { "Alt-/": "autocomplete", "Ctrl-F": "findPersistent", "F8": function(cm) { cm.setOption("fullScreen", !cm.getOption("fullScreen")); }, "Esc": function(cm) { if (cm.getOption("fullScreen")) cm.setOption("fullScreen", false); } } }); editor469.on("change",function(doc){ if(!binded469){ $(window).bind('beforeunload',function(){ binded469 = true; return "xxxx"; }); } var newCode = doc.getValue(); code469 = newCode; $("textarea#stepcodeTextarea469").val(newCode); if(alreadyWriteCode469!=code469){ lastModifedTime469 = new Date().getTime(); $("#rendering469").show(); $("#rendered469").hide(); } // alert(doc.getValue()); }); $(".CodeMirror").addClass("form-control"); // var editor469 = CodeMirror.fromTextArea(, { // lineNumbers: true, // styleActiveLine: true, // matchBrackets: true, // theme:"eclipse", // }); editor469.on("change",function(doc){ // alert(doc.getValue()); }); $("#tryDiv469").hide(); }); $("div.codemirrorTips span").addClass("glyphicon glyphicon-asterisk");


源代码
1. 双击选中单词 2. 三击选中整行 3. CTRL+F 查找 4. F8 全屏编辑,再次点击恢复
渲染中 渲染完成
效果
示例 4 :

字库

属性font-family
"); window.frames["iframe_show470"].document.write(decodeHtml($("textarea#stepcodeTextarea470").val())); window.frames["iframe_show470"].document.close(); $(window.frames["iframe_show470"]).load(function(){ $("#iframe_show470").height($("#iframe_show470").contents().find("body").height()+showittryitheight); }); $("#iframe_show470").height($("#iframe_show470").contents().find("body").height()+showittryitheight); setTimeout(function(){ },500); });
运行效果
<style> p.f1{ font-family:"Times New Roman"; } p.f2{ font-family:Arial; } p.f3{ font-family:宋体; } p.f4{ font-family:黑体; } p.f5{ font-family:楷体; } p.f6{ font-family:微软雅黑; } </style> <p >默认字库 font family:default </p> <p class="f1">设置字库 font-family: Times New Roman</p> <p class="f2">设置字库 font-family: Arial</p> <p class="f3">设置字库 font-family: 宋体, 这种字体是IE默认字体</p> <p class="f4">设置字库 font-family: 黑体</p> <p class="f5">设置字库 font-family: 楷体</p> <p class="f6">设置字库 font-family: 微软雅黑, 这个字体是火狐默认字体</p>
"); window.frames["iframe470"].document.write(decodeHtml(code470)); window.frames["iframe470"].document.close(); //load和下面的非load必需并存,因为如果代码用到了jquery就必须使用load的方式 $(window.frames["iframe470"]).load(function(){ $("#iframe470").height($("#iframe470").contents().find("body").height()+showittryitheight); }); $("#iframe470").height($("#iframe470").contents().find("body").height()+showittryitheight); alreadyWriteCode470 = code470; $("#rendering470").hide(); $("#rendered470").show(); } var tRereshRetry2DemoPanel470 = setInterval(rereshRetry2DemoPanel470,1000); var binded470 = false; $("textarea#stepcodeTextarea470").keyup(function(){ if(!binded470){ $(window).bind('beforeunload',function(){ binded470 = true; return "xxxx"; }); } var newCode = $(this).val() code470 = newCode; /*below code is replaced by function rereshRetry2DemoPanel()*/ // if(code470!=newCode){ // window.frames["iframe470"].document.write("
"); // window.frames["iframe470"].document.write(decodeHtml($("textarea#stepcodeTextarea470").val())); // window.frames["iframe470"].document.close(); // $(window.frames["iframe470"]).load(function(){ // $("#iframe470").height($("#iframe470").contents().find("body").height()+showittryitheight); // }); // code470 = newCode; // } }); $(".tryButton470").click(function(){ $("#tryDiv470").show(); $("#stepcodeTextarea470").focus(); $("#stepcodeTextarea470").height(200); $("#iframe470").height(0); window.frames["iframe470"].document.write("
"); window.frames["iframe470"].document.write(decodeHtml($("textarea#stepcodeTextarea470").val())); window.frames["iframe470"].document.close(); //load和下面的非load必需并存,因为如果代码用到了jquery就必须使用load的方式 $(window.frames["iframe470"]).load(function(){ $("#iframe470").height($("#iframe470").contents().find("body").height()+showittryitheight); }); $("#iframe470").height($("#iframe470").contents().find("body").height()+showittryitheight); this.scrollIntoView(true); editor470.focus(); editor470.setSize(null, "250"); $("#rendering470").hide(); $("#rendered470").hide(); }); var mixedMode = { name: "htmlmixed", scriptTypes: [{matches: /\/x-handlebars-template|\/x-mustache/i, mode: null}, {matches: /(text|application)\/(x-)?vb(a|script)/i, mode: "vbscript"}] }; var editor470 = CodeMirror.fromTextArea(document.getElementById("stepcodeTextarea470"), { lineNumbers: true, styleActiveLine: true, matchBrackets: true, mode:"text/html", theme:"eclipse", selectionPointer: true, lineWrapping: true, extraKeys: { "Alt-/": "autocomplete", "Ctrl-F": "findPersistent", "F8": function(cm) { cm.setOption("fullScreen", !cm.getOption("fullScreen")); }, "Esc": function(cm) { if (cm.getOption("fullScreen")) cm.setOption("fullScreen", false); } } }); editor470.on("change",function(doc){ if(!binded470){ $(window).bind('beforeunload',function(){ binded470 = true; return "xxxx"; }); } var newCode = doc.getValue(); code470 = newCode; $("textarea#stepcodeTextarea470").val(newCode); if(alreadyWriteCode470!=code470){ lastModifedTime470 = new Date().getTime(); $("#rendering470").show(); $("#rendered470").hide(); } // alert(doc.getValue()); }); $(".CodeMirror").addClass("form-control"); // var editor470 = CodeMirror.fromTextArea(, { // lineNumbers: true, // styleActiveLine: true, // matchBrackets: true, // theme:"eclipse", // }); editor470.on("change",function(doc){ // alert(doc.getValue()); }); $("#tryDiv470").hide(); }); $("div.codemirrorTips span").addClass("glyphicon glyphicon-asterisk");


源代码
1. 双击选中单词 2. 三击选中整行 3. CTRL+F 查找 4. F8 全屏编辑,再次点击恢复
渲染中 渲染完成
效果
示例 5 :

声明在一起

把大小,风格,粗细,字库都写在一行里面
"); window.frames["iframe_show471"].document.write(decodeHtml($("textarea#stepcodeTextarea471").val())); window.frames["iframe_show471"].document.close(); $(window.frames["iframe_show471"]).load(function(){ $("#iframe_show471").height($("#iframe_show471").contents().find("body").height()+showittryitheight); }); $("#iframe_show471").height($("#iframe_show471").contents().find("body").height()+showittryitheight); setTimeout(function(){ },500); });
运行效果
<style> p.all{ font:italic bold 30px "Times New Roman"; } </style> <p>默认字体</p> <p class="all">斜体的 粗体的 大小是30px的 "Times New Roman" </p>
<style>
p.all{
   font:italic bold 30px "Times New Roman";
}

</style>

<p>默认字体</p>

<p class="all">斜体的 粗体的 大小是30px的 "Times New Roman" </p>
"); window.frames["iframe471"].document.write(decodeHtml(code471)); window.frames["iframe471"].document.close(); //load和下面的非load必需并存,因为如果代码用到了jquery就必须使用load的方式 $(window.frames["iframe471"]).load(function(){ $("#iframe471").height($("#iframe471").contents().find("body").height()+showittryitheight); }); $("#iframe471").height($("#iframe471").contents().find("body").height()+showittryitheight); alreadyWriteCode471 = code471; $("#rendering471").hide(); $("#rendered471").show(); } var tRereshRetry2DemoPanel471 = setInterval(rereshRetry2DemoPanel471,1000); var binded471 = false; $("textarea#stepcodeTextarea471").keyup(function(){ if(!binded471){ $(window).bind('beforeunload',function(){ binded471 = true; return "xxxx"; }); } var newCode = $(this).val() code471 = newCode; /*below code is replaced by function rereshRetry2DemoPanel()*/ // if(code471!=newCode){ // window.frames["iframe471"].document.write("
"); // window.frames["iframe471"].document.write(decodeHtml($("textarea#stepcodeTextarea471").val())); // window.frames["iframe471"].document.close(); // $(window.frames["iframe471"]).load(function(){ // $("#iframe471").height($("#iframe471").contents().find("body").height()+showittryitheight); // }); // code471 = newCode; // } }); $(".tryButton471").click(function(){ $("#tryDiv471").show(); $("#stepcodeTextarea471").focus(); $("#stepcodeTextarea471").height(200); $("#iframe471").height(0); window.frames["iframe471"].document.write("
"); window.frames["iframe471"].document.write(decodeHtml($("textarea#stepcodeTextarea471").val())); window.frames["iframe471"].document.close(); //load和下面的非load必需并存,因为如果代码用到了jquery就必须使用load的方式 $(window.frames["iframe471"]).load(function(){ $("#iframe471").height($("#iframe471").contents().find("body").height()+showittryitheight); }); $("#iframe471").height($("#iframe471").contents().find("body").height()+showittryitheight); this.scrollIntoView(true); editor471.focus(); editor471.setSize(null, "250"); $("#rendering471").hide(); $("#rendered471").hide(); }); var mixedMode = { name: "htmlmixed", scriptTypes: [{matches: /\/x-handlebars-template|\/x-mustache/i, mode: null}, {matches: /(text|application)\/(x-)?vb(a|script)/i, mode: "vbscript"}] }; var editor471 = CodeMirror.fromTextArea(document.getElementById("stepcodeTextarea471"), { lineNumbers: true, styleActiveLine: true, matchBrackets: true, mode:"text/html", theme:"eclipse", selectionPointer: true, lineWrapping: true, extraKeys: { "Alt-/": "autocomplete", "Ctrl-F": "findPersistent", "F8": function(cm) { cm.setOption("fullScreen", !cm.getOption("fullScreen")); }, "Esc": function(cm) { if (cm.getOption("fullScreen")) cm.setOption("fullScreen", false); } } }); editor471.on("change",function(doc){ if(!binded471){ $(window).bind('beforeunload',function(){ binded471 = true; return "xxxx"; }); } var newCode = doc.getValue(); code471 = newCode; $("textarea#stepcodeTextarea471").val(newCode); if(alreadyWriteCode471!=code471){ lastModifedTime471 = new Date().getTime(); $("#rendering471").show(); $("#rendered471").hide(); } // alert(doc.getValue()); }); $(".CodeMirror").addClass("form-control"); // var editor471 = CodeMirror.fromTextArea(, { // lineNumbers: true, // styleActiveLine: true, // matchBrackets: true, // theme:"eclipse", // }); editor471.on("change",function(doc){ // alert(doc.getValue()); }); $("#tryDiv471").hide(); }); $("div.codemirrorTips span").addClass("glyphicon glyphicon-asterisk");


源代码
1. 双击选中单词 2. 三击选中整行 3. CTRL+F 查找 4. F8 全屏编辑,再次点击恢复
渲染中 渲染完成
效果


HOW2J公众号,关注后实时获知布最新的教程和优惠活动,谢谢。


关于 前端部分-CSS-字体 的提问

尽量提供截图代码异常信息,有助于分析和解决问题。 也可进本站QQ群交流: 620943819
提问尽量提供完整的代码,环境描述,越是有利于问题的重现,您的问题越能更快得到解答。
对教程中代码有疑问,请提供是哪个步骤,哪一行有疑问,这样便于快速定位问题,提高问题得到解答的速度
在已经存在的几千个提问里,有相当大的比例,是因为使用了和站长不同版本的开发环境导致的,比如 jdk, eclpise, idea, mysql,tomcat 等等软件的版本不一致。
请使用和站长一样的版本,可以节约自己大量的学习时间。 站长把教学中用的软件版本整理了,都统一放在了这里, 方便大家下载: http://how2j.cn/k/helloworld/helloworld-version/1718.html

上传截图