wxml:(父级页面) <view class="pageLi flex" catchtap="toInstitute" data-name="{{item.shop_name}}" data-id="{{item.id}}"> <image src='{{item.headimg}}' mode= ...
分类:
微信 时间:
2020-09-17 17:40:22
阅读次数:
63
在 flex 和 grid 布局出现的今天,我依然听到有人面试了,圣杯布局、双飞翼布局。 虽然网上一搜一大把,但不自己写一篇,总觉得是自我学习过程中的一种遗憾,一起致敬经典 圣杯布局和双飞翼布局 在如今的网页中我们经常可以看到左、中、右三列,其中左右两列宽度固定,中间宽度自适应的布局方式,并且让中间 ...
分类:
其他好文 时间:
2020-09-17 17:10:26
阅读次数:
26
<style> #Marquee{ height:20px;overflow:hidden; display:inline-block;-webkit-box-flex: 1;-webkit-flex: 1;flex: 1; } #Marquee p{ height:20px;overflow:hi ...
分类:
其他好文 时间:
2020-09-17 15:40:22
阅读次数:
33
发送按钮悬停效果 效果图 HTML <div id="send-btn"> <button> // 这里是一个svg的占位 Send </button> </div> CSS #send-btn{ display: flex; align-items: center; justify-content ...
分类:
Web程序 时间:
2020-09-17 11:59:12
阅读次数:
50
Spring集成WebService WebService介绍 WebService概念 WebService是一个软件系统,为了支持跨网络的机器间相互操作交互而设计。 Web Service服务通常被定义为一组模块化的API,它们可以通过网络进行调用,来执行远程系统的请求服务。 WebServic ...
分类:
编程语言 时间:
2020-09-09 19:24:01
阅读次数:
80
一.发送效果 HTML <div id="send-btn"> <button> // 这里是一个svg的占位 Send </button> </div> CSS #send-btn{ display: flex; align-items: center; justify-content: cent ...
分类:
Web程序 时间:
2020-09-09 18:51:19
阅读次数:
50
可能在初学前端的同学,会有以下疑惑: (没错,那同学就是我) 1、为什么在浮动元素的父元素上添加overflow:hidden,能处理高度塌陷? 2、遇到外边距合并,为什么要在父元素上添加overflow:hidden能解决? 首先来了解下 什么是BFC吧! 1、按我的理解,BFC是一个大的隔离独立 ...
分类:
其他好文 时间:
2020-08-26 19:00:24
阅读次数:
63
本教程案例在线演示有路网PC端有路网移动端免费配套视频教程免费配套视频教程教程配套源码资源教程配套源码资源制作有路网水平导航菜单category-nav.css.red-nav{height:38px;background-color:#d80000;width:100%;}.red-navul{display:flex;width:1200px;margin:0auto;}.red-navli{
分类:
移动开发 时间:
2020-08-13 22:23:09
阅读次数:
137
场景 使用了第三方的组件UI,在调用事件时想要获取事件的默认值及默认值之外的其他参数值,如:index 代码如下: <div style="display: flex; padding-top: 20px;" v-for="(date, index) in dynamicFormData.dates ...
分类:
其他好文 时间:
2020-08-07 12:33:37
阅读次数:
93
现在写法: display: flex;flex-direction: row;justify-content: center;align-items: center; 对应旧的写法:display: -webkit-flex;-webkit-flex-direction: row;-webkit- ...
分类:
其他好文 时间:
2020-08-05 19:41:56
阅读次数:
71