
## get_computed_style {#aspose.html.dom.Element}

This method is used to get the computed style as it is defined in CSS2.


### Returns 


The computed style


```python
def get_computed_style(self, element):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| element | [`Element`](/html/python-net/aspose.html.dom/element) | The element whose style is to be computed. This parameter cannot be null. |


## get_computed_style {#aspose.html.dom.Element-str}

This method is used to get the computed style as it is defined in CSS2.


### Returns 


The computed style


```python
def get_computed_style(self, element, pseudo_element):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| element | [`Element`](/html/python-net/aspose.html.dom/element) | The element whose style is to be computed. This parameter cannot be null. |
| pseudo_element | str | The pseudo element. |



### See Also
* module [`aspose.html.dom.css`](../../)
* class [`IViewCSS`](/html/python-net/aspose.html.dom.css/iviewcss)
