Math, asked by effatameenaeffat, 8 months ago

(√32-√5)1/3-(√32+√5)1/3​

Answers

Answered by commando08
0

// === Variables =====</p><p>$perspective:     60rem;</p><p>$font-size:       4.25rem;</p><p>$split-position:  49%;</p><p>$split-thickness: 4px;</p><p>$split-color:     #FF2C75;</p><p></p><p>// === Settings =====</p><p>%font-settings {</p><p>  font-family: "Gilroy ExtraBold", system-ui, sans-serif;</p><p>  font-style: normal;</p><p>  font-weight: normal;</p><p>  -webkit-font-smoothing: antialiased;</p><p>  -webkit-font-kerning: normal;</p><p>  -webkit-text-size-adjust: 100%;</p><p>}</p><p></p><p>// === Codepen Setup =====</p><p>html,</p><p>body {</p><p>  width: 100vw;</p><p>  height: 100vh;</p><p>}</p><p>body {</p><p>  @extend %font-settings;</p><p>  background: linear-gradient(45deg, #02001F,#1F1B4E);</p><p>  transform-style: preserve-3d;</p><p>  transform: perspective($perspective);</p><p>  position: fixed;</p><p>  display: flex;</p><p>  align-items: center;</p><p>  justify-content: center; </p><p>}</p><p></p><p>// === Menu &lt;ul&gt; =====</p><p>.Menu-list {</p><p>  font-size: $font-size;</p><p>  line-height: 1.2;</p><p>  text-transform: uppercase;</p><p>  text-align: center;</p><p>  display: flex;</p><p>  flex-direction: column;</p><p>  align-items: center;</p><p>  transform: rotateX(-10deg) rotateY(20deg); // overwritten by JS</p><p>}</p><p></p><p>// === Menu item =====</p><p>.Menu-list-item {</p><p>  position: relative;</p><p>  color: transparent;</p><p>  cursor: pointer;</p><p>  </p><p>  // === Split Line =====</p><p>  &amp;::before {</p><p>    content: '';</p><p>    display: block;</p><p>    position: absolute;</p><p>    top: $split-position;</p><p>    left: -10%;</p><p>    right: -10%;</p><p>    height: $split-thickness;</p><p>    border-radius: $split-thickness;</p><p>    margin-top: -($split-thickness / 2);</p><p>    background: $split-color;</p><p>    transform: scale(0);</p><p>    transition: transform .8s cubic-bezier(.16,1.08,.38,.98);</p><p>    z-index: 1;</p><p>  }</p><p>}</p><p></p><p>// === Top/bottom mask =====</p><p>.Mask {</p><p>  display: block;</p><p>  position: absolute;</p><p>  overflow: hidden;</p><p>  color: $split-color;</p><p>  top: 0;</p><p>  height: $split-position;</p><p>  transition: all .8s cubic-bezier(.16,1.08,.38,.98);</p><p>  </p><p>  span { display: block; }</p><p>}</p><p></p><p>// === Bottom mask specific =====</p><p>.Mask + .Mask {</p><p>  top: $split-position - 0.1;</p><p>  height: 100 - $split-position + 0.1;</p><p>  </p><p>  span { transform: translateY(-$split-position); }</p><p>}</p><p></p><p>// === Where the fun stuff happens =====</p><p>.Menu-list-item:hover,</p><p>.Menu-list-item:active {</p><p>  .Mask { color: #FFF; transform: skewX(12deg) translateX(5px); }</p><p>  .Mask + .Mask { transform: skewX(12deg) translateX(-5px); }</p><p>  &amp;::before { transform: scale(1); }</p><p>}

Answered by shivaranjani1218
0

Step-by-step explanation:

√32-√5/3 -(√32+√5/3)

√32-√5-√32-√5/3

-2√5/3

Similar questions