介系李煤油做过的PPT via reveal.js (javascript框架)

2019-11-19 14:43:31 浏览数 (1)

大渣好,我系股甜乐,我四渣渣砸,课件制作,介系李煤油做过的船新版本,挤需体验三番钟,不发一婚钱,里造会杠我一样,爱象借款设计。

Talk is cheap, Show me the code!

代码语言:javascript复制
<!doctype html>
<html lang="en">

  <head>
    <meta charset="utf-8">

    <title>Defence for Thesis template</title>

    <meta name="description" content="A framework for easily creating beautiful presentations using HTML">
    <meta name="author" content="Hakim El Hattab">

    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/reveal.css">
    <link rel="stylesheet" href="css/theme/black.css" id="theme">

    <!-- Theme used for syntax highlighting of code -->
    <link rel="stylesheet" href="lib/css/monokai.css">

    <!-- Printing and PDF exports -->
    <script>
      var link = document.createElement( 'link' );
      link.rel = 'stylesheet';
      link.type = 'text/css';
      link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
      document.getElementsByTagName( 'head' )[0].appendChild( link );
    </script>

    <!--[if lt IE 9]>
    <script src="lib/js/html5shiv.js"></script>
    <![endif]-->
  </head>

  <body>

    <div class="reveal">

      <!-- Any section element inside of this container is displayed as a slide -->
      <div class="slides">
        <section data-transition="slide" data-background="#4d7e65" data-background-transition="zoom">
          <h1>毕业设计标题</h1>
          <h3>理工类</h3>
          <p>
            <small>答辩人: <a href="https://www.xuexi.cn">艾谁谁</a> @Home</small>
            <br>
            <a href="#" class="navigate-down">
              <img width="256" height="256" data-src="img/url.png" alt="Down arrow">
            </a>
          </p>
        </section>

        <section>
          <h2>示例标题a Sample</h2>
          <ul>
            <li>示例文字 Sample 示例文字 Sample 示例文字 Sample</li>
            <li>示例文字 Sample</li>
            <li>示例文字 Sample</li>
            <li>示例文字 Sample</li>
            <li>示例文字 Sample</li>
            <li>...</li>
          </ul>
        </section>

        <section>
          <h2>示例标题b Sample</h2>
          <ol>
            <li>示例文字 Sample</li>
            <li>示例文字 Sample</li>
            <li>示例文字 Sample</li>
          </ol>
        </section>

        <!-- Example of nested vertical slides -->
        <section>
          <section>
            <h5>演示1:示例标题 Sample</h5>
            <a href="#" class="navigate-down">
              <img width="513" height="340" data-src="img/1.jpg" alt="Down arrow">
            </a>
          </section>
          <section>
            <h5>演示2:示例标题 Sample</h5>
            <a href="#" class="navigate-down">
              <img width="280" height="214" data-src="img/2.gif" alt="Down arrow">
            </a>
          </section>
          <section>
            <h5>演示3:示例标题 Sample</h5>
            <a href="#" class="navigate-down">
              <img width="557" height="288" data-src="img/3.jpg" alt="Down arrow">
            </a>
          </section>
          <section>
            <h5>演示4:示例标题 Sample</h5>
            <a href="#/2">
              <img width="500" height="333" data-src="img/4.jpeg" alt="Up arrow">
            </a>
          </section>
        </section>

        <section>
          <section id="fragments">
            <h2>优势所在</h2>
            <p>示例文字 Sample</p>
            <p class="fragment">示例文字 Sample</p>
            <p><span class="fragment">图例</span> <span class="fragment">表格</span> <span class="fragment">文献</span> <span class="fragment highlight-red">示例文字 Sample</span> </p>
            <p class="fragment">示例文字 Sample?</p>

            <aside class="notes">
              This slide has fragments which are also stepped through in the notes window.
            </aside>
          </section>
          <section>
            <h2>待解决的问题</h2>
            <p>示例文字 Sample示例文字 Sample示例文字 Sample:</p>
            <p class="fragment grow">示例文字 Sample</p>
            <p class="fragment shrink">示例文字 Sample</p>
            <p>
              <span style="display: inline-block;" class="fragment fade-right">示例文字 Sample、</span>
              <span style="display: inline-block;" class="fragment fade-up">示例文字 Sample、</span>
              <span style="display: inline-block;" class="fragment fade-down">示例文字 Sample、</span>
              <span style="display: inline-block;" class="fragment fade-left">示例文字 Sample</span>
            </p>
            <p class="fragment fade-in-then-out">示例文字 Sample</p>
            <p class="fragment fade-in-then-semi-out">示例文字 Sample示例文字 Sample</p>
            <p>目标:<span class="fragment highlight-red">美观</span> <span class="fragment highlight-blue">高效</span> <span class="fragment highlight-green">一致性</span></p>
          </section>
        </section>


        <section data-transition="slide" data-background="#4d7e65" data-background-transition="zoom">
          <h2>进度安排</h2>
          <ol>
            <li>示例文字 Sample</li>
            <li>示例文字 Sample</li>
            <li>示例文字 Sample</li>
          </ol>
        </section>

        <section data-transition="slide" data-background="#b5533c" data-background-transition="zoom">
          <h2>结语</h2>
          <h4>谢谢大家!</h4>
          <br>
          <h3>请各位专家领导批评指正!</h3>
        </section>

      </div>

    </div>

    <script src="js/reveal.js"></script>

    <script>

      // More info https://github.com/hakimel/reveal.js#configuration
      Reveal.initialize({
        controls: true,
        progress: true,
        center: true,
        hash: true,

        transition: 'slide', // none/fade/slide/convex/concave/zoom

        // More info https://github.com/hakimel/reveal.js#dependencies
        dependencies: [
          { src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
          { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
          { src: 'plugin/highlight/highlight.js', async: true },
          { src: 'plugin/search/search.js', async: true },
          { src: 'plugin/zoom-js/zoom.js', async: true },
          { src: 'plugin/notes/notes.js', async: true }
        ]
      });
</script>

  </body>
</html>

预览结果:

0 人点赞