Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 388 for styles (0.03 sec)

  1. docs/es/docs/advanced/templates.md

    {!../../docs_src/templates/templates/item.html!}
    ```
    
    En este ejemplo, enlazaría a un archivo CSS en `static/styles.css` con:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    Y porque estás usando `StaticFiles`, ese archivo CSS sería servido automáticamente por tu aplicación de **FastAPI** en la URL `/static/styles.css`.
    
    ## Más detalles { #more-details }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/templates.md

    ```jinja hl_lines="4"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    本例中,它将链接到 `static/styles.css`中的CSS文件:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    因为使用了 `StaticFiles`, **FastAPI** 应用会自动提供位于 URL `/static/styles.css`的 CSS 文件。
    
    ## 更多说明
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/templates.md

    {!../../docs_src/templates/templates/item.html!}
    ```
    
    In this example, it would link to a CSS file at `static/styles.css` with:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    And because you are using `StaticFiles`, that CSS file would be served automatically by your **FastAPI** application at the URL `/static/styles.css`.
    
    ## More details { #more-details }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/templates.md

    {!../../docs_src/templates/templates/item.html!}
    ```
    
    Neste exemplo, ele seria vinculado a um arquivo CSS em `static/styles.css` com:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    E como você está usando `StaticFiles`, este arquivo CSS será automaticamente servido pela sua aplicação **FastAPI** na URL `/static/styles.css`.
    
    ## Mais detalhes { #more-details }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/templates.md

    ```
    
    In diesem Beispiel würde das zu einer CSS-Datei unter `static/styles.css` verlinken, mit folgendem Inhalt:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    Und da Sie `StaticFiles` verwenden, wird diese CSS-Datei automatisch von Ihrer **FastAPI**-Anwendung unter der URL `/static/styles.css` ausgeliefert.
    
    ## Mehr Details { #more-details }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_templates/test_tutorial001.py

        assert response.status_code == 200, response.text
        assert (
            b'<h1><a href="http://testserver/items/foo">Item ID: foo</a></h1>'
            in response.content
        )
        response = client.get("/static/styles.css")
        assert response.status_code == 200, response.text
        assert b"color: green;" in response.content
        shutil.rmtree("./templates")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 915 bytes
    - Viewed (0)
  7. docs/ru/docs/advanced/templates.md

    {!../../docs_src/templates/templates/item.html!}
    ```
    
    В этом примере будет создана ссылка на CSS-файл `static/styles.css` с помощью:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    И, так как вы используете `StaticFiles`, этот CSS-файл будет автоматически «отдаваться» вашим приложением **FastAPI** по URL `/static/styles.css`.
    
    ## Подробнее { #more-details }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. .editorconfig

    # EditorConfig helps developers define and maintain consistent
    # coding styles between different editors and IDEs
    # editorconfig.org
    
    root = true
    
    [*]
    
    indent_style = space
    indent_size = 4
    
    end_of_line = lf
    charset = utf-8
    trim_trailing_whitespace = true
    insert_final_newline = true
    
    spelling_languages = en-US
    
    # Markdown files sometimes need trailing whitespaces.
    [*.md]
    trim_trailing_whitespace = false
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Nov 25 07:01:54 UTC 2025
    - 582 bytes
    - Viewed (0)
  9. docs/ko/docs/advanced/templates.md

    ```jinja hl_lines="4"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    이 예제에서는 `static/styles.css`에 있는 CSS 파일에 연결될 것입니다:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    그리고 `StaticFiles`를 사용하고 있으므로, 해당 CSS 파일은 **FastAPI** 애플리케이션에서 `/static/styles.css` URL로 자동 제공됩니다.
    
    ## 더 많은 세부 사항
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. docs/ru/docs/_llm-test.md

    Пример кода Bash...
    
    ```bash
    # Вывести приветствие вселенной
    echo "Hello universe"
    ```
    
    ...и пример вывода в консоли...
    
    ```console
    $ <font color="#4E9A06">fastapi</font> run <u style="text-decoration-style:solid">main.py</u>
    <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting server
            Searching for package file structure
    ```
    
    ...и ещё один пример вывода в консоли...
    
    ```console
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 17.5K bytes
    - Viewed (0)
Back to top