
.CSS文件中的注释这样写对不对
.left/*注释放在选择器“.left”和大括号“{”之间*/{font-family:"エディタ;font-size:9pt;color:#000000;text-d...
.left
/* 注释放在选择器“.left”和大括号“{”之间 */
{
font-family: "エディタ;
font-size: 9pt;
color: #000000;
text-decoration: none;
}
a:link
{
font-family: "エディタ;
font-size: 9pt;
color: #000000;
text-decoration: none;
} 展开
/* 注释放在选择器“.left”和大括号“{”之间 */
{
font-family: "エディタ;
font-size: 9pt;
color: #000000;
text-decoration: none;
}
a:link
{
font-family: "エディタ;
font-size: 9pt;
color: #000000;
text-decoration: none;
} 展开
4个回答
展开全部
最好不要这样写,我们要有一个规范的编码方式,其实做技术不一定有多高超的技术,但一定要有一个号的编码习惯。
你可以这样
/*.left
{
font-family: "エディタ;
font-size: 9pt;
color: #000000;
text-decoration: none;
}
*/
你可以这样
/*.left
{
font-family: "エディタ;
font-size: 9pt;
color: #000000;
text-decoration: none;
}
*/
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
放在选择器的上方就可以了..如:
/*this is content*/
.content{
.....
}
/*this is content*/
.content{
.....
}
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
在/* */ 符号之间的都是注释内容
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
注释放哪里都行``
只要别把单词分开就行
只要别把单词分开就行
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询