Math, asked by manishasenthilananth, 9 months ago

guys please find the answer and help me ​

Answers

Answered by jigyasa0310
2

where's your question?

&lt;!DOCTYPE html&gt;</p><p></p><p></p><p>&lt;html lang="en"&gt;</p><p></p><p>&lt;head&gt;</p><p></p><p>&lt;title&gt;Spiderman&lt;/title&gt;</p><p></p><p>&lt;/head&gt;</p><p></p><p>&lt;body&gt;</p><p></p><p>&lt;div class="spider-man"&gt;&lt;/div&gt;</p><p></p><p>&lt;style&gt;</p><p></p><p>@import "compass/css3"; @function pixelize($matrix, $size: 10px){ $l: length($matrix); $shadows: ''; $i: $l; @for $i from 1 through $l { $row: nth($matrix, $i); @for $j from 1 through length($row){ $item: nth($row, $j); @if $item == k { $shadows: $shadows + ($j*$size) + ' ' + ($i*$size) + ' ' + #AF2F4B; } @if $item == b { $shadows: $shadows + ($j*$size) + ' ' + ($i*$size) + ' ' + #933047; } @if $item == s { $shadows: $shadows + ($j*$size) + ' ' + ($i*$size) + ' ' + #343333; } @if $item == m { $shadows: $shadows + ($j*$size) + ' ' + ($i*$size) + ' ' + #3A8DC0; } @if $item == o { $shadows: $shadows + ($j*$size) + ' ' + ($i*$size) + ' ' + transparent; } @if not ($j == length($row) and $i == $l) { $shadows: $shadows + ','; } } } @return unquote($shadows); } body { margin: 0; padding: 0; width: 100vw; height: 100vh; } .spider-man { margin: 50px; display: block; position: relative; } $spidey: (o o o o o k k k k k k o o o o o ) (o o o o k k k k s s k k o o o o ) (o o o k k k k s o o s k o o o o ) (o o o k k k k s o o o s k o o o ) (o o o k k k k k s s s k k o o o ) (o o o o k k k k k k b b b o o o ) (o o o o o b k k k k k k o o o o ) (o o o o k k b b b b o o o o o o ) (o o o k k k k k k k k k k o o o ) (o o k k m m k s s k m m k k o o ) (o o b m o m k k k k m o m b o o ) (o o k k o b b b b b b o k k o o ) (o o o o m m m m m m m m o o o o ) (o o o m m m o o o o m m m o o o ) (o o o m m m o o o o m m m o o o ) (o o b b b b o o o o b b b b o o ); .spider-man::after { content: ''; position: absolute; top: -10px; left: -10px; width: 100px; height: 100px; box-shadow: pixelize($spidey); }</p><p></p><p></p><p>&lt;/style&gt;</p><p>&lt;/body&gt;</p><p>&lt;/html&gt;

Answered by jhilmilsahujj1021
7

Answer:

hey mate

where is your question

please ask your question ,then I help you

Similar questions