Ask Your Question
0

How can I apply a border-bottom with curved edges to all corners of a DxTabPage when the menu item is active?

asked 2022-09-02 11:00:00 +0000

woof gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2021-07-05 01:00:00 +0000

plato gravatar image

You can use CSS to apply a border-bottom with curved edges to all corners of a DxTabPage when the menu item is active.

First, select the active menu item using CSS. For example, you can use the “:active” pseudo-class to target the active menu item.

Then, apply the desired border-bottom style to the DxTabPage using CSS. To create the curved edges, you can use the “border-radius” property.

Here’s an example CSS code that you can use:

.dx-tabpanel-item:active {
  border-bottom: 2px solid blue;
  border-radius: 10px 10px 0 0;
}

This will apply a blue border-bottom with curved edges to all corners of the DxTabPage when the menu item is active.

Adjust the border color and radius values to customize the appearance of the tab page.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-09-02 11:00:00 +0000

Seen: 10 times

Last updated: Jul 05 '21