Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ayushsoni1010/css-battle-challenges

This are the css challenges which contains many projects solution.
https://github.com/ayushsoni1010/css-battle-challenges

battle challenge clone css daily-coding-problem front-end html5 projects

Last synced: about 14 hours ago
JSON representation

This are the css challenges which contains many projects solution.

Awesome Lists containing this project

README

        

# Introduction to Figma Plugin - Anima

![gif](https://a.storyblok.com/f/89137/1248x766/1b01e7bec3/sync.gif)

Figma plugins are a designing platform that provides additional tools to UI designers, and the plugins collections of it built by different communities. With Figma, you can extend your working capacity for designing work, and it also provides helpful features in the form of exciting plugins with their time to time update format. If you explore Figma on the internet, you will find a number of the plugin in it, and here we will see some of them with their proper explains. You will get knowledge about how you can connect with these plugins and use them in the right way for your design work.

# Anima

![gif](https://a.storyblok.com/f/89137/1248x766/d7ea806e29/anima.gif)

### Overview ☝️
Anima is a design to development platform for designers and developers to iterate quickly and translate designs into developer-friendly code.
For the first time, you can get code for your Figma design, and you can do it from right inside your browser. Just take a moment to process that.

![png](https://miro.medium.com/max/1400/1*Xz2aGXtNEyuCmcZMwrt5RQ.png)

### 💻Developers: get code from Figma
As developers, we understand the value of clean, reusable code. The new [Chrome extension](https://chrome.google.com/webstore/detail/anima-figma-to-code-react/deogccghoodabgngjnmlobkbkfnflhac) for Figma allows you to simply select a design element, click “Get Code” and instantly get HTML, CSS, and React code. #mindblown

### 3 reason to use the Chrome extension 🔥
1. **Save time** — stop translating UI from scratch. [Get clean code](https://www.animaapp.com/blog/industry/solving-the-production-ready-code-dilemma/) for the design and go from there.
2. **Developer-friendly code** — Anima’s code has been developed for developers (by developers 😉), and we know we’re a tough crowd to please. You get code that [you’ll actually want to use.](https://www.animaapp.com/blog/code/how-to-convert-design-to-react-code/)
3. **Ease** — everything is in your Figma browser, so you can easily work in one place.

![png](https://miro.medium.com/max/875/1*9x1oRUFI4hch01S7BA__Gg.png)

### Get code from Figma in 3 steps:
**Step 1** — [Install](https://chrome.google.com/webstore/detail/anima-figma-to-code-react/deogccghoodabgngjnmlobkbkfnflhac) the extension.
**Step 2** — Open your Figma project link in Chrome.
**Step 3** — ‘Hello’ code! It’s all there, right in your Figma browser view.

You can get code by clicking on the chrome extension icon:

![gif](https://miro.medium.com/max/875/1*QbewV4lo1qfS8j1Ymon5UA.gif)

How to get code from your Figma browser



Or by clicking on the “Get Code” button on the inspect panel:
![gif](https://miro.medium.com/max/875/1*dxvgcRsSJemHr7xTbNr5Ew.gif)

Click on the inspect panel to get component-based code

### Ready to be a part of the Anima community?
Get started now:
- Download Anima plugin for [Figma](https://animaapp.s3.amazonaws.com/xd-plugin/beta/anima.xdx), [Sketch](http://animaapp.com/plugins/anima/download) or [Adobe XD](https://animaapp.s3.amazonaws.com/xd-plugin/beta/anima.xdx)
- Visit [Anima 101](https://www.animaapp.com/resources/anima-101) page

Join the discussion on [Facebook](https://www.facebook.com/groups/animaapp), [Twitter](https://twitter.com/AnimaApp), [Slack](https://anima-slack-invite.herokuapp.com/), [Instagram](http://instagram.com/animaapp/).

# How to turn your Figma designs into responsive prototypes
Designing for different screen sizes is essential for creating the best user experience. In this article, we will show you how to create responsive prototypes with Figma and Anima.

![gif](https://miro.medium.com/max/1200/0*zfy1Pr7sZkwfsJwf.gif)

## Responsive prototypes in 3 steps:
1. Apply Constraints
2. Connect Breakpoints
3. Share responsive prototypes

### 1. Apply figma’s Constraints 📌
Constraints show how elements should respond as you resize their Frames. This helps you control how your design looks across different screen sizes and devices.

How to do it? It's simple— Pinning elements!

- Constraints relates to the containing Frame.
- You can’t apply constraints to Groups.
- Left / Right / Top / Bottom / Center — Will keep the layer size fixed and pin it to the selected direction of the parent Frame.
- Left and Right / Top and Bottom — Will keep padding from both edges, stretching the layer’s size.
- Scale — Will keep the layer size and position as a percentage of the Frame’s dimensions.

![gif](https://miro.medium.com/max/875/0*NnvgiLmOw3inpGMi.gif)

**💡 Tip for responsive images**

When applying constraints to an image, we want to ensure that the image keeps its ratio and doesn’t stretch. Simply select ‘Fill’ for the fill image type.

When applying constraints to an image, we want to ensure that the image keeps its ratio and doesn’t stretch. Simply select ‘Fill’ for the fill image type.

![png](https://miro.medium.com/max/875/0*9zd6jxqnXAh7cQzS.png)

💡 Tip for images — with constraints, ‘Fill’ is the best option for responsive prototypes

![png](https://miro.medium.com/max/875/1*rPfFLWzV7nKr1wZ3hXKgWQ.png)

Pinned the image to top+left+right

### 2. Add Breakpoints with Anima 📱🖥
Breakpoints are the point at which your design adapts to different screen sizes.

With Anima, it is super easy to connect several screen sizes in the same screen. So when sharing your design with your team, stakeholders or clients, you simply share a single link with all screens connected as one.

`Breakpoints are where the design jumps between mobile, tablet and desktop. The constraints are how it’s going to behave in between the breakpoints.`

#### How to add breakpoints:
1. Start by - [ installing Anima for Figma plugin.](http://bit.ly/Install-figma)
2. Open Anima’s plugin, click the plus icon (+) next to breakpoints, and select all the frames you want to connect.
3. Select one of the frames, and click ‘Preview in Browser’ to see it running.

![gif](https://miro.medium.com/max/875/1*b-3QqB17exFQZyygyWBMFg.gif)

Connecting frames with breakpoints

**💡 How does it work?**
Design for the smallest size for each breakpoint. Let’s say for example — 320px for mobile, and 1024px for desktop. That means, for a screen size between 320–1023px, you’ll see the mobile design, and for screens over 1024px, you’ll see the desktop design. You can create and connect as many breakpoints as you like.

### 3. Share a Responsive Prototype 📤
Figma allows you to design with responsive superpowers. But when it comes to responsive prototypes — you need [Anima.](https://www.animaapp.com/?utm_medium=blog&utm_source=medium&utm_campaign=content&utm_content=figma-responsive)

`Figma’s prototype is an image based prototype, so it can’t run the native responsive features in it.`

Use Anima to share responsive prototypes with Figma’s constraints and Anima’s breakpoints. Anima’s prototypes are code-based, and they can behave the way the final product is supposed to.

You can even take it one step further and share the prototype’s React or HTML code with your developers ([Read more here](https://blog.animaapp.com/how-to-convert-design-to-react-code-4c084764da07)).

**How to share a responsive prototype?**
1. After previewing your prototype in the browser, sync your design by clicking the button `Sync to Project`.
2. You can always preview it on `Play-mode` in Anima.
3. Click the `Share` button, and choose your share preferences. You can share it with your team by inviting members to collaborate in Anima. Or to share it with a public link.

#### As always, we’re excited to hear your feedback!
Join the discussion or show off your designs on [Facebook](https://www.facebook.com/groups/animaapp), [Twitter](https://twitter.com/AnimaApp), [Slack](https://anima-slack-invite.herokuapp.com/) and [Instagram](http://instagram.com/animaapp/). Vote for new features at [UserVoice](https://uservoice.animaapp.com/)

### References
Like Figma and FigJam, plugins are powered by web technologies. You’ll need an understanding of these technologies to develop plugins. You’ll write plugins in JavaScript and build any UI using HTML. Explore [required knowledge →](https://www.figma.com/plugin-docs/prerequisites/)

Plugins interact with the Figma application via a dedicated Plugin API. They can also leverage external Web APIs. You can build plugins that run immediately, or build plugins that require user’s to input information via a user interface (UI). [Explore how plugins are run →](https://www.figma.com/plugin-docs/how-plugins-run/)

The [API reference](https://www.figma.com/plugin-docs/api/api-reference/) and this accompanying documentation has the information you need to build plugins for Figma and FigJam. To ask questions, give feedback, or connect with other plugin developers: [Join the Figma Plugins Slack →](https://figmaplugins.slack.com/join/shared_invite/zt-8sv6h6hy-vJ0t3G8uT7l~g2KuY_6WvQ#/shared-invite/email)