Home  >  Q&A  >  body text

html5 - html页面源码里找不到css文件引用,那html是如何引入css样式表的?

jsp文件里里用到了样式表,但是没有语句引入css文件,那些样式怎么做到的?

<%@ page language="java" contentType="textml; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/base.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>首页</title>
<script>
    var theme_color = '${theme_color}';
</script>
</head> 
<body>
    <p class="i-slide">
        <section>
        <!-- 如果需要导航按钮 -->
        <a class="arrow-left s-arrow" href="javascript:void(0)"></a>
        <a class="arrow-right s-arrow" href="javascript:void(0)"></a>
        <!-- 图片位置 -->

譬如class="arrow-left s-arrow"这些是怎样发挥作用的?这jsp文件里没有引入css文件啊
没有看到 <link href="style.css" rel="stylesheet" />之类的
注:base.jsp里也没有css文件导入

怪我咯怪我咯2743 days ago1099

reply all(3)I'll reply

  • 黄舟

    黄舟2017-04-17 14:41:32

    Look at the base jsp file. Judging from the name, some basic configuration and sharing pages are probably there

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 14:41:32

    Press F12 on the browser, open the network tab, and you can see which css files are loaded. Then click on the field as shown to jump to the loaded row. Everything becomes clear.

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 14:41:32

    It’s all in base.jsp

    reply
    0
  • Cancelreply