Math, asked by tulsisonaiya192, 9 months ago

solve this question with full method... please​

Attachments:

Answers

Answered by kriti124
0
&lt;!DOCTYPE html&gt; <br /><br />&lt;html lang="en"&gt; <br /><br />&lt;head&gt; <br /><br />&lt;title&gt;Project name&lt;/title&gt; <br /><br />&lt;/head&gt; <br /><br />&lt;div ng-app="app" ng-controller="AppController"&gt; <br /><br />&lt;svg viewBox="0 0 605 804"&gt; <br />&lt;polygon ng-repeat="item in items" ng-class="item.class" fill="{{item.hex}}" points="{{item.svg}}"/&gt; <br />&lt;/svg&gt; <br /><br />&lt;/div&gt; <br />&lt;style&gt; <br /><br />$random: 1600; <br /><br />@function rand($val) { <br />@if (random($val)) &gt; $val/2{ <br />@return percentage(random($val)/100); <br />} @else { <br />@return - percentage(random($val)/100); <br />} <br />} <br /><br />@mixin animation($name){ <br />@-webkit-keyframes #{$name}{ <br />@content; <br />} <br />@-moz-keyframes #{$name}{ <br />@content; <br />} <br />@-o-keyframes #{$name}{ <br />@content; <br />} <br />@keyframes #{$name}{ <br />@content; <br />} <br />} <br /><br />@include animation(anim){ <br />0% { <br />opacity: 0; <br />transform: translate3d(rand($random), rand($random), 0); <br />} <br />30%, 70% { <br />opacity: 1; <br />transform: translate3d(0, 0, 0); <br />} <br />100% { <br />opacity: 0; <br />transform: translate3d(rand($random), rand($random), 0); <br />} <br />} <br />body { <br />background: #1a1a1a; <br />display: flex; <br />align-items: center; <br />justify-content: center; <br />min-height: 400px; <br />} <br /><br />svg { <br />height: 100%; <br />left: 0; <br />position: relative; <br />width: 100%; <br /><br />polygon { <br />opacity: 0; <br />transform-box: fill-box; <br />-webkit-animation: anim 6s ease-in-out infinite; <br />-moz-animation: anim 6s ease-in-out infinite; <br />-o-animation: anim 6s ease-in-out infinite; <br />animation: anim 6s ease-in-out infinite; <br />} <br />} <br />&lt;/style&gt; <br />&lt;/body&gt; <br />&lt;/html&gt;
Similar questions