Uncodie
Technical DocumentationNo CodeTutorialsChangelogDisccord
Developers
Developers
  • 📖Documentation
    • Basic Concepts
      • Node JS
      • React
      • Postgres SQL
      • GraphQL
      • Git
      • API
  • 🔌API
    • Getting Started
      • Credentials
    • Users
      • Register User
    • Component Interface
      • Props
  • 🤖IDE
    • Getting started
    • Component View
      • CSS
      • Controller
      • Component
    • Compiler
    • Importing Code
      • Scripts
        • Manifest
      • Connectors
        • Manifest
      • Components
        • Manifest
    • Exporting Code
      • Design Systems
        • Custom React libraries
      • Guidelines
  • ⚙️Figma Plugin
    • Variables
      • Global Variables
      • Local Variables
      • Route Variables
      • Session Context
      • Window Variables
    • Actions
      • GraphQL Trigger
      • Refresh Query
      • Set Variable
      • Select and Navigate
  • 🎛️Settings
    • User Authentication
    • Git
    • External Deployment
    • Version Control
    • External DB Setup
    • SEO
Powered by GitBook
On this page
  • Overview
  • Adding a CSS to a component or page

Was this helpful?

  1. IDE
  2. Component View

CSS

In this section, we will describe the css sction and provide examples of its usage.

Overview

CSS in UncodiePro is designed to provide programmers with an environment to extend the style features of an Uncodie component or page. Adding CSS rules to a component or page

Adding a CSS to a component or page

1 - Select the desired component or page.

2 - Navigate to the "CSS" section.

3 - Modify the CSS code to apply the desired style to the component.

/* Reset styles and general adjustments */
body, h1, p, div {
    margin: 0;
    padding: 0;
}

/* Basic style for the element container */
.mi-elemento {
    width: 300px; /* Adjust as needed */
    height: 200px; /* Adjust as needed */
    background-color: #f2f2f2; /* Change background color as per your preference */
    border: 1px solid #ccc; /* Element border */
    border-radius: 10px; /* Rounded corners */
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Arial', sans-serif; /* Change font as per your preference */
}

/* Styles for the text inside the element */
.mi-elemento p {
    color: #333; /* Text color */
    font-size: 16px; /* Font size */
    font-weight: bold; /* Font weight */
}
PreviousComponent ViewNextController

Last updated 1 year ago

Was this helpful?

🤖