For example, you want to set 40% alpha transparence to #000000
(black color), you need to add 66
like this #66000000
.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @remove-on-eject-begin | |
/** | |
* Copyright (c) 2015-present, Facebook, Inc. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
*/ | |
// @remove-on-eject-end | |
'use strict'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_.templateSettings = { | |
evaluate: /{{([\s\S]+?)}}/g, | |
interpolate: /{{=([\s\S]+?)}}/g, | |
escape: /{{-([\s\S]+?)}}/g | |
}; |
- На 6: Заставить мух равномерно вращаться в полёте.
- На 7: Заставить мух циклически и плавно увеличиваться и уменьшаться.
- На 8: Сделать муху, которая при наведении на неё курсора «отползает» в привычном направлении, а иначе стоит на месте.
- На 8: Согласовать направление движения мухи с её углом наклона. Иными