zoukankan      html  css  js  c++  java
  • 项目中遇到的问题

    1.如何选取技术栈

    主要是显示模块,View是重点,数据可重复性高,用react比较合适。 后端要追踪点击次数,所以用java的rest api

    but failed, cannot render react component,

    2. Choose Bootstrap as UI framework

     1) How to make input box transparent:

    background-color:rgba(0,0,0,0) !important;
    

     2) Put icon with input and search button:
    use input-group to combine input and button,  use <i> to add icon before input element

     3) 创建card component,responsive rectangular, with content

    <div class="square">
      <div class="content">
        Hello!
      </div>
    </div>
    .square {
      position: relative;
      width: 50%;
    }
    
    .square:after {
      content: "";
      display: block;
      padding-bottom: 100%;
    }
    
    .content {
      position: absolute;
      width: 100%;
      height: 100%;
    }

    https://codepen.io/bkilpat/pen/rVKOyj

    4) SVG中的文字水平垂直居中于circle:

    <svg width="100%" height="height">
        <circle cx="50%" cy="50%" r="40%" fill="#fb4f9f" stroke="white" stroke-width="5%" />
         <text  dy='.3em'  fill="white" fontSize={25} fontFamily="Verdana" x="50%" y="50%" text-anchor="middle">你好</text>
        
    </svg>
  • 相关阅读:
    LAMP搭建示例
    MySQL主从
    list多字段去重
    mysql按照某一个条件进行分组统计,同时又要保证一个相同字段的数据只统计一次
    sentinel自定义异常处理
    sentinel规则持久化
    zookeeper
    shiro
    iframe之间传递参数
    自定义标签
  • 原文地址:https://www.cnblogs.com/ariel-zhang/p/7109960.html
Copyright © 2011-2022 走看看