Coding with Elias
2.07K subscribers
381 photos
2 files
121 links
🌐 Web Development &
💻 Programming
💥 HTML, CSS, JavaScript,
🔥 Python, Nodejs, React,
💦 jQuery, bootstrap,
💀 Laravel, express.... Tutorials

► Subscribe Us:
https://www.youtube.com/codingwithelias?sub_confirmation=1
Download Telegram
6. Control Directives

In this example, we define two variables: $primary-color and $secondary-color, and assign them values of #007bff and #6c757d, respectively.

We then define a mixin called button-styles, which takes a parameter called $bg-color. This mixin sets some basic styles for a button, like background-color, color, padding, and border-radius.

We use this mixin to define two different button classes: .button-primary and .button-secondary. We pass the $primary-color and $secondary-color variables as arguments to the button-styles mixin, respectively.

We also use an @if control directive to check if the value of $primary-color is equal to #007bff. If it is, we add a border style to the .button-primary class. If it's not, we remove the border style.

By using control directives, we can write more dynamic and flexible code that can adapt to different situations and conditions.

#SASS
@javascript_tut @codingWithElias
👍21
Thank you 😊
👍151🤬1
👍2
Dear amazing subscribers of "Coding with Elias,"🚀👨‍💻

I am thrilled and grateful to announce that our YouTube channel has reached a significant milestone of 20k subscribers! This achievement would not have been possible without your incredible support, engagement, and enthusiasm for coding and programming.

Thank you for being a part of our growing community and for joining us on this exciting journey of learning and exploring the world of coding together. Your dedication and passion for this field have been truly inspiring, and it motivates us to continue creating valuable content for you.

We started this channel with the goal of making coding accessible and enjoyable for everyone, and your unwavering support has shown us that we are on the right track. Your comments, likes, shares, and feedback have been invaluable in shaping the direction of our content and helping us improve.

We are committed to providing you with high-quality tutorials, tips, and resources to enhance your coding skills and empower you to achieve your goals. Your trust in us is something we deeply appreciate, and we will continue to work hard to deliver content that meets your expectations.

As we celebrate this milestone together, I want to express my heartfelt gratitude to each and every one of you. Your presence in our community has created an environment of collaboration, learning, and growth. I am honored to have such dedicated and passionate subscribers like you.

Please know that your support means the world to us, and we are excited to continue this journey with you. Stay tuned for more exciting content, challenges, and opportunities to expand your coding knowledge and skills.

Once again, thank you for being a part of "Coding with Elias" and for helping us reach 20k subscribers. Let's keep coding, learning, and achieving great things together!

With sincere appreciation,

Elias Yasin,
Founder of "Coding with Elias"
https://youtube.com/@CodingwithElias
👍3🔥3🎉1