摘要:
<div class="page-product-list"> <div class="thumbnail"> <div class="img"> <img src="https://aecpm.alicdn.com/simba/img/TB1XotJXQfb_uJkSnhJSuvdDVXa.jpg
阅读全文
posted @ 2020-10-14 10:38
codeing-or-artist-??
阅读(543)
推荐(0)
摘要:
<div class="page-video-list"> <div class="thumbnail"> <div class="img"> <img src="https://aecpm.alicdn.com/simba/img/TB1XotJXQfb_uJkSnhJSuvdDVXa.jpg">
阅读全文
posted @ 2020-10-14 10:33
codeing-or-artist-??
阅读(1241)
推荐(0)
摘要:
<div class="title"> <p>小妇人乔和劳里为什么不能在一起</p> </div> .title{padding:10px;} .title p{background-color:#d9edf7;border-radius:15px;line-height:20px;padding:
阅读全文
posted @ 2020-09-27 11:55
codeing-or-artist-??
阅读(377)
推荐(0)
摘要:
<p class="icon"><i class="fa fa-search"></p> .icon{font-size:16px;color:#000; -webkit-text-stroke:1px white; -moz-text-stroke:1px white; -o-text-strok
阅读全文
posted @ 2020-09-24 17:23
codeing-or-artist-??
阅读(820)
推荐(0)
摘要:
.div{ width:100%; height:0px; padding-bottom:100%; position:relative; } .div img{ width:100%; height:100%; position:absolute; left:0; top:0;}
阅读全文
posted @ 2019-09-23 18:14
codeing-or-artist-??
阅读(972)
推荐(0)
摘要:
使用绝对定位 对这三栏都实现绝对定位,其中中间绝对定位的位置是上下两栏的高度,内容超出则中间部分出现流动条; 代码实现: 使用flex布局 还可以使用flex布局实现这一布局,将flex-direction设置为column,定义排列方向为竖排,还需注意的是要定义页面的整体高度为100%
阅读全文
posted @ 2019-09-23 16:08
codeing-or-artist-??
阅读(384)
推荐(0)
摘要:
主要就是这句:disable when n.disabled
阅读全文
posted @ 2018-02-10 15:04
codeing-or-artist-??
阅读(230)
推荐(0)
摘要:
小问题 把: ng-repeat="item in items " 改成 : ng-repeat=“item in items track by $index”
阅读全文
posted @ 2018-01-22 14:47
codeing-or-artist-??
阅读(190)
推荐(0)
摘要:
针对独立 scope,可以通过在对象中声明如何从外部传入参数。有以下三种绑定策略: @ - 使用 DOM 属性值单项绑定到指令 scope 中。此时绑定的值总是一个字符串,因为 DOM 的属性值是一个字符串。 = - 在父 scope 和指令 scope 之间建立双向绑定。 & - 使用父 scop
阅读全文
posted @ 2017-12-23 10:37
codeing-or-artist-??
阅读(169)
推荐(0)
摘要:
app.directive('mansory',function(){ return { controller:function($scope){ this.changed = function(){ $scope.changed(); } }, link: f...
阅读全文
posted @ 2017-12-23 10:25
codeing-or-artist-??
阅读(180)
推荐(0)