zoukankan      html  css  js  c++  java
  • 一个好看的Input样式

    <div class="search">
    <input type="text">
    </div>

    .search{
    text-align: center;
    }
    .search input{
    margin: 0 auto;
    padding: 0 10px;
    536px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 2px;
    color: #fff;
    background: rgba(0,0,0,.15);
      //font-family: "helvetica neue",arial,sans-serif;
    }

    fullPage插件使用:
    head引入css文件
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/2.8.8/jquery.fullPage.css">

    在body最后引入cdn
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/2.8.8/vendors/jquery.easings.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/2.8.8/jquery.fullPage.js"></script>
    <div id="fullpage">
    <div class="section">
    <div>
    <div class="search">
    <input type="text">
    </div>
    </div>
    </div>
    <div class="section">第二页</div>
    <div class="section">第三页</div>
    <div class="section">第四页</div>
    </div>
    $(document).ready(function(){
    $('#fullpage').fullpage({
    sectionsColor:['green','blue','gray','yellow'],
    controlArrows:false,
    scrollingSpeed:2000,
    anchors:['page1','page2','page3','page4'],
    loopTop:true,
    loopBottom:true,
    loopHorizontal:false,
    scrollBar:true,
    continuousVertical:true,
    menu:'#menu',
    navigation:true,
    navigationTooltips:['aaa','bbb','ccc','ddd'],

    });
    })


  • 相关阅读:
    web集群和分布式服务以及消息补偿机制几种方案
    什么是幂等性
    Dubbo面试常见问题
    mysql 缓存机制
    mysql面试题
    在IDEA中用Gradle构建项目时使用lombok以依赖出现出错
    jdbcType与javaType的对应关系
    通用Mapper的使用
    Java各种对象(PO,BO,VO,DTO,POJO,DAO,Entity,JavaBean,JavaBeans)的区分
    dubbo面试题
  • 原文地址:https://www.cnblogs.com/MianShan/p/5991774.html
Copyright © 2011-2022 走看看