zoukankan      html  css  js  c++  java
  • CSS3新特性介绍

    <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
    <%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    %>
    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
      <head>
      <style type="text/css">
        [class^="cl"]{
        font-size: 30px;
        color: red;
        }
        [class^="cl"]{
        font-size: 30px;
        color: red;
        }
        [class$="cl"]{
        font-size: 30px;
        color: red;
        }
        [class*="cl"]{
        font-size: 30px;
        color: red;
        }
        p:before{
        content:"回家回家";
        }
        p:after{
        content:"抓紧回家";
        }
        :root{background-color: blud;}
        :empty{background-color: yellow;}
        :target h3{color: red;}
        </style>
      </head>
      <p class="cl11">赶紧放学!!!!!!!!</p>
      <p class="cl22">赶紧放学!!!!!!!!</p>
      <p class="11cl">赶紧放学!!!!!!!!</p>
      <p class="22cl">赶紧放学!!!!!!!!</p>
      
      <p>赶紧放学!!!!!!!!<br/>
         赶紧放学!!!!!!!!<br/>
         赶紧放学!!!!!!!!<br/>
         赶紧放学!!!!!!!!<br/>
      </p>
      <table>
        <tr><td>a</td><td>b</td></tr>
        <tr><td>c</td><td></td></tr>
        </table>
       
       
      <a href="#html">html</a>
      <a href="#jsp">jsp</a>
      <div id="html">
      <h3>点击</h3>
      </div>
      <div id="jsp">
      <h3>点击</h3>
      </div>
      
      <body>
      
      </body>
    </html>

     
     
  • 相关阅读:
    doT js模板入门
    @SuppressWarnings忽略警告
    SQL注入
    【转】Oracle 执行动态语句
    连接数据库——模拟ATM机查、存、取、开户功能
    Oracle 函数中动态执行语句
    PowerDesigner建表
    数据库表设计—水电费缴费系统
    GUID全局唯一标识符相关知识了解
    Oracle数据库建表+添加数据练习
  • 原文地址:https://www.cnblogs.com/lizeyang/p/6268921.html
Copyright © 2011-2022 走看看