0

I have a CSS rule:

.k-grid, .k-grid * { border: 0 !important; } 

But this applies to everything in the container, including input elements.

Is there a way to edit that CSS to add a "not" clause to exclude inputs? Everything else needs the border turned off.

1

3 Answers 3

4

Based on this MDN article: https://developer.mozilla.org/en-US/docs/Web/CSS/:not , it appears that you could do .k-grid *:not(input).

Sign up to request clarification or add additional context in comments.

Comments

2

You have :not(input) selector in css to exclude the specific element.

.k-grid, .k-grid *:not(input) 

Comments

1

Yes like this ...

.k-g >*:not(input){ border: none!important; } 

examp.

http://jsfiddle.net/FJttr/

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.