How to Css for SfDropDownList

Question: 

How to design borders and box-shadows for drop-down lists in SfDropdown List?

Image_3292_1714632932140


3 Replies

UD UdhayaKumar Duraisamy Syncfusion Team May 3, 2024 11:59 AM UTC

You can use Syncfusion Theme Studio option. By using this, you can customize the components based on the application needs and download them to use in the application.


Theme Studio: https://ej2.syncfusion.com/themestudio/?theme=material


To learn how to use the theme studio, please follow the instructions provided in the documentation linked below.


UG Link: https://ej2.syncfusion.com/react/documentation/appearance/theme-studio/



DQ Duong Quoc May 4, 2024 03:48 AM UTC

question: 

No, I mean very simple, I want to make the drop-down list of the Drop-down list card have 1 outer border

code: 

Image_7628_1714794489690



UD UdhayaKumar Duraisamy Syncfusion Team May 6, 2024 04:48 AM UTC

You can use the ".e-ddl.e-popup" class to add the border to the Popup list of the ComboBox component. Please refer to the code snippet below for further information.

    .e-ddl.e-popup {

        border: 1px solid red;

    }



Additionally, Syncfusion provides the precise CSS structure that can be utilized to customize the appearance of the control according to the user's preference. For more information, please refer to the documentation below.

Documentation: https://blazor.syncfusion.com/documentation/combobox/style


Loader.
Up arrow icon