美文网首页
Pomodoro 中遇到的问题

Pomodoro 中遇到的问题

作者: Marks | 来源:发表于2017-05-23 13:38 被阅读4次

Q1:ng-app="PomodoroApp" ??
http://www.runoob.com/angularjs/ng-ng-app.html

Q2:ng-click="breakLengthChange(-1)"
http://www.runoob.com/angularjs/ng-ng-click.html

Q3:@import "bourbon"; ??
https://developer.mozilla.org/zh-CN/docs/Web/CSS/@import

Q4: main section
https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/main
https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/section

Q5: 多层级

header {
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  color: $white;
  text-transform: uppercase;
  padding: 20px;
  
  .session {
    font-size: .8em;
    display: flex;
    .breakCtrl, .sessionCtrl {
      display: inline;
      padding-left: 30px;
      padding-right: 30px;
    }
    .minus, .plus {
      background-color: $black;
      color: $white;
      border: none;
      cursor: pointer;
      font-size: 2em;
      outline: none;
    }
    
    .time {
      font-size: 2.5em;
      padding-left: 10px;
      padding-right: 10px;
    }
  }
}```

~~Q6: outline ??~~
A6:http://w3school.com.cn/cssref/pr_outline.asp

Q7:&:before ??

.timer {
margin: 0 auto;
text-align: center;
width: 300px;
height: 300px;
font-size: 4em;
border: 2px solid $green;
border-radius: 50%;
cursor: pointer;
position: relative;
z-index: 20;
overflow: hidden;
&:before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
border-radius: 50%;
z-index: 2;
border: 4px solid $black;
}
}```

Q8:$scope.currentTotal; ??

Q9:ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js ??

报错
A8:src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js

Q9: $scope.originalTime

Q10:angular.module
http://www.runoob.com/angularjs/angularjs-intro.html

Q:

Q:

Q:

Q:

Q:

Q:

相关文章

  • Pomodoro 中遇到的问题

    Q1:ng-app="PomodoroApp" ??http://www.runoob.com/angularjs...

  • Pomodoro Countdown

    [Pomodoro Countdown] is a record event and birthday appli...

  • 化解拖延症--第一期Pomodoro打卡活动火热来袭

    第一期Pomodoro打卡活动火热进行中。 https://zhuanlan.zhihu.com/p/252932...

  • 《番茄工作法图解》笔记

    原作名: Pomodoro Technique Illustrated: The Easy Way to Do M...

  • PhotoKit中遇到的问题

    PhotoKit是iOS8出的一个新的照片库,用以取代AssetsLibrary 保存图片到相册 方式1:只能保存...

  • laravel中遇到的问题

    1、关于自定义验证规则 在自定义验证规则中,如果自定义验证规则的名称使用了驼峰结构,例:'oldpassword'...

  • python中遇到的问题

    1、建议代码风格 如果你在代码中混用制表符和空格,这种缩进错误会很常见。所以如果是用空格,就一直用空格缩进,不要使...

  • Git中遇到的问题

    问题简述:父文件夹与子文件夹跟踪的远程仓库地址不一致,导致的提交的问题 问题复现: 1.首先创建一个新的文件夹 2...

  • 销售中遇到的问题

    作为微商,在销售中不可避免地被问到各种各样的问题,那么,我们不但需要有强大的内心来对抗,更要掌握一些方法技巧来巧妙...

  • 开发中遇到的问题

    1.switch 开发遇到的问题: 在setChecked之前要先设置 setCheckChangedListen...

网友评论

      本文标题:Pomodoro 中遇到的问题

      本文链接:https://www.haomeiwen.com/subject/lxcpxxtx.html